From 0292bb9c092352325b7f1111ba23ec80ef0a3aac Mon Sep 17 00:00:00 2001 From: hondacrx Date: Mon, 15 Nov 2021 23:33:45 -0500 Subject: [PATCH] Quest: Ruthless Cunning and Returning the Favor Port From (https://github.com/TrinityCore/TrinityCore/commit/f377dc23f3bb54180996d3dc570196af75278d00) --- Source/Game/Conditions/Condition.cs | 3 +-- Source/Game/Spells/SpellEffects.cs | 11 ----------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/Source/Game/Conditions/Condition.cs b/Source/Game/Conditions/Condition.cs index 1081b7300..28645fb2f 100644 --- a/Source/Game/Conditions/Condition.cs +++ b/Source/Game/Conditions/Condition.cs @@ -393,8 +393,7 @@ namespace Game.Conditions if (!condMeets) sourceInfo.mLastFailedCondition = this; - bool script = Global.ScriptMgr.OnConditionCheck(this, sourceInfo); // Returns true by default. - return condMeets && script; + return condMeets && Global.ScriptMgr.OnConditionCheck(this, sourceInfo); // Returns true by default.; } public GridMapTypeMask GetSearcherTypeMaskForCondition() diff --git a/Source/Game/Spells/SpellEffects.cs b/Source/Game/Spells/SpellEffects.cs index 89029c0a3..22ada3a8a 100644 --- a/Source/Game/Spells/SpellEffects.cs +++ b/Source/Game/Spells/SpellEffects.cs @@ -2848,17 +2848,6 @@ namespace Game.Spells unitTarget.RemoveMovementImpairingAuras(true); break; } - // Plant Warmaul Ogre Banner - case 32307: - Player caster = m_caster.ToPlayer(); - if (caster != null) - { - caster.RewardPlayerAndGroupAtEvent(18388, unitTarget); - Creature target = unitTarget.ToCreature(); - if (target != null) - target.DespawnOrUnsummon(); - } - break; // Mug Transformation case 41931: {