• 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

Critical Focus

Stormcrow

Member
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?
 
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:
Back
Top