summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-04 10:39:51 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-04 10:39:51 -0300
commit7b9655c8ec3d39a2a4a8c2cd2ebc12b7c7b1d39c (patch)
tree761027784e58a50f0e58d9fd056fea153d247235 /npc
parent07e05d5f62cdcbbeb5e88fd3c1267bb14d812621 (diff)
downloadserverdata-7b9655c8ec3d39a2a4a8c2cd2ebc12b7c7b1d39c.tar.gz
serverdata-7b9655c8ec3d39a2a4a8c2cd2ebc12b7c7b1d39c.tar.bz2
serverdata-7b9655c8ec3d39a2a4a8c2cd2ebc12b7c7b1d39c.tar.xz
serverdata-7b9655c8ec3d39a2a4a8c2cd2ebc12b7c7b1d39c.zip
This should make the campaign sufficiently interesting for a while
Diffstat (limited to 'npc')
-rw-r--r--npc/015-8-1/campaign.txt41
1 files changed, 41 insertions, 0 deletions
diff --git a/npc/015-8-1/campaign.txt b/npc/015-8-1/campaign.txt
index 0158d6264..5c6062d87 100644
--- a/npc/015-8-1/campaign.txt
+++ b/npc/015-8-1/campaign.txt
@@ -73,6 +73,8 @@ OnS04:
// Heal them because you should not be fighting (yet).
setunitdata(.BOSS, UDT_HP, getunitdata(.BOSS, UDT_MAXHP));
setunitdata(.SAGRATHA, UDT_HP, getunitdata(.SAGRATHA, UDT_MAXHP));
+ unitstop(.SAGRATHA);
+ unitstop(.BOSS);
// Objective announce
mapannounce(.@m$, "##2"+l("Victory Conditions: Defeat the assassin!"), 0);
@@ -86,6 +88,45 @@ OnS04:
// TODO: After x time, reinforcements on both sides
// BOSS: “Kill 'em all!”
// SAGGY: “Beings of florest, come to my aid and protect me!”
+ addtimer(20000, .@n$+"::OnW01");
+ end;
+
+OnW01:
+ .@m$=getmap();
+ .@n$=instance_npcname(.name$);
+
+ unittalk(.BOSS, l("Kill 'em all!"));
+
+ monster .@m$, 39, 39, strmobinfo(1, HoodedNinja), HoodedNinja, 1;
+ monster .@m$, 60, 39, strmobinfo(1, HoodedNinja), HoodedNinja, 1;
+
+ monster .@m$, 39, 54, strmobinfo(1, Assassin), Assassin, 1;
+ monster .@m$, 60, 54, strmobinfo(1, Assassin), Assassin, 1;
+ addtimer(rand(10000,15000), .@n$+"::OnW02");
+ end;
+
+OnW02:
+ .@m$=getmap();
+ .@n$=instance_npcname(.name$);
+
+ unittalk(.SAGRATHA, l("Mouboos, come to my aid and protect me!"));
+
+ monster .@m$, 46, 59, strmobinfo(1, Mouboo), Mouboo, 1, .@n$+"::OnError", Size_Medium, 2;
+ monster .@m$, 44, 61, strmobinfo(1, Mouboo), Mouboo, 1, .@n$+"::OnError", Size_Medium, 2;
+ monster .@m$, 49, 61, strmobinfo(1, Mouboo), Mouboo, 1, .@n$+"::OnError", Size_Medium, 2;
+ addtimer(30000, .@n$+"::OnW03");
+ end;
+
+OnW03:
+ .@m$=getmap();
+ .@n$=instance_npcname(.name$);
+
+ unittalk(.SAGRATHA, l("Do not think you can defeat me yet!"));
+ unittalk(.BOSS, l("You'll all die here!"));
+
+ monster .@m$, 49, 34, strmobinfo(1, Mouboo), Mouboo, 1, .@n$+"::OnError", Size_Medium, 2;
+ monster .@m$, 47, 36, strmobinfo(1, Assassin), Assassin, 1;
+ monster .@m$, 52, 36, strmobinfo(1, Assassin), Assassin, 1;
end;
// Assassin, HoodedNinja, HoodedAssassin (boss)