mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
Merge pull request #84 from clucksoft/master
Update to spell timers fix
This commit is contained in:
commit
17729365db
@ -1821,7 +1821,8 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, uint16 slot, uint16
|
|||||||
if(!SpellOnTarget(spell_id, spell_target, false, true, resist_adjust, false)) {
|
if(!SpellOnTarget(spell_id, spell_target, false, true, resist_adjust, false)) {
|
||||||
if(IsBuffSpell(spell_id) && IsBeneficialSpell(spell_id)) {
|
if(IsBuffSpell(spell_id) && IsBeneficialSpell(spell_id)) {
|
||||||
// Prevent mana usage/timers being set for beneficial buffs
|
// Prevent mana usage/timers being set for beneficial buffs
|
||||||
InterruptSpell();
|
if(casting_spell_type == 1)
|
||||||
|
InterruptSpell();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user