diff options
-rw-r--r-- | npc/018-4-2/susanne.txt | 5 |
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; |