diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-08-06 14:29:49 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-08-06 14:29:49 -0300 |
commit | a9b4ca539cb3bb12ddc6f1eca09702e6059abe2f (patch) | |
tree | 1edf027b70996766b097a8fdf743824a67131c33 | |
parent | a69cbbf1e27026f930ed5ebc9b83d6b8e65ea346 (diff) | |
download | serverdata-a9b4ca539cb3bb12ddc6f1eca09702e6059abe2f.tar.gz serverdata-a9b4ca539cb3bb12ddc6f1eca09702e6059abe2f.tar.bz2 serverdata-a9b4ca539cb3bb12ddc6f1eca09702e6059abe2f.tar.xz serverdata-a9b4ca539cb3bb12ddc6f1eca09702e6059abe2f.zip |
Fix Beheader NoBow requeriment
close serverdata#73
-rw-r--r-- | db/pre-re/item_db.conf | 9 | ||||
-rw-r--r-- | npc/scripts.conf | 1 |
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", |