summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-17 17:30:09 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-17 17:30:09 -0300
commit945478833e46a16c3601cee71eec8b4b2afd6325 (patch)
treef21fef0119d06543225d19f07939149f072f907c /npc
parent59180c94e7f5859fc5b5b60d678030d30c1fb7fd (diff)
downloadserverdata-945478833e46a16c3601cee71eec8b4b2afd6325.tar.gz
serverdata-945478833e46a16c3601cee71eec8b4b2afd6325.tar.bz2
serverdata-945478833e46a16c3601cee71eec8b4b2afd6325.tar.xz
serverdata-945478833e46a16c3601cee71eec8b4b2afd6325.zip
Susanne Quest: Difficulty Progression
Diffstat (limited to 'npc')
-rw-r--r--npc/018-4-2/susanne.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/018-4-2/susanne.txt b/npc/018-4-2/susanne.txt
index 2d2678e44..ec4b4e98f 100644
--- a/npc/018-4-2/susanne.txt
+++ b/npc/018-4-2/susanne.txt
@@ -4,6 +4,7 @@
// Jesusalva
// Description:
// Slay the Fafi Dragon quest. Due the OP monster, you better find yourself a good team!
+// {quest status, respawns issued}
018-4-2,31,26,0 script Susanne NPC_FAIRY_A,{
.@q=getq(LoFQuest_Fairy);
@@ -51,7 +52,7 @@ OnKillFafi:
message strcharinfo(0), "You killed the Fafi Dragon.";
.@q=getq(LoFQuest_Fairy);
if (.@q == 1) {
- setq LoFQuest_Fairy, 2;
+ setq LoFQuest_Fairy, 2, 0;
mapannounce "018-4-2", "" +strcharinfo(0)+ " has killed the Fafi Dragon!", 0;
mapannounce "018-4-1", "" +strcharinfo(0)+ " has killed the Fafi Dragon!", 0;
mapannounce "018-4", "" +strcharinfo(0)+ " has killed the Fafi Dragon!", 0;
@@ -119,6 +120,7 @@ L_Check:
mesn;
mesq l("Bring me this and I'll spawn it for you:");
// .@q valid values are 1 (Starter) and 3 (Veteran)
+ .@q=limit(1, getq2(LoFQuest_Fairy), 3);
mesc l("@@/@@ @@", countitem(ShadowHerb), .@q*5, getitemlink(ShadowHerb));
mesc l("@@/@@ @@", countitem(Moss), .@q*4, getitemlink(Moss));
mesc l("@@/@@ @@", countitem(Root), .@q*3, getitemlink(Root));
@@ -155,6 +157,7 @@ L_Spawn:
mesq l("I hear a Fafi Dragon on THIS very island!!");
.respawnTime=gettimetick(2)+(60*90);
monster "018-4", any(64,83,100,123,139), any(64,74,89), strmobinfo(1, FafiDragon), FafiDragon, 1, "Susanne::OnKillFafi";
+ setq2 LoFQuest_Fairy, getq2(LoFQuest_Fairy)+1;
}
close;