fix(Scripts/BlackwingLair): Razorgore improvements (#10971)

- Rewrite reset events
- Use proper healing spell on phase transition
- Now uses abilities during phase 1
- Phase transition scripted - mobs now run away
This commit is contained in:
Skjalf
2022-03-23 15:42:34 -03:00
committed by GitHub
parent 6a6d0e5907
commit 7377c96cc8
12 changed files with 212 additions and 32 deletions

View File

@@ -194,6 +194,12 @@ public:
//Respawns a GO having negative spawntimesecs in gameobject-table
void DoRespawnGameObject(ObjectGuid guid, uint32 timeToDespawn = MINUTE);
// Respawns a creature.
void DoRespawnCreature(ObjectGuid guid, bool force = false);
// Respawns a creature from the creature object storage.
void DoRespawnCreature(uint32 type, bool force = false);
//sends world state update to all players in instance
void DoUpdateWorldState(uint32 worldstateId, uint32 worldstateValue);