summaryrefslogtreecommitdiff
path: root/npc/015-8-1/campaign.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/015-8-1/campaign.txt')
-rw-r--r--npc/015-8-1/campaign.txt26
1 files changed, 22 insertions, 4 deletions
diff --git a/npc/015-8-1/campaign.txt b/npc/015-8-1/campaign.txt
index a6bc5854e..ae1ca0eaa 100644
--- a/npc/015-8-1/campaign.txt
+++ b/npc/015-8-1/campaign.txt
@@ -15,6 +15,7 @@
OnBegin:
.@m$=getmap();
.@n$=instance_npcname(.name$);
+ 'MAPID=getmap();
// 255 = PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_COMMANDS|PCBLOCK_SITSTAND|PCBLOCK_IMMUNE|PCBLOCK_CHAT|PCBLOCK_MOVE
setpcblock(255, true);
@@ -22,11 +23,18 @@ OnBegin:
// Setup boss units
.SAGRATHA=monster(.@m$, 52, 40, "Sagratha", Sagratha, 1, .@n$+"::OnSagrathaDie", Size_Medium, 2);
- .BOSS=monster(.@m$, 52, 40, l("Masked Assassin"), HoodedAssassin, 1, .@n$+"::OnSagrathaWin");
+ .BOSS=monster(.@m$, 47, 40, l("Masked Assassin"), HoodedAssassin, 1, .@n$+"::OnSagrathaWin");
unitstop(.SAGRATHA);
unitstop(.BOSS);
+ // Prevent players from engaging Sagratha and allies
+ clientcommand "/addignoreattack Sagratha";
+ clientcommand "/addignoreattack "+l(strmobinfo(1, Mouboo));
+ clientcommand "/addignoreattack "+l(strmobinfo(1, ForestMushroom));
+ clientcommand "/addignoreattack "+strmobinfo(1, Mouboo);
+ clientcommand "/addignoreattack "+strmobinfo(1, ForestMushroom);
+
unittalk(.SAGRATHA, l("What are you doing here, @@!", get_race()));
addtimer(1000, .@n$+"::OnS02");
@@ -63,11 +71,11 @@ OnS04:
.@n$=instance_npcname(.name$);
// Assassin's Army
- areamonster .@m$, 44, 40, 55, 50, strmobinfo(1, HoodedNinja), HoodedNinja, 4, .@n$+"::OnError";
- areamonster .@m$, 44, 40, 55, 50, strmobinfo(1, Assassin), Assassin, 7, .@n$+"::OnError";
+ areamonster .@m$, 44, 40, 55, 50, strmobinfo(1, HoodedNinja), HoodedNinja, 2, .@n$+"::OnError";
+ areamonster .@m$, 44, 40, 55, 50, strmobinfo(1, Assassin), Assassin, 4, .@n$+"::OnError";
// Sagratha's Army
- areamonster .@m$, 44, 40, 55, 50, strmobinfo(1, Mouboo), Mouboo, 2, .@n$+"::OnError", Size_Medium, 2;
+ areamonster .@m$, 44, 40, 55, 50, strmobinfo(1, Mouboo), Mouboo, 5, .@n$+"::OnError", Size_Medium, 2;
areamonster .@m$, 44, 40, 55, 50, strmobinfo(1, ForestMushroom), ForestMushroom, 2, .@n$+"::OnError", Size_Medium, 2;
// Heal them because you should not be fighting (yet).
@@ -132,6 +140,11 @@ OnW03:
// Assassin, HoodedNinja, HoodedAssassin (boss)
// Mouboo, ForestMushroom, Fluffy, Sagratha (boss)
OnSagrathaDie:
+ .@n$=instance_npcname(.name$);
+ maptimer('MAPID, 70, .@n$+"::OnSagrathaReallyDie");
+ end;
+
+OnSagrathaReallyDie:
.@m$=getmap();
.@n$=instance_npcname(.name$);
@@ -147,6 +160,11 @@ OnSagrathaDie:
end;
OnSagrathaWin:
+ .@n$=instance_npcname(.name$);
+ maptimer('MAPID, 70, .@n$+"::OnSagrathaReallyWin");
+ end;
+
+OnSagrathaReallyWin:
.@m$=getmap();
.@n$=instance_npcname(.name$);