1304 {
1307 if (!pPrisoner)
1308 {
1310 if (!pPrisoner)
1311 {
1313 if (!pPrisoner)
1315 }
1316 }
1317 if (!pPrisoner || !pPrisoner->
IsAlive())
1318 return false;
1319
1323 {
1326 break;
1329 break;
1332 break;
1335 break;
1336 }
1337 return true;
1338 }
@ NPC_EBON_BLADE_PRISONER_TROLL
Definition: go_scripts.cpp:1289
@ SPELL_SUMMON_BLADE_KNIGHT_NE
Definition: go_scripts.cpp:1293
@ NPC_EBON_BLADE_PRISONER_NE
Definition: go_scripts.cpp:1288
@ SPELL_SUMMON_BLADE_KNIGHT_H
Definition: go_scripts.cpp:1292
@ SPELL_SUMMON_BLADE_KNIGHT_ORC
Definition: go_scripts.cpp:1294
@ NPC_EBON_BLADE_PRISONER_ORC
Definition: go_scripts.cpp:1290
@ NPC_EBON_BLADE_PRISONER_HUMAN
Definition: go_scripts.cpp:1287
@ SPELL_SUMMON_BLADE_KNIGHT_TROLL
Definition: go_scripts.cpp:1295
Definition: Creature.h:46
void DespawnOrUnsummon(Milliseconds msTimeToDespawn, Seconds forcedRespawnTimer)
Definition: Creature.cpp:2117
void UseDoorOrButton(uint32 time_to_restore=0, bool alternative=false, Unit *user=nullptr)
Definition: GameObject.cpp:1427
uint32 GetEntry() const
Definition: Object.h:109
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition: Object.cpp:2434
void KilledMonsterCredit(uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
Definition: PlayerQuest.cpp:1913
bool IsAlive() const
Definition: Unit.h:1822
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:1169