fix(Scripts/Stratholme): Rewrite Jarien and Sothos fight (#9391)

This commit is contained in:
Nefertumm
2021-12-03 04:31:40 -08:00
committed by GitHub
parent 1b51d25c65
commit 728aa460a4
4 changed files with 390 additions and 0 deletions

View File

@@ -33,6 +33,8 @@ enum DataTypes
DATA_BARON_RUN_NONE = 0,
DATA_BARON_RUN_GATE = 1,
DATA_JARIEN = 2,
DATA_SOTHOS = 3
};
enum CreatureIds
@@ -47,6 +49,10 @@ enum CreatureIds
NPC_PLAGUED_RAT = 10441,
NPC_PLAGUED_INSECT = 10461,
NPC_PLAGUED_MAGGOT = 10536,
NPC_JARIEN = 16101,
NPC_SOTHOS = 16102,
NPC_SPIRIT_OF_JARIEN = 16103,
NPC_SPIRIT_OF_SOTHOS = 16104
};
enum GameobjectIds
@@ -64,6 +70,7 @@ enum GameobjectIds
GO_PORT_TRAP_GATE_2 = 175350, // Gate trap scarlet side
GO_PORT_TRAP_GATE_3 = 175355, // Gate trap undead side
GO_PORT_TRAP_GATE_4 = 175354,
GO_JARIEN_AND_SOTHOS_HEIRLOOMS = 181083
};
enum MiscIds
@@ -98,4 +105,6 @@ inline AI* GetStratholmeAI(T* obj)
return GetInstanceAI<AI>(obj, StratholmeScriptName);
}
#define RegisterStratholmeCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetStratholmeAI)
#endif