mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-01 01:53:47 +00:00
fix(Scripts/Stratholme): Rewrite Jarien and Sothos fight (#9391)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user