summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-07 16:44:48 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-07 16:44:48 -0300
commit650a72791799801a13489a41f8071d239be35406 (patch)
treee9d97ba9c11f008dd17de343bcea21bec589e67a /npc
parent75e27c89178f0dbde794b3b81732a5547a2cf0b3 (diff)
downloadserverdata-650a72791799801a13489a41f8071d239be35406.tar.gz
serverdata-650a72791799801a13489a41f8071d239be35406.tar.bz2
serverdata-650a72791799801a13489a41f8071d239be35406.tar.xz
serverdata-650a72791799801a13489a41f8071d239be35406.zip
Pihro: Fix broken check. Allows to craft Evil Bullets.
Diffstat (limited to 'npc')
-rw-r--r--npc/017-4/pihro.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/017-4/pihro.txt b/npc/017-4/pihro.txt
index 1f78fdd36..344bb8bc8 100644
--- a/npc/017-4/pihro.txt
+++ b/npc/017-4/pihro.txt
@@ -48,7 +48,7 @@
cond_check(.@base2, .@amon2) &&
cond_check(.@base3, .@amon3) &&
Zeny >= .@price) {
- inventoryplace .@prize, 220;
+ inventoryplace .@prize, 320;
delitem .@base1, .@amon1;
if (.@base2 > 0)
delitem .@base2, .@amon2;
@@ -78,6 +78,7 @@ L_Craft:
l("Nothing, sorry."),
l("Normal Bullet"),
l("Sacred Bullet"),
+ l("Evil Bullet"),
l("Explosive ARROW");
switch (@menu) {
@@ -89,6 +90,9 @@ L_Craft:
craft_ammo(SacredBullet, 200, 1, WhiteFur, 5);
goto L_Craft;
case 4:
+ craft_ammo(EvilBullet, 200, 1, Bone, 1);
+ goto L_Craft;
+ case 5:
craft_ammo(ExplosiveArrow, 300, 1, SulfurPowder, 5, WoodenLog, 3);
goto L_Craft;
}