• 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

Need some script

Stormcrow

Member
I'm creating a new class and one of the class abilities in creases the critical modifier on a weapon that the character has weapon focus on. For example increasing a battleaxe from x3 to x4. Any help with this would be most appreciated.
 
I'm creating a new class and one of the class abilities in creases the critical modifier on a weapon that the character has weapon focus on. For example increasing a battleaxe from x3 to x4. Any help with this would be most appreciated.

The Critical Hit Multiplier is determined via tags. If you go into the editor and look at a weapon you've created, then select a Critical Hit Muliplier, you will see there is a tag associated with it. For instance, the battleaxe has a crit multiplier of 3, so its tag is wCritMult.3. To change it to 4, you would delete the tag and add the new one: wCritMult.4, as such:

Code:
perform hero.childfound[wBattleaxe].delete[wCritMult.3]
perform hero.childfound[wBattleaxe].assign[wCritMult.4]

Note: Currently, there are no tags for crit multipliers above 4. If you need one, you'll have to create a new one.
 
Back
Top