Enemies

Enemies start at 0x1000 and go up from there. They are defined in the enemies.xml file.

Animations

  1. Idle
  2. Walk
  3. Attack
  4. Attack 2

Properties

Enemy

PropertyTypeDescriptionDefault Value
TypeStringThe type of object. This should always be Enemy.Enemy
TextureTextureThe texture of the enemy.null
ProjectileProjectileThe projectile of the enemy.null
HealthModFloatThe health modifier of the enemy.1
LootTierIntThe loot tier of the enemy.0
DefenseIntThe 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>