mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Rework spell aggro based on http://www.eqemulator.org/forums/showthread.php?t=39819<F37>
This commit is contained in:
+3
-3
@@ -6316,7 +6316,7 @@ XS(XS_Mob_CheckAggroAmount)
|
||||
if(THIS == nullptr)
|
||||
Perl_croak(aTHX_ "THIS is nullptr, avoiding crash.");
|
||||
|
||||
RETVAL = THIS->CheckAggroAmount(spellid);
|
||||
RETVAL = THIS->CheckAggroAmount(spellid, nullptr);
|
||||
XSprePUSH; PUSHu((UV)RETVAL);
|
||||
}
|
||||
XSRETURN(1);
|
||||
@@ -6349,7 +6349,7 @@ XS(XS_Mob_CheckHealAggroAmount)
|
||||
possible = (uint32)SvUV(ST(2));
|
||||
}
|
||||
|
||||
RETVAL = THIS->CheckHealAggroAmount(spellid, possible);
|
||||
RETVAL = THIS->CheckHealAggroAmount(spellid, nullptr, possible);
|
||||
XSprePUSH; PUSHu((UV)RETVAL);
|
||||
}
|
||||
XSRETURN(1);
|
||||
@@ -7405,7 +7405,7 @@ XS(XS_Mob_GetGlobal)
|
||||
RETVAL = ret_val.c_str();
|
||||
sv_setpv(TARG, RETVAL); XSprePUSH; PUSHTARG;
|
||||
}
|
||||
XSRETURN(1);
|
||||
XSRETURN(1);
|
||||
}
|
||||
|
||||
XS(XS_Mob_SetGlobal);
|
||||
|
||||
Reference in New Issue
Block a user