mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Core/Spells): cyclone shouldn't be casted on totems (#5306)
This commit is contained in:
@@ -152,6 +152,12 @@ bool Totem::IsImmunedToSpellEffect(SpellInfo const* spellInfo, uint32 index) con
|
||||
spellInfo->Effects[index].TargetA.GetCheckType() != TARGET_CHECK_ENTRY && spellInfo->Id != 55277 && spellInfo->Id != 6277)
|
||||
return true;
|
||||
|
||||
// Cyclone shouldn't be casted on totems
|
||||
if (spellInfo->Id == SPELL_CYCLONE)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
switch (spellInfo->Effects[index].ApplyAuraName)
|
||||
{
|
||||
// i think its wrong (xinef)
|
||||
|
||||
@@ -21,6 +21,8 @@ enum TotemType
|
||||
#define SENTRY_TOTEM_ENTRY 3968
|
||||
#define EARTHBIND_TOTEM_ENTRY 2630
|
||||
|
||||
constexpr uint32 SPELL_CYCLONE = 33786;
|
||||
|
||||
class Totem : public Minion
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user