mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-11 20:49:44 +01:00
Core/Scripts: Added Boundary in Forge of Souls (#18226)
Core/Scripts: Added Boundary in Forge of Souls
(cherry picked from commit ab4ec5bd01)
This commit is contained in:
@@ -22,6 +22,13 @@
|
||||
#include "Map.h"
|
||||
#include "Player.h"
|
||||
|
||||
|
||||
BossBoundaryData const boundaries =
|
||||
{
|
||||
{ DATA_BRONJAHM, new CircleBoundary(Position(5297.3f, 2506.45f), 100.96) },
|
||||
{ DATA_DEVOURER_OF_SOULS, new ParallelogramBoundary(Position(5663.56f, 2570.53f), Position(5724.39f, 2520.45f), Position(5570.36f, 2461.42f)) }
|
||||
};
|
||||
|
||||
class instance_forge_of_souls : public InstanceMapScript
|
||||
{
|
||||
public:
|
||||
@@ -33,6 +40,7 @@ class instance_forge_of_souls : public InstanceMapScript
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
LoadBossBoundaries(boundaries);
|
||||
|
||||
teamInInstance = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user