summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/magic/final.txt16
1 files changed, 15 insertions, 1 deletions
diff --git a/npc/magic/final.txt b/npc/magic/final.txt
index 532605c4..e1bd7e7b 100644
--- a/npc/magic/final.txt
+++ b/npc/magic/final.txt
@@ -458,8 +458,22 @@ function script HUB_PCBonus {
if (FOCUSING & FSKILL_SPEED) {
bonus bAspd, 5*getskilllv(SKILL_SPEED);
}
+ if (FOCUSING & SKILL_RESIST_POISON) {
+ .@l=5*getskilllv(SKILL_RESIST_POISON);
+ bonus2(bResEff, Eff_Silence, .@l);
+ bonus2(bResEff, Eff_Poison, .@l);
+ bonus2(bResEff, Eff_Curse, .@l);
+ bonus2(bResEff, Eff_Blind, .@l);
+ }
+ if (FOCUSING & SKILL_BRAWLING) {
+ if (!getequipid(EQI_HAND_R)) {
+ bonus bAtk, 25*getskilllv(SKILL_BRAWLING);
+ } else if (getiteminfo(
+ getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE) == W_FIST) {
+ bonus bAtk, 25*getskilllv(SKILL_BRAWLING);
+ }
+ }
// MALLARD EYE handled by C code
- // SKILL_BRAWLING SKILL_RESIST_POISON
return;
}