Enemies
Enemies start at 0x1000 and go up from there. They are defined in the enemies.xml file.
Animations
- Idle
- Walk
- Attack
- Attack 2
Properties
Enemy
| Property | Type | Description | Default Value |
|---|---|---|---|
Type | String | The type of object. This should always be Enemy. | Enemy |
Texture | Texture | The texture of the enemy. | null |
Projectile | Projectile | The projectile of the enemy. | null |
HealthMod | Float | The health modifier of the enemy. | 1 |
LootTier | Int | The loot tier of the enemy. | 0 |
Defense | Int | The defense of the enemy. | 0 |
Projectile
See Projectile Data
Example
<Object id="0x1000" name="Goblin Spearman">
<Type>Enemy</Type>
<Texture>
<Type>Entity</Type>
<Set>goblin_spearman</Set>
</Texture>
<Projectile name="Simple Slash">
<Speed>7</Speed>
<Range>6</Range>
<DamageMod>0.67</DamageMod>
</Projectile>
<HealthMod>0.25</HealthMod>
<LootTier>0</LootTier>
<Defense>5</Defense>
</Object>