• 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

Coding query

Greylin

Well-known member
I fixed the below by adjusting Phase to Pre-Level and Priority to 10000. Leaving up in case of use to others.

HOWEVER, this raises another problem: the attack bonuses add correctly in the Weapon Tab but this bonus does not add in the Weapon Summary Panel. This also happens with the SRD Halfling racial bonus (+1 sling, thrown weapons) which adds correctly in Weapon Tab but not in Weapon Summary Panel.

Suggestions or ideas welcome!

--original post--

I have coded a class ability that gives a +1 to bows for clerics of the archery god in our campaign. My coding ability is limited to copying and amending existing abilities, so I copied the Halfling sling and thrown weapon race ability.

The problem I have is that the bonus from this class ability is overlapping with magic bow bonuses (instead of stacking, as I intend).

I have this set up in the Eval Scripts in Class, Class Special in our .user file. Can anybody suggest how I should amend so it stacks instead of overlaps with magic weapon enhancement bonus?

--snip--
~find all our bows and add +1 to hit

foreach pick in hero from BaseWep where "IsWeapon.wShortbow | IsWeapon.wCompShort | IsWeapon.wLongbow | IsWeapon.wCompLong"
eachpick.field[wAttRanged].value += 1
nexteach
 
Last edited:
the attack bonuses add correctly in the Weapon Tab but this bonus does not add in the Weapon Summary Panel. This also happens with the SRD Halfling racial bonus (+1 sling, thrown weapons) which adds correctly in Weapon Tab but not in Weapon Summary Panel.
I will add this to the to-do list to take a look at.
 
Back
Top