From 7e5509eea33d61191921919c640a2e4061345a45 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 11 May 2022 16:01:31 -0300 Subject: So so lazy --- npc/032-5/episode.txt | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'npc/032-5') diff --git a/npc/032-5/episode.txt b/npc/032-5/episode.txt index c7636fee7..89ec02a67 100644 --- a/npc/032-5/episode.txt +++ b/npc/032-5/episode.txt @@ -77,8 +77,8 @@ OnTimer30000: unitkill(.platy); unitkill(.razor); sleep(25); - .platy=monster("032-5", 39, 55, 1, strmobinfo(1, RedQueen), RedQueen); - .razor=monster("032-5", 37, 57, 1, "The Black Razor", RedFollower); + .platy=monster("032-5", 39, 55, strmobinfo(1, RedQueen), RedQueen, 1, "#EpShow::OnPlaty"); + .razor=monster("032-5", 37, 57, "The Black Razor", RedFollower, 1, "#EpShow::OnRazor"); // The Black Razor needs tweaks setunitdata(.razor, UDT_MAXHP, 24000); @@ -89,9 +89,27 @@ OnTimer30000: setunitdata(.razor, UDT_SPEED, 480); // The Red Queen doesn't, but we need spawns and victory conditions + areamonster("032-5", 21, 35, 58, 77, strmobinfo(1, RedFollower), RedFollower, 12, "#EpShow::OnMini"); + areamonster("032-5", 21, 35, 58, 77, strmobinfo(1, RedFollowerF), RedFollowerF, 12, "#EpShow::OnMini"); stopnpctimer; .ctrl = false; end; +OnMini: + if (.razor) + unittalk(.razor, "My fallen comrade, you'll be avenged!"); + end; + +OnRazor: + if (.platy) + unittalk(.platy, "Razor, no!"); + .razor = 0; + end; + +OnPlaty: + if (.razor) + unittalk(.razor, "My queen!"); + .platy = 0; + end; } -- cgit v1.2.3-70-g09d2