• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Enhancement to Speed Workaround

I have figured out how to get the enhancement bonus to speed working correctly. This is a workaround until LW gets a fix into place. It requires two different scripts. I've done it in 10 ft. increments, easy to modify.

Code:
<<Pre-Levels (Users) 5000>>
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)

var enh as number
enh = 10 * field[pAdjust].value
#enhancementbonus[hero.child[Speed], enh]
hero.child[Speed].field[tSpeed].value += enh

Code:
<<Final Phase (Users) 10001>>
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)

~ Fix our speed to the actual enhancement values (HL workaround).
hero.child[Speed].field[tSpeedMod].value -= hero.child[Speed].field[BonEnhance].value
 
Last edited:
The enhancement bonus to speed is being added to the modified speed rather than the base speed of the hero. I have a bug report in that thread about this.

In other words, the enhancement bonus is being added to the hero after the armor and encumbrance is determined, so a +30 ft. to movement adds +30 ft. flat. Enhancement bonuses should add to speed before the determination of armor and encumbrance, and it isn't.

So a human with a 30 ft. movement and wearing platemail is normally moving 20 ft.

With expeditious retreat (+30 ft. enhancement) he is moving 50 ft.

According to the SRD, this should, in fact be, 40 ft. (base 30, +30 enhancement, then modified from 60 to 40 for the armor).
 
Back
Top