summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/magic/final.txt6
-rw-r--r--npc/scripts.conf2
2 files changed, 8 insertions, 0 deletions
diff --git a/npc/magic/final.txt b/npc/magic/final.txt
index 30dce5e9..9000c3f3 100644
--- a/npc/magic/final.txt
+++ b/npc/magic/final.txt
@@ -254,6 +254,12 @@ function script HUB_PCBonus {
bonus bAtkRange, (2+getskilllv(SKILL_MALLARDS_EYE))/3;
bonus bHit, 5*getskilllv(SKILL_MALLARDS_EYE);
}
+
+ /* Class A Equipment */
+ if (getequipid(EQI_HAND_R) > 1) {
+ if (isequipped(BullHelmet))
+ bonus bAtkRange, 1-getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_RANGE);
+ }
return;
}
diff --git a/npc/scripts.conf b/npc/scripts.conf
index df258287..a6a19493 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -54,6 +54,8 @@
"npc/functions/location.txt",
"npc/functions/weather.txt",
"npc/functions/marriage.txt",
+"npc/functions/npcmovegraph.txt",
+"npc/functions/npcmove.txt",
// Items
"npc/items/purification_potion.txt",