1150 {
1152 {
1153
1155 {
1158 {
1159 if (car->GetEntry() == 28817)
1160 {
1161 car->AI()->SetGUID(miner->GetGUID());
1163 }
1164 }
1165 }
1166 }
1167
1168 return true;
1169 }
@ SPELL_CART_SUMM
Definition: chapter1.cpp:1141
#define CAST_AI(a, b)
Definition: UnitAI.h:26
@ QUEST_STATUS_INCOMPLETE
Definition: QuestDef.h:103
@ TEMPSUMMON_DEAD_DESPAWN
Definition: Object.h:52
Definition: Creature.h:43
TempSummon * SummonCreature(uint32 id, const Position &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0, SummonPropertiesEntry const *properties=nullptr, bool visibleBySummonerOnly=false) const
Definition: Object.cpp:2366
float GetOrientation() const
Definition: Position.h:119
QuestStatus GetQuestStatus(uint32 quest_id) const
Definition: PlayerQuest.cpp:1429
Creature * GetVehicleCreatureBase() const
Definition: Unit.cpp:18747
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
Definition: chapter1.cpp:1010