summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2016-01-06 00:30:44 +0800
committerJedzkie <jedzkie13@rocketmail.com>2016-01-06 00:30:44 +0800
commitf8bd660a8958da4fbf27fed954bde62eae28d0de (patch)
tree97f90e25a5d99f78bf098e79b1ab3c5f091fe818
parent82d9b7bfb285fcf0b3d8e2571fc4092731eb53de (diff)
downloadhercules-f8bd660a8958da4fbf27fed954bde62eae28d0de.tar.gz
hercules-f8bd660a8958da4fbf27fed954bde62eae28d0de.tar.bz2
hercules-f8bd660a8958da4fbf27fed954bde62eae28d0de.tar.xz
hercules-f8bd660a8958da4fbf27fed954bde62eae28d0de.zip
Fix Necromancer Card effect, should now work w/ One-Hand and Two-Hand Staffs.
Thanks to @Playtester.
-rw-r--r--db/pre-re/item_db.conf3
-rw-r--r--db/re/item_db.conf3
2 files changed, 4 insertions, 2 deletions
diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf
index 9d091cdc3..e2f82d34a 100644
--- a/db/pre-re/item_db.conf
+++ b/db/pre-re/item_db.conf
@@ -30550,7 +30550,8 @@ item_db: (
Weight: 10
Loc: 2
Script: <"
- if(getiteminfo(getequipid(EQI_HAND_R),11)==10) {
+ .@i = getiteminfo(getequipid(EQI_HAND_R),11);
+ if (.@i == 10 || .@i == 23) {
bonus bInt,1;
bonus bIgnoreMdefRate,2;
}
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index b9a70f3a4..365d22674 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -39064,7 +39064,8 @@ item_db: (
Weight: 10
Loc: 2
Script: <"
- if(getiteminfo(getequipid(EQI_HAND_R),11)==10) {
+ .@i = getiteminfo(getequipid(EQI_HAND_R),11);
+ if (.@i == 10 || .@i == 23) {
bonus bInt,1;
bonus bIgnoreMdefRate,2;
}