From 4441d42253d64ccd8fc9f78f1b44c851d6408312 Mon Sep 17 00:00:00 2001 From: offl <11556157+offl@users.noreply.github.com> Date: Thu, 7 Oct 2021 16:03:38 +0300 Subject: Scripts/Spells: Handle quest tame spells in spell script (#27022) --- src/server/game/Spells/SpellInfo.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/server/game/Spells/SpellInfo.cpp') diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 0226f70e020..0abf694251a 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -930,11 +930,6 @@ bool SpellInfo::IsLootCrafting() const ((TotemCategory[0] != 0 || (Totem[0] != 0 && SpellIconID == 1)) || GetEffect(EFFECT_0).ItemType == 0))); } -bool SpellInfo::IsQuestTame() const -{ - return GetEffect(EFFECT_0).Effect == SPELL_EFFECT_THREAT && GetEffect(EFFECT_1).Effect == SPELL_EFFECT_APPLY_AURA && GetEffect(EFFECT_1).ApplyAuraName == SPELL_AURA_DUMMY; -} - bool SpellInfo::IsProfessionOrRiding() const { for (SpellEffectInfo const& effect : GetEffects()) -- cgit v1.2.3