diff options
| author | offl <11556157+offl@users.noreply.github.com> | 2021-10-07 16:03:38 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-07 16:03:38 +0300 |
| commit | 4441d42253d64ccd8fc9f78f1b44c851d6408312 (patch) | |
| tree | f12503a9c5f63c934e587e1328442d55572e7621 /src/server/game/Spells/SpellInfo.cpp | |
| parent | e8c005df3d8f1804346c7efa331ac81239b6f977 (diff) | |
Scripts/Spells: Handle quest tame spells in spell script (#27022)
Diffstat (limited to 'src/server/game/Spells/SpellInfo.cpp')
| -rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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()) |
