mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
@@ -118,7 +118,7 @@ public:
|
||||
return true;
|
||||
if (item->ItemId == 46017) // Val'anyr, Hammer of Ancient Kings - exception, too powerful
|
||||
return false;
|
||||
if (item->ItemLevel == 245 && item->Bonding == BIND_WHEN_EQUIPED) // this also includes items crafted from patterns obtained in ToC 10 norm/hc
|
||||
if (item->ItemLevel == 245 && item->Bonding == BIND_WHEN_EQUIPPED) // this also includes items crafted from patterns obtained in ToC 10 norm/hc
|
||||
return true;
|
||||
if (validDedicatedInsanityItems.find(item->ItemId) != validDedicatedInsanityItems.end()) // list of items dropping from ToC 10 norm/hc and also items ilevel 245 buyable for emblems of triumph
|
||||
return true;
|
||||
|
||||
@@ -3284,7 +3284,7 @@ class spell_gen_summon_tournament_mount : public SpellScript
|
||||
return ValidateSpellInfo({ SPELL_LANCE_EQUIPPED });
|
||||
}
|
||||
|
||||
SpellCastResult CheckIfLanceEquiped()
|
||||
SpellCastResult CheckIfLanceEquipped()
|
||||
{
|
||||
if (GetCaster()->IsInDisallowedMountForm())
|
||||
GetCaster()->RemoveAurasByType(SPELL_AURA_MOD_SHAPESHIFT);
|
||||
@@ -3300,7 +3300,7 @@ class spell_gen_summon_tournament_mount : public SpellScript
|
||||
|
||||
void Register() override
|
||||
{
|
||||
OnCheckCast += SpellCheckCastFn(spell_gen_summon_tournament_mount::CheckIfLanceEquiped);
|
||||
OnCheckCast += SpellCheckCastFn(spell_gen_summon_tournament_mount::CheckIfLanceEquipped);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user