From 3590fc52bb0a47b5e61f0ce2a095a35efc66c03d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 31 Aug 2019 16:05:31 -0300 Subject: Attack range penalty now only applies to bows This is wrong, two hard swords should also be penalized --- db/re/item_db.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 8faf6c255..b1094d105 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -3451,7 +3451,8 @@ item_db: ( Script: <" bonus bNoRegen,1; bonus bNoRegen,2; - bonus bAtkRange,-1; + if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE) == W_BOW) + bonus bAtkRange,-1; bonus bFleeRate,50; bonus bAtkRate,-50; bonus bHitRate,-30; @@ -3493,7 +3494,8 @@ item_db: ( Script: <" bonus bNoRegen,1; bonus bNoRegen,2; - bonus bAtkRange,-1; + if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE) == W_BOW) + bonus bAtkRange,-1; bonus bFleeRate,50; bonus bAtkRate,-50; bonus bHitRate,-30; -- cgit v1.2.3-60-g2f50