263 {
265 return false;
266
268 {
270 {
272 shark->AI()->AttackStart(player);
273
274 return false;
275 }
276 }
277 return true;
278 }
@ QUEST_STATUS_INCOMPLETE
Definition: QuestDef.h:103
@ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
Definition: Object.h:48
@ SPELL_FISH_PASTE
Definition: areatrigger_scripts.cpp:253
@ QUEST_NATS_BARGAIN
Definition: areatrigger_scripts.cpp:252
@ NPC_LURKING_SHARK
Definition: areatrigger_scripts.cpp:254
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
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition: Object.cpp:2446
QuestStatus GetQuestStatus(uint32 quest_id) const
Definition: PlayerQuest.cpp:1424
bool IsAlive() const
Definition: Unit.h:1204
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5669