summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/pre-re/item_db.conf9
-rw-r--r--npc/scripts.conf1
2 files changed, 6 insertions, 4 deletions
diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf
index 1bb0bee0..9d6a7d1e 100644
--- a/db/pre-re/item_db.conf
+++ b/db/pre-re/item_db.conf
@@ -498,11 +498,12 @@ item_db: (
Refine: false
ViewSprite: 1
Subtype: "W_1HSWORD"
+ OnEquipScript: <"
+ callfunc "NoBowItem", EQI_HAND_R;
+ if (readparam(bInt) > 1)
+ unequip(EQI_HAND_R);
+ ">
Script: <"
- callfunc "NoBowItem";
- set @bStat, Int;
- set @maxbStatVal, 1;
- callfunc "RequireMaxStat";
bonus bDoubleAddRate, 50;
bonus bSpeedAddRate, 10;
bonus bHit, -20;
diff --git a/npc/scripts.conf b/npc/scripts.conf
index a6a19493..6bd0a5ed 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -65,6 +65,7 @@
"npc/items/shock_sweet.txt",
"npc/items/unreleased_item.txt",
"npc/items/brawling_item.txt",
+"npc/items/nobow_item.txt",
"npc/items/require_stat.txt",
"npc/items/warpTowels.txt",
"npc/items/mirror.txt",