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
committerShauren <shauren.trinity@gmail.com>2021-12-21 16:33:47 +0100
commit2326eac4f9e40f34023fcf82d62b8a001b4d2281 (patch)
tree78be176bd9d595809c998a5134475e1a7ba23fbe /src/server/scripts/EasternKingdoms
parent41b10f4bb8a0a231214fb4794e37e38e0f640671 (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> (cherry picked from commit f0bf447cd14315f1fe0bdab7d051691113525762)
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 fe2150d8d33..68462ee0f27 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();
+ DoCastSelf(SPELL_DROP_JOURNAL, true);
}
void UpdateAI(uint32 diff) override