diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-01-19 19:17:12 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-01-19 19:17:12 -0300 |
commit | b36c5430f33d3c10bfc1b63a877146cd78fd0e7e (patch) | |
tree | 7668555ab6bac13f5cedd05ef88b5c6853c23e9b | |
parent | 9656781186f960f825003a3d6d4f4effde901d45 (diff) | |
download | serverdata-b36c5430f33d3c10bfc1b63a877146cd78fd0e7e.tar.gz serverdata-b36c5430f33d3c10bfc1b63a877146cd78fd0e7e.tar.bz2 serverdata-b36c5430f33d3c10bfc1b63a877146cd78fd0e7e.tar.xz serverdata-b36c5430f33d3c10bfc1b63a877146cd78fd0e7e.zip |
I don't know if Explosive Arrow works, so try to apply its effect twice.
Harmless, as the code is evaluated way too often.
-rw-r--r-- | npc/functions/hub.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 54fd2d2da..f8334cdc5 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -1350,6 +1350,11 @@ function script HUB_PCBonus { if (getq(HalinarzoQuest_Speed) > 1) bonus bSpeedAddRate, min(getq(HalinarzoQuest_Speed)-1, 10); + // Double hack fix + if (isequipped(ExplosiveArrow)) { + if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE) != W_BOW) + bonus bSplashRange, 2; + } return; } |