308 {
310 return false;
311
313 {
315 {
317 shark->AI()->AttackStart(player);
318
319 return false;
320 }
321 }
322 return true;
323 }
@ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
Definition: Object.h:45
@ QUEST_STATUS_INCOMPLETE
Definition: QuestDef.h:103
@ SPELL_FISH_PASTE
Definition: areatrigger_scripts.cpp:298
@ QUEST_NATS_BARGAIN
Definition: areatrigger_scripts.cpp:297
@ NPC_LURKING_SHARK
Definition: areatrigger_scripts.cpp:299
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:2343
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition: Object.cpp:2434
QuestStatus GetQuestStatus(uint32 quest_id) const
Definition: PlayerQuest.cpp:1416
bool IsAlive() const
Definition: Unit.h:1822
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5636