2309 {
2311 if (!caster)
2312 return;
2313
2315 if (!spellInfo)
2316 return;
2317
2318
2320 {
2322
2323
2325 }
2326
2328 {
2331 if (
Unit* passenger = vehicle->GetPassenger(0))
2333 }
2334
2335 }
std::int32_t int32
Definition: Define.h:103
#define sCreatureTextMgr
Definition: CreatureTextMgr.h:119
@ SPELL_OVERHEAT
Definition: boss_icecrown_gunship_battle.cpp:183
@ SAY_OVERHEAT
Definition: boss_icecrown_gunship_battle.cpp:70
@ EFFECT_1
Definition: SharedDefines.h:32
@ POWER_ENERGY
Definition: SharedDefines.h:272
@ SPELL_EFFECT_ENERGIZE
Definition: SharedDefines.h:808
Creature * ToCreature()
Definition: Object.h:202
int32 ModifyPower(Powers power, int32 val, bool withPowerUpdate=true)
Definition: Unit.cpp:14106
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1168
uint32 GetPower(Powers power) const
Definition: Unit.h:891
Vehicle * GetVehicleKit() const
Definition: Unit.h:1672
Definition: SpellInfo.h:316
std::array< SpellEffectInfo, MAX_SPELL_EFFECTS > Effects
Definition: SpellInfo.h:393
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
Unit * GetCaster()
Definition: SpellScript.cpp:401