Hero Lab 4e

Herolab D&D 4e Development => Herolab 4e Development => Topic started by: MagicSN on December 26, 2012, 12:50:41 PM

Title: Powers with lvl 11/21 specials
Post by: MagicSN on December 26, 2012, 12:50:41 PM
Hi!

I found this out:

if (#level[] >= 11) then
  perform delete[Damage.Weapon1]
  perform assign[Damage.Weapon2]
  endif   

if (#level[] >= 21) then
  perform delete[Damage.Weapon2]
  perform assign[Damage.Weapon3]
  endif   

This only works with powers which specify the damage as "W" not with those which specify the damage as specific dice sizes. Maybe something could be done with the specific dice sizes using the pwDamage field? But I don't know the syntax for this case, perform working on Tags, not on Fields after all.

Maybe you got an idea?
Title: Re: Powers with lvl 11/21 specials
Post by: Cryptoknight on December 26, 2012, 05:49:37 PM
The trick is finding out the name of the field I think.

The field name is pwDamBase

using similar logic I'd assign different strings for the different damage dice sizes.