Lone Wolf Development Forums  

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

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Gumbytie
Senior Member
 
Join Date: Jun 2010
Location: Florida
Posts: 235

Old August 26th, 2023, 04:16 AM
Hopefully I ask this clearly. So I have a custom Wizard's Staff as equipment. The damage starts at Str+d4 and increases with each Rank of the wizard. My code for that works just fine:

Traits/5000
Code:
minDam = herofield[acRank].value

if (minDam = 0) then
  damage = "Str + 1d4"
elseif (minDam = 1) then
  damage = "Str + 1d6"
elseif (minDam = 2) then
  damage = "Str + 1d8"
else
  damage = "Str + 1d10"
endif

this.field[wpDamage].text = damage
For the code above to work, no Weapon Die is selected in the editor for this Wizard Staff, it remains blank and the above code replaces damage value.

But it is confusing my players when they look on the weapons list to purchase. The display for damage is blank. The damage displays correctly in HeroLab after purchasing and on character sheet.

Is there some code that ensures the "base damage" displays on the pop-up menu when looking over Hand Weapons to purchase? Not a big deal, just a cosmetic thing and wondering if it possible.
Gumbytie is offline   #1 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 09:19 PM.


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