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:
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user