1169 {
1171 {
1172
1174 {
1177 {
1178 if (car->GetEntry() == 28817)
1179 {
1180 car->AI()->SetGUID(miner->GetGUID());
1182 }
1183 }
1184 }
1185 }
1186
1187 return true;
1188 }
@ QUEST_STATUS_INCOMPLETE
Definition: QuestDef.h:103
#define CAST_AI(a, b)
Definition: UnitAI.h:26
@ TEMPSUMMON_DEAD_DESPAWN
Definition: Object.h:51
@ SPELL_CART_SUMM
Definition: chapter1.cpp:1160
Definition: Creature.h:46
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:2355
float GetOrientation() const
Definition: Position.h:120
QuestStatus GetQuestStatus(uint32 quest_id) const
Definition: PlayerQuest.cpp:1424
Creature * GetVehicleCreatureBase() const
Definition: Unit.cpp:18703
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
Definition: chapter1.cpp:1029