Lone Wolf Development Forums  

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

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old July 11th, 2020, 07:02 AM
Quote:
Originally Posted by Illyahr View Post
Unfortunately, it only works for the selected type of weapon. If you had two of them with weapon focus, only one would get the critical bonus.
Good point. Let's try this then:

Code:
~ Assign the appropriate tag to all weapons that meet the criteria
  foreach pick in hero where "WepFocus.? & (thingid.wBattleaxe | thingid.wWarhammer | thingid.wGreatclub)"
        perform eachpick.delete[wCritMult.?]
    if (eachpick.tagis[thingid.wGreatclub] <> 0) then
        perform eachpick.assign[wCritMult.3]
    endif
    if (eachpick.tagis[thingid.wBattleaxe] + eachpick.tagis[thingid.wWarhammer] <> 0) then
        perform eachpick.assign[wCritMult.4]
    endif
  nexteach
PS Just tested this. Seems to work.

Last edited by Sendric; July 11th, 2020 at 08:15 AM.
Sendric is offline   #11 Reply With Quote
 


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 05:16 AM.


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