160 if (target->m_movementInfo.GetFallTime() > 2000 && !target->GetTransport())
184 float speedZ = 10.0f;
251 caster->
CastSpell(caster, _creditSpell,
true);
@ SPELL_LAUNCH_NO_FALLING_DAMAGE
@ SPELL_DRIVING_CREDIT_GLAIVE
@ SPELL_DRIVING_CREDIT_SIEGE
@ SPELL_DRIVING_CREDIT_DEMOLISHER
@ SPELL_DRIVING_CREDIT_CATAPULT
@ SPELL_TELEPORT_VISUAL_ONLY
@ BG_IC_NPC_GUNSHIP_CAPTAIN_1
#define ASSERT_NOTNULL(pointer)
@ TELE_TO_NOT_LEAVE_TRANSPORT
#define RegisterCreatureAI(ai_name)
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ SPELL_EFFECT_GAMEOBJECT_DAMAGE
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
#define SpellEffectFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
void PreventDefaultAction()
HookList< EffectPeriodicHandler > OnEffectPeriodic
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void AddEvent(BasicEvent *event, Milliseconds e_time, bool set_addtime=true)
BattlegroundMap * ToBattlegroundMap()
void MoveJump(Position const &pos, float speedXY, float speedZ, uint32 id=EVENT_JUMP, bool hasOrientation=false)
static Creature * ToCreature(Object *o)
static Player * ToPlayer(Object *o)
bool TeleportTo(uint32 mapid, float x, float y, float z, float orientation, uint32 options=0)
Creature * GetHitCreature() const
Player * GetHitPlayer() const
HookList< HitHandler > AfterHit
HookList< EffectHandler > OnEffectHitTarget
WorldLocation const * GetExplTargetDest() const
SpellInfo const * GetSpellInfo() const
Unit * GetOriginalCaster() const
GameObject * GetHitGObj() const
bool Execute(uint64, uint32) override
StartLaunchEvent(Position const &pos, ObjectGuid const &guid)
SpellCastResult DoCast(uint32 spellId)
Vehicle * GetVehicle() const
MotionMaster * GetMotionMaster()
Aura * AddAura(uint32 spellId, Unit *target)
virtual void ExitVehicle(Position const *exitPosition=nullptr)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
PrepareSpellScript(spell_ioc_gunship_portal)
void HandleScript(SpellEffIndex)
PrepareSpellScript(spell_ioc_launch)
PrepareAuraScript(spell_ioc_parachute_ic)
void HandleTriggerSpell(AuraEffect const *)
void HandleAchievementCredit(SpellEffIndex)
PrepareSpellScript(spell_ioc_seaforium_blast_credit)
bool Validate(SpellInfo const *) override
void AddSC_isle_of_conquest()
@ SPELL_HUGE_SEAFORIUM_BLAST_H
@ SPELL_SEAFORIUM_BLAST_H
@ SPELL_HUGE_SEAFORIUM_BLAST
@ SPELL_A_BOMB_INATION_CREDIT
@ SPELL_A_BOMB_INABLE_CREDIT
TC_GAME_API Player * FindPlayer(ObjectGuid const &)
float GetExactDist2d(const float x, const float y) const
void PassengerBoarded(Unit *who, int8, bool apply) override
== Fields =======================================
npc_four_car_garage(Creature *creature)
void DoAction(int32 action) override
void UpdateAI(uint32 diff) override
npc_ioc_gunship_captain(Creature *creature)