1573 {
1576 return true;
1577
1579 if (!pPrisoner)
1580 {
1582 if (!pPrisoner)
1583 {
1585 if (!pPrisoner)
1587 }
1588 }
1589
1590 if (!pPrisoner || !pPrisoner->
IsAlive())
1591 return true;
1592
1594 if (qInfo)
1595 {
1599 }
1600 return true;
1601 }
@ QUEST_STATUS_INCOMPLETE
Definition: QuestDef.h:103
#define sObjectMgr
Definition: ObjectMgr.h:1623
@ NPC_PRISONER_PALADIN
Definition: go_scripts.cpp:1564
@ NPC_PRISONER_MAGE
Definition: go_scripts.cpp:1562
@ QUEST_PRISONERS_OF_WYRMSKULL
Definition: go_scripts.cpp:1560
@ NPC_PRISONER_WARRIOR
Definition: go_scripts.cpp:1563
@ NPC_PRISONER_PRIEST
Definition: go_scripts.cpp:1561
Definition: Creature.h:46
void DisappearAndDie()
Definition: Creature.cpp:371
void UseDoorOrButton(uint32 time_to_restore=0, bool alternative=false, Unit *user=nullptr)
Definition: GameObject.cpp:1429
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition: Object.cpp:2446
void KilledMonsterCredit(uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
Definition: PlayerQuest.cpp:1921
QuestStatus GetQuestStatus(uint32 quest_id) const
Definition: PlayerQuest.cpp:1424
bool IsAlive() const
Definition: Unit.h:1204
Definition: QuestDef.h:210
int32 RequiredNpcOrGo[QUEST_OBJECTIVES_COUNT]
Definition: QuestDef.h:304