// Mage
set g_monster_mage 1 "Enable Mages"
-set g_monster_mage_health 400 "Mage health"
+set g_monster_mage_health 200 "Mage health"
set g_monster_mage_drop health "Mage drops this item on death"
set g_monster_mage_drop_size medium "Size of the item Mages drop. Possible values are: small, medium, large"
set g_monster_mage_speed 50 "Mage move speed"
if(time >= self.last_trace)
if not(monster_isvalidtarget(self.enemy, self))
- self.enemy = world; // check enemy each think frame?
+ self.enemy = world;
+
+ if(self.enemy && self.enemy.health < 1)
+ self.enemy = world; // enough!
if not(self.enemy)
{