352 {
355 if (!owner)
356 return;
357
363
364 owner->
CastSpell(owner, creditSpell,
true);
365 }
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_BOMB_INATION_CREDIT
Definition: isle_of_conquest.cpp:339
@ SPELL_HUGE_SEAFORIUM_BLAST_H
Definition: isle_of_conquest.cpp:337
@ SPELL_BOMB_INABLE_CREDIT
Definition: isle_of_conquest.cpp:338
@ SPELL_SEAFORIUM_BLAST
Definition: isle_of_conquest.cpp:334
@ SPELL_SEAFORIUM_BLAST_H
Definition: isle_of_conquest.cpp:335
@ SPELL_HUGE_SEAFORIUM_BLAST
Definition: isle_of_conquest.cpp:336
Unit * GetOwner() const
Definition: Unit.cpp:10600
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:1167
uint32 Id
Definition: SpellInfo.h:320
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
Unit * GetCaster()
Definition: SpellScript.cpp:401