aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms
diff options
context:
space:
mode:
authorRushor <Rushor@users.noreply.github.com>2020-02-15 20:18:58 +0100
committerGitHub <noreply@github.com>2020-02-15 20:18:58 +0100
commitf0bf447cd14315f1fe0bdab7d051691113525762 (patch)
tree9f54ab3d45522d4192c7e59e163b62efc9324ec6 /src/server/scripts/EasternKingdoms
parent322f0b8873e14a67bad0f23e1d3a2927a43c2495 (diff)
Scripts/Gameobject: Journal of Jandice Barov- Convert script to SAI. (#24157)
* Scripts/Gameobject: Journal of Jandice Barov- Convert script to SAI. (Thanks to Sunwell) * Scripts/Gameobject: Journal of Jandice Barov - Update script and move go spawn to bossscript * Update boss_jandice_barov.cpp Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com>
Diffstat (limited to 'src/server/scripts/EasternKingdoms')
-rw-r--r--src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp
index 60556f54c32..319440da2ce 100644
--- a/src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp
+++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp
@@ -22,7 +22,8 @@
enum Spells
{
SPELL_CURSE_OF_BLOOD = 24673,
- SPELL_ILLUSION = 17773
+ SPELL_ILLUSION = 17773,
+ SPELL_DROP_JOURNAL = 26096
};
enum Events
@@ -67,6 +68,7 @@ public:
void JustDied(Unit* /*killer*/) override
{
Summons.DespawnAll();
+ DoCast(SPELL_DROP_JOURNAL, true);
}
void UpdateAI(uint32 diff) override