Updated SE_WaketheDead , max will now set duration.

This commit is contained in:
KayenEQ
2014-07-01 04:53:24 -04:00
parent 5e7d2fd07d
commit c412038db8
2 changed files with 2 additions and 9 deletions
+1 -8
View File
@@ -2294,14 +2294,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
#endif
//meh dupe issue with npc casting this
if(caster->IsClient()){
//this spell doesn't appear to actually contain the information on duration inside of it oddly
int dur = 60;
if(spell_id == 3269)
dur += 15;
else if(spell_id == 3270)
dur += 30;
caster->WakeTheDead(spell_id, caster->GetTarget(), dur);
caster->WakeTheDead(spell_id, caster->GetTarget(), spells[spell_id].max[i]);
}
break;
}