1356 {
1359 if (!pPrisoner)
1360 {
1362 if (!pPrisoner)
1363 {
1365 if (!pPrisoner)
1367 }
1368 }
1369 if (!pPrisoner || !pPrisoner->
IsAlive())
1370 return false;
1371
1375 {
1378 break;
1381 break;
1384 break;
1387 break;
1388 }
1389 return true;
1390 }
@ NPC_EBON_BLADE_PRISONER_TROLL
Definition: go_scripts.cpp:1341
@ SPELL_SUMMON_BLADE_KNIGHT_NE
Definition: go_scripts.cpp:1345
@ NPC_EBON_BLADE_PRISONER_NE
Definition: go_scripts.cpp:1340
@ SPELL_SUMMON_BLADE_KNIGHT_H
Definition: go_scripts.cpp:1344
@ SPELL_SUMMON_BLADE_KNIGHT_ORC
Definition: go_scripts.cpp:1346
@ NPC_EBON_BLADE_PRISONER_ORC
Definition: go_scripts.cpp:1342
@ NPC_EBON_BLADE_PRISONER_HUMAN
Definition: go_scripts.cpp:1339
@ SPELL_SUMMON_BLADE_KNIGHT_TROLL
Definition: go_scripts.cpp:1347
Definition: Creature.h:46
void DespawnOrUnsummon(Milliseconds msTimeToDespawn, Seconds forcedRespawnTimer)
Definition: Creature.cpp:2173
void UseDoorOrButton(uint32 time_to_restore=0, bool alternative=false, Unit *user=nullptr)
Definition: GameObject.cpp:1429
uint32 GetEntry() const
Definition: Object.h:112
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
bool IsAlive() const
Definition: Unit.h:1204
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:1168