Community Data files update 2023-04-28
http://hl4e.cryptoknight.org/index.php?action=downloads;sa=view;down=201
http://hl4e.cryptoknight.org/index.php?action=downloads;sa=view;down=201
Welcome to the Herolab 4e user added support site.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
~work out what our damage bonus should be
var bonus as number
if (hero.tagvalue[Level.?] >= 25) then
bonus = (#attrbonus[attrCha] + 6)
elseif (hero.tagvalue[Level.?] >= 15) then
bonus = (#attrbonus[attrCha] + 4)
elseif (hero.tagvalue[Level.?] >= 5) then
bonus = (#attrbonus[attrCha] + 2)
else
bonus = #attrbonus[attrCha]
endif
~Add bonus to class powers
foreach pick in hero from Power where "PowerClass.clsVampire"
perform eachpick.field[pwDamFeat].modify[+,bonus,""]
nexteach
<additem><![CDATA[
~set the color based on whether the proper number of slots are allocated
if (hero.tagis[Hero.Monster] = 0) then
if (field[resLeft].value = 0) then
@text = "{text a0a0a0}"
elseif (field[resLeft].value < 0) then
@text = "{text ff0000}"
endif
endif
@text &= "Add New Ritual"
]]></additem>
</table_dynamic>
</portal>
foreach pick in hero from Attack where "PowerClass.clsWarlord"
if (eachpick.tagis[Attack.attrStr] <> 0) then
perform eachpick.deletestr["DamageAttr.attrStr"]
perform eachpick.deletestr["Attack.attrStr"]
perform eachpick.assignstr["DamageAttr.attrWis"]
perform eachpick.assignstr["Attack.attrWis"]
endif
nexteach
One of the reasons I was bummed out at the announcement of D&D Next is because I figured 4e tools would immediately fall by the wayside, so I'm super happy that you fine people are all still giving it the time of day 
Now I shall shamelessly benefit from it.