mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-31 20:11:29 +00:00
Fix for target type 39 GroupNoPets.
Should no longer take hold on a pet if your targeting it when casting spell.
This commit is contained in:
parent
5970b0ee41
commit
3266ed98e6
@ -1670,6 +1670,12 @@ bool Mob::DetermineSpellTargets(uint16 spell_id, Mob *&spell_target, Mob *&ae_ce
|
||||
} else {
|
||||
spell_target = this;
|
||||
}
|
||||
|
||||
if (spell_target && spell_target->IsPet() && spells[spell_id].targettype == ST_GroupNoPets){
|
||||
Message_StringID(13,NO_CAST_ON_PET);
|
||||
return false;
|
||||
}
|
||||
|
||||
CastAction = GroupSpell;
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user