• 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

Tag definition confusion

DeltaMasterMind

Well-known member
var crit as number
foreach pick in hero from BaseWep where "wProfReq.Exotic | !wProfReq.Martial | !wProfReq.Simple"
crit = eachpick.tagvalue[wCritMult.?]
crit += 1
perform eachpick.delete[wCritMult.?]
perform eachpick.assignstr["wCritMult." & crit]
nexteach

This script is telling me the wCritMult.1 tag is not defined. Granted it is working just not sure what is happening and would like to get a better understanding.
Plus it is the same between timings pre level 50000 to Final Phase 50000.
 
Add a safety check - if there is no wCritMult tag to begin with, set crit = 2. x2 is the default, so lots of weapons leave that blank.

And there are no weapons in Pathfinder with a x1 crit multiplier, so there's been no need to add the tag.
 
Back
Top