Spawn configuration in Bestiary.json:
English string resources:
<string name="Zombie_Name">zombie</string> <string name="Zombie_Name_Objective">zombie</string> <string name="Zombie_Desc">An animated corpse from the necropolis. It has quite a bit of health, and has a chance to poison the hero on hit. Like all undead creatures, it has immunity to many effects.</string> <string name="Zombie_Gender">masculine</string>
String resources available in multiple languages:
This entity is implemented entirely in Java. No Lua script exists for Zombie.
Java Implementation (Zombie.java):
public class Zombie extends Mob { { hp(ht(33)); baseDefenseSkill = 10; baseAttackSkill = 10; dmgMin = 3; dmgMax = 10; dr = 10; expForKill = 6; maxLvl = 15; setUndead(true); loot(Gold.class, 0.02f); } @Override public int attackProc(@NotNull Char enemy, int damage ) { //Poison proc - 33% chance (1 in 3) if (Random.Int(3) == 1){ Buff.affect( enemy, Poison.class, Random.Int( 2, 4 ) * Poison.durationFactor( enemy ) ); } return damage; } }