Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Stormcrow
Junior Member
 
Join Date: Mar 2012
Posts: 18

Old June 25th, 2015, 05:42 AM
Critical Focus (Ex) : When using a weapon for which he has the Weapon Focus feat, a Hida defender increases the critical multiplier of the weapon by 1. If he has Weapon Focus with more than one weapon, he must choose a single weapon for his critical focus.Thus, the critical multiplier for a weapon with an x2 modifier would increase to x3, while a weapon with an x3 increases to x4, and weapons with an x4 getting no increase. The threat range for the weapon does not change, though the defender can still choose the Improved Critical feat with the same weapon if he meets the prerequisites.

How would I get this to work in HL as it is worded currently?
Stormcrow is offline   #1 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old June 26th, 2015, 06:03 AM
This is when you get to play with some of the fun features, like tagvalue and assignstr.


Here's some code that should work for you. I've done only minimal testing, so be sure to play with it a bit. Just make sure you run it after Pre-Levels/5000. That's when the Broadcast.WepFocus tag gets assigned to the weapon.

Code:
foreach pick in hero from BaseWep where "Broadcast.WepFocus"
 var crit as number
 var mult as string
 crit = eachpick.tagvalue[wCritMult.?]
 crit = minimum(crit+1,4)
 mult = "wCritMult." & crit 

 perform eachpick.delete[wCritMult.?]
 perform eachpick.assignstr[mult]
nexteach

Last edited by Sendric; June 26th, 2015 at 06:06 AM.
Sendric is offline   #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 01:55 PM.


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