Core/Spells: Implemented SPELL_ATTR6_TAPS_IMMEDIATELY
Port From (https://github.com/TrinityCore/TrinityCore/commit/104c2ddb6a88318bbcb0ea67b3fdaba40a3213a1)
This commit is contained in:
@@ -672,12 +672,6 @@ namespace Game.Entities
|
||||
if (targetOwner != null)
|
||||
targetOwner.EngageWithTarget(this);
|
||||
|
||||
//Patch 3.0.8: All player spells which cause a creature to become aggressive to you will now also immediately cause the creature to be tapped.
|
||||
Creature creature = target.ToCreature();
|
||||
if (creature != null)
|
||||
if (!creature.HasLootRecipient() && IsPlayer())
|
||||
creature.SetLootRecipient(this);
|
||||
|
||||
Player myPlayerOwner = GetCharmerOrOwnerPlayerOrPlayerItself();
|
||||
Player targetPlayerOwner = target.GetCharmerOrOwnerPlayerOrPlayerItself();
|
||||
if (myPlayerOwner && targetPlayerOwner && !(myPlayerOwner.duel != null && myPlayerOwner.duel.Opponent == targetPlayerOwner))
|
||||
|
||||
Reference in New Issue
Block a user