summaryrefslogtreecommitdiff
path: root/npc/014-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-14 09:16:02 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-14 09:16:02 -0300
commitac0197eed1916855f87e0be94e108e563f343b08 (patch)
tree8838d1c3b791cc5f3d76934a43e8234a7a1efe73 /npc/014-3
parentbdb035187978df6d2057bdc429c3c3570df4104b (diff)
downloadserverdata-ac0197eed1916855f87e0be94e108e563f343b08.tar.gz
serverdata-ac0197eed1916855f87e0be94e108e563f343b08.tar.bz2
serverdata-ac0197eed1916855f87e0be94e108e563f343b08.tar.xz
serverdata-ac0197eed1916855f87e0be94e108e563f343b08.zip
Hinnak's Arc is complete.
Diffstat (limited to 'npc/014-3')
-rw-r--r--npc/014-3/_mobs.txt2
-rw-r--r--npc/014-3/oscar.txt7
2 files changed, 8 insertions, 1 deletions
diff --git a/npc/014-3/_mobs.txt b/npc/014-3/_mobs.txt
index 57e5bba6e..186168771 100644
--- a/npc/014-3/_mobs.txt
+++ b/npc/014-3/_mobs.txt
@@ -4,4 +4,4 @@
014-3,146,131,70,21 monster Forest Mushroom 1060,9,60000,45000
014-3,122,121,90,35 monster Squirrel 1032,26,30000,42000
014-3,62,101,37,32 monster Centaur 1139,4,60000,60000
-014-3,192,94,22,15 monster Pinkie 1132,6,30000,90000
+014-3,192,94,22,15 monster Pinkie 1132,6,30000,90000,Oscar::OnKillPinkie
diff --git a/npc/014-3/oscar.txt b/npc/014-3/oscar.txt
index acfc5b03f..a68f459a7 100644
--- a/npc/014-3/oscar.txt
+++ b/npc/014-3/oscar.txt
@@ -20,6 +20,13 @@ L_Hinnak:
L_Close:
close;
+OnKillPinkie:
+ .@q1=getq(HurnscaldQuest_Farmers);
+ .@q2=getq2(HurnscaldQuest_Farmers);
+ if (.@q1 == 3)
+ setq2 HurnscaldQuest_Farmers, .@q2+1;
+ end;
+
OnInit:
.@npcId = getnpcid(0, .name$);
setunitdata(.@npcId, UDT_HEADTOP, RiceHat);