From 958286e0780069f9408250aa1aba0cd0cf7d5105 Mon Sep 17 00:00:00 2001 From: P0nk Date: Wed, 31 Aug 2022 22:04:58 +0200 Subject: [PATCH] Make Riche text MSEA-like (at least) MSEA text is likely not the same as GMS text, but it's better than making things up. --- scripts/reactor/2119000.js | 15 +++++++++++++-- scripts/reactor/2119001.js | 15 +++++++++++++-- scripts/reactor/2119002.js | 15 +++++++++++++-- scripts/reactor/2119003.js | 15 +++++++++++++-- 4 files changed, 52 insertions(+), 8 deletions(-) diff --git a/scripts/reactor/2119000.js b/scripts/reactor/2119000.js index 7bd44c08ff..3c6f54cb2d 100644 --- a/scripts/reactor/2119000.js +++ b/scripts/reactor/2119000.js @@ -19,7 +19,18 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ +/** + Tombstone in Forest of Dead Trees I + MSEA reference: http://mymapleland.blogspot.com/2009/09/kill-lich-at-forest-of-dead-trees-i-to.html +*/ +function hit() { + if (rm.getReactor().getState() !== 0) { + return + } + + rm.weakenAreaBoss(6090000, "As the tombstone lit up and vanished, Lich lost all his magic abilities.") +} + function act() { - // I could not find the text from GMS, so I made something up. - rm.weakenAreaBoss(6090000, "Riche has been weakened.") + // If the chest is destroyed before Riche, killing him should yield no exp } \ No newline at end of file diff --git a/scripts/reactor/2119001.js b/scripts/reactor/2119001.js index 7bd44c08ff..deb223366e 100644 --- a/scripts/reactor/2119001.js +++ b/scripts/reactor/2119001.js @@ -19,7 +19,18 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ +/** + Tombstone in Forest of Dead Trees II + MSEA reference: http://mymapleland.blogspot.com/2009/09/kill-lich-at-forest-of-dead-trees-i-to.html +*/ +function hit() { + if (rm.getReactor().getState() !== 0) { + return + } + + rm.weakenAreaBoss(6090000, "As the tombstone lit up and vanished, Lich lost all his magic abilities.") +} + function act() { - // I could not find the text from GMS, so I made something up. - rm.weakenAreaBoss(6090000, "Riche has been weakened.") + // If the chest is destroyed before Riche, killing him should yield no exp } \ No newline at end of file diff --git a/scripts/reactor/2119002.js b/scripts/reactor/2119002.js index 7bd44c08ff..918902b8e9 100644 --- a/scripts/reactor/2119002.js +++ b/scripts/reactor/2119002.js @@ -19,7 +19,18 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ +/** + Tombstone in Forest of Dead Trees III + MSEA reference: http://mymapleland.blogspot.com/2009/09/kill-lich-at-forest-of-dead-trees-i-to.html +*/ +function hit() { + if (rm.getReactor().getState() !== 0) { + return + } + + rm.weakenAreaBoss(6090000, "As the tombstone lit up and vanished, Lich lost all his magic abilities.") +} + function act() { - // I could not find the text from GMS, so I made something up. - rm.weakenAreaBoss(6090000, "Riche has been weakened.") + // If the chest is destroyed before Riche, killing him should yield no exp } \ No newline at end of file diff --git a/scripts/reactor/2119003.js b/scripts/reactor/2119003.js index 7bd44c08ff..9e5a5fb93e 100644 --- a/scripts/reactor/2119003.js +++ b/scripts/reactor/2119003.js @@ -19,7 +19,18 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ +/** + Tombstone in Forest of Dead Trees IV + MSEA reference: http://mymapleland.blogspot.com/2009/09/kill-lich-at-forest-of-dead-trees-i-to.html +*/ +function hit() { + if (rm.getReactor().getState() !== 0) { + return + } + + rm.weakenAreaBoss(6090000, "As the tombstone lit up and vanished, Lich lost all his magic abilities.") +} + function act() { - // I could not find the text from GMS, so I made something up. - rm.weakenAreaBoss(6090000, "Riche has been weakened.") + // If the chest is destroyed before Riche, killing him should yield no exp } \ No newline at end of file