summaryrefslogtreecommitdiff
path: root/db/re
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-31 16:05:31 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-31 16:05:31 -0300
commit3590fc52bb0a47b5e61f0ce2a095a35efc66c03d (patch)
tree3b9c89377b17b559109c42d763d262e9e1ec517d /db/re
parentf376c90cf010394888d4ca05b259bf8a9aa14a83 (diff)
downloadserverdata-3590fc52bb0a47b5e61f0ce2a095a35efc66c03d.tar.gz
serverdata-3590fc52bb0a47b5e61f0ce2a095a35efc66c03d.tar.bz2
serverdata-3590fc52bb0a47b5e61f0ce2a095a35efc66c03d.tar.xz
serverdata-3590fc52bb0a47b5e61f0ce2a095a35efc66c03d.zip
Attack range penalty now only applies to bows
This is wrong, two hard swords should also be penalized
Diffstat (limited to 'db/re')
-rw-r--r--db/re/item_db.conf6
1 files 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;