1355 {
1358 if (!pPrisoner)
1359 {
1361 if (!pPrisoner)
1362 {
1364 if (!pPrisoner)
1366 }
1367 }
1368 if (!pPrisoner || !pPrisoner->
IsAlive())
1369 return false;
1370
1374 {
1377 break;
1380 break;
1383 break;
1386 break;
1387 }
1388 return true;
1389 }
@ NPC_EBON_BLADE_PRISONER_TROLL
Definition: go_scripts.cpp:1340
@ SPELL_SUMMON_BLADE_KNIGHT_NE
Definition: go_scripts.cpp:1344
@ NPC_EBON_BLADE_PRISONER_NE
Definition: go_scripts.cpp:1339
@ SPELL_SUMMON_BLADE_KNIGHT_H
Definition: go_scripts.cpp:1343
@ SPELL_SUMMON_BLADE_KNIGHT_ORC
Definition: go_scripts.cpp:1345
@ NPC_EBON_BLADE_PRISONER_ORC
Definition: go_scripts.cpp:1341
@ NPC_EBON_BLADE_PRISONER_HUMAN
Definition: go_scripts.cpp:1338
@ SPELL_SUMMON_BLADE_KNIGHT_TROLL
Definition: go_scripts.cpp:1346
Definition: Creature.h:43
void DespawnOrUnsummon(Milliseconds msTimeToDespawn, Seconds forcedRespawnTimer)
Definition: Creature.cpp:2178
void UseDoorOrButton(uint32 time_to_restore=0, bool alternative=false, Unit *user=nullptr)
Definition: GameObject.cpp:1431
uint32 GetEntry() const
Definition: Object.h:115
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition: Object.cpp:2457
void KilledMonsterCredit(uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
Definition: PlayerQuest.cpp:1926
bool IsAlive() const
Definition: Unit.h:1654
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