mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/Scripts: Added Boundary in Forge of Souls (#18226)
Core/Scripts: Added Boundary in Forge of Souls
This commit is contained in:
@@ -20,6 +20,13 @@
|
||||
#include "forge_of_souls.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:
|
||||
@@ -31,6 +38,7 @@ class instance_forge_of_souls : public InstanceMapScript
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
LoadBossBoundaries(boundaries);
|
||||
|
||||
teamInInstance = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user