diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-08-17 14:16:56 +0200 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2025-08-17 14:16:56 +0200 |
commit | d30e22379bab6b42290a32a280876828286fccbf (patch) | |
tree | 4522d959e0f5e02a9ec2b8327c94f91dc9cf9a92 /npc/functions/hub.txt | |
parent | 0269be0102bd86be4d1d6b1944b0f0e73a0ed285 (diff) | |
download | serverdata-fix_explosive_arrow_bonus_on_non_bow.tar.gz serverdata-fix_explosive_arrow_bonus_on_non_bow.tar.bz2 serverdata-fix_explosive_arrow_bonus_on_non_bow.tar.xz serverdata-fix_explosive_arrow_bonus_on_non_bow.zip |
Fix (properly) explosive arrow AoE bonus on non-bow weaponsfix_explosive_arrow_bonus_on_non_bow
Reverts 96567811 and b36c5430
Testing with quivers (that have this same code) shows that their
bonus stops applying as soon as player switches to non-bow weapon
(equip bow, equip earrow, equip wooden sword).
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r-- | npc/functions/hub.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 90273b360..71b9a85a7 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -1528,11 +1528,6 @@ function script HUB_PCBonus { bonus bAddMaxWeight, REBIRTH*50; // Max 250g } - // Double hack fix - if (isequipped(ExplosiveArrow)) { - if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE) != W_BOW) - bonus bSplashRange, 2; - } return; } |