1
0

Only the cEntityEffect::effXXX constants are Lua-exported.

The rest of the classes don't need exporting, there's no interface using them anyway.
This commit is contained in:
madmaxoft
2014-07-15 11:24:48 +02:00
parent 5193335efa
commit f5259d7651
2 changed files with 102 additions and 72 deletions

View File

@@ -223,7 +223,8 @@ void cEntityEffectPoison::OnTick(cPawn & a_Target)
cMonster & Target = (cMonster &) a_Target;
// Doesn't effect undead mobs, spiders
if (Target.IsUndead() ||
if (
Target.IsUndead() ||
(Target.GetMobType() == cMonster::mtSpider) ||
(Target.GetMobType() == cMonster::mtCaveSpider)
)