Fix totems issue and add despawn

Despawn should tell client ... still TODO
This commit is contained in:
Michael Cook (mackal)
2017-07-14 23:13:33 -04:00
parent 2a7a88ff47
commit c7e33eb6b9
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -3447,7 +3447,7 @@ bool Mob::SpellOnTarget(uint16 spell_id, Mob *spelltar, bool reflect, bool use_r
if(spelltar->IsClient() && spelltar->CastToClient()->IsHoveringForRespawn())
return false;
if(IsDetrimentalSpell(spell_id) && !IsAttackAllowed(spelltar) && !IsResurrectionEffects(spell_id)) {
if(IsDetrimentalSpell(spell_id) && !IsAttackAllowed(spelltar, true) && !IsResurrectionEffects(spell_id)) {
if(!IsClient() || !CastToClient()->GetGM()) {
Message_StringID(MT_SpellFailure, SPELL_NO_HOLD);
return false;