Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
DeltaMasterMind
Senior Member
 
Join Date: Jul 2014
Posts: 412

Old December 28th, 2016, 07:09 AM
Quote:
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.
DeltaMasterMind is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old December 28th, 2016, 08:07 AM
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.
Mathias is online now   #2 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:24 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.