![]() |
TrinityCore
|
Static Public Member Functions | |
| static bool | Validate () |
| static void | GenerateMaelstromWeapon (Unit *shaman, int32 stacks) |
| static void | ConsumeMaelstromWeapon (Unit *shaman, Aura *maelstromWeaponVisibleAura, int32 stacks, Spell const *consumingSpell=nullptr) |
Definition at line 187 of file spell_shaman.cpp.
|
static |
Definition at line 1996 of file spell_shaman.cpp.
References CalculatePct(), WorldObject::CastSpell(), EFFECT_0, EFFECT_1, Unit::GetAura(), Unit::GetAuraEffect(), Aura::GetStackAmount(), Unit::HasAura(), Unit::RemoveAurasDueToSpell(), SPELL_SHAMAN_HAILSTORM_BUFF, SPELL_SHAMAN_HAILSTORM_TALENT, SPELL_SHAMAN_ICE_STRIKE_PROC, SPELL_SHAMAN_MAELSTROM_WEAPON_MOD_AURA, SPELL_SHAMAN_STORMWEAVER_PVP_TALENT, SPELL_SHAMAN_STORMWEAVER_PVP_TALENT_BUFF, SPELLVALUE_AURA_STACK, SPELLVALUE_BASE_POINT0, SPELLVALUE_BASE_POINT1, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by spell_sha_maelstrom_weapon_proc::RemoveMaelstromAuras(), and spell_sha_thorims_invocation_trigger::TriggerLightningSpell().
|
static |
Definition at line 1973 of file spell_shaman.cpp.
References WorldObject::CastSpell(), Unit::GetAuraCount(), Unit::HasAura(), CastSpellExtraArgs::SetTriggerFlags(), SPELL_SHAMAN_MAELSTROM_WEAPON_MOD_AURA, SPELL_SHAMAN_MAELSTROM_WEAPON_OVERLAY, SPELL_SHAMAN_MAELSTROM_WEAPON_OVERLAY_HEALS, SPELL_SHAMAN_MAELSTROM_WEAPON_VISIBLE_AURA, SPELL_SHAMAN_OVERFLOWING_MAELSTROM_AURA, SPELL_SHAMAN_OVERFLOWING_MAELSTROM_TALENT, SPELL_SHAMAN_STORMWEAVER_PVP_TALENT, TRIGGERED_DONT_REPORT_CAST_ERROR, and TRIGGERED_IGNORE_CAST_IN_PROGRESS.
Referenced by spell_sha_swirling_maelstrom::EnergizeMaelstrom(), spell_sha_ice_strike::EnergizeMaelstrom(), spell_sha_primordial_wave::EnergizeMaelstrom(), spell_sha_voltaic_blaze::EnergizeMaelstrom(), and spell_sha_maelstrom_weapon::HandleProc().
|
static |
Definition at line 1953 of file spell_shaman.cpp.
References EFFECT_0, EFFECT_1, SPELL_SHAMAN_HAILSTORM_BUFF, SPELL_SHAMAN_HAILSTORM_TALENT, SPELL_SHAMAN_ICE_STRIKE_PROC, SPELL_SHAMAN_MAELSTROM_WEAPON_MOD_AURA, SPELL_SHAMAN_MAELSTROM_WEAPON_OVERLAY, SPELL_SHAMAN_MAELSTROM_WEAPON_OVERLAY_HEALS, SPELL_SHAMAN_MAELSTROM_WEAPON_VISIBLE_AURA, SPELL_SHAMAN_OVERFLOWING_MAELSTROM_AURA, SPELL_SHAMAN_OVERFLOWING_MAELSTROM_TALENT, SPELL_SHAMAN_STORMWEAVER_PVP_TALENT, SPELL_SHAMAN_STORMWEAVER_PVP_TALENT_BUFF, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().
Referenced by spell_sha_ice_strike::Validate(), spell_sha_maelstrom_weapon::Validate(), spell_sha_maelstrom_weapon_proc::Validate(), spell_sha_voltaic_blaze::Validate(), and spell_sha_swirling_maelstrom::Validate().