mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 08:22:17 +00:00
Added rule option to Cazic pet Check
This commit is contained in:
1 parent
dbcf90d9eb
commit
5da1261ffc
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -2045,7 +2045,7 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, CastingSlot slot, ui
|
||||
return false;
|
||||
|
||||
//Cazic Touch targets the pet owner instead of the pet when said pet is tanking.
|
||||
if (spell_id == 982 && spell_target->HasOwner()) {
|
||||
if (RuleB(Spells,CazicTouchTargetsPetOwner) && spell_id == 982 && spell_target->HasOwner()) {
|
||||
Mob* owner = spell_target->GetOwner();
|
||||
|
||||
if (owner)
|
||||
|
||||
Reference in new issue
Block a user