Quest: Ruthless Cunning and Returning the Favor
Port From (https://github.com/TrinityCore/TrinityCore/commit/f377dc23f3bb54180996d3dc570196af75278d00)
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user