summaryrefslogtreecommitdiff
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
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.
-rw-r--r--db/re/item_db.conf15
-rw-r--r--npc/017-4/pihro.txt6
2 files changed, 20 insertions, 1 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 8c26e42bf..1ad545992 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -14281,6 +14281,21 @@ item_db: (
bonus bAtkEle,Ele_Holy;
">
},
+{
+ Id: 6512
+ AegisName: "EvilBullet"
+ Name: "Evil Bullet"
+ Type: "IT_AMMO"
+ Buy: 12
+ Sell: 2
+ Weight: 1
+ Atk: 10
+ Loc: "EQP_AMMO"
+ Subtype: "A_BULLET"
+ Script: <"
+ bonus bAtkEle,Ele_Shadow;
+ ">
+},
// <!-- Magical Weapons -->
{
Id: 7000
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;
}