*Do not allow to enter frostwyrm wing before killing all previous bosses. If you do not like it, simply do not apply the sql.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-12 08:01:06 -05:00
parent 1bdc65e5ee
commit cd78172c7d
4 changed files with 25 additions and 0 deletions
+1
View File
@@ -150,6 +150,7 @@ class TRINITY_DLL_SPEC InstanceData : public ZoneScript
void DoRespawnGameObject(uint64 uiGuid, uint32 uiTimeToDespawn = MINUTE);
virtual bool SetBossState(uint32 id, EncounterState state);
EncounterState GetBossState(uint32 id) const { return id < bosses.size() ? bosses[id].state : TO_BE_DECIDED; }
const BossBoundaryMap * GetBossBoundary(uint32 id) const { return id < bosses.size() ? &bosses[id].boundary : NULL; }
protected:
void SetBossNumber(uint32 number) { bosses.resize(number); }