mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 16:41:29 +00:00
minor fix
This commit is contained in:
parent
c412038db8
commit
3b8993a302
@ -2294,7 +2294,11 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
|
|||||||
#endif
|
#endif
|
||||||
//meh dupe issue with npc casting this
|
//meh dupe issue with npc casting this
|
||||||
if(caster->IsClient()){
|
if(caster->IsClient()){
|
||||||
caster->WakeTheDead(spell_id, caster->GetTarget(), spells[spell_id].max[i]);
|
int dur = spells[spell_id].max[i];
|
||||||
|
if (!dur)
|
||||||
|
dur = 60;
|
||||||
|
|
||||||
|
caster->WakeTheDead(spell_id, caster->GetTarget(), dur);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user