mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
update to spell fix
This commit is contained in:
parent
244c7e019c
commit
5d5dc1b544
@ -1821,6 +1821,7 @@ 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
|
||||||
|
if(casting_spell_type == 1)
|
||||||
InterruptSpell();
|
InterruptSpell();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user