Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
CNYGamer
Member
 
Join Date: Aug 2009
Location: Finger Lakes Region, New York
Posts: 59

Old May 15th, 2016, 09:45 AM
I'm trying to implement the wereraven from Curse of Strahd. I have a beak attack set up as a natural weapon. Depending on which form the wereraven is in, it may get its Dexterity bonus to damage on the beak attack.

So basically, in the wereraven's shapechanger racial special, I have the following script:

Code:
if (field[abilActive].value <> 0) then
   perform assign[Helper.ChgDisab2]
endif
if (field[abilAct2].value <> 0) then
   perform assign[Helper.ChgDisab1]
endif
This is ensuring that only one shapechange form can be selected at a time. abilActive is the hybrid form and abilAct2 is the raven form.

The beak natural weapon is wBeak. The tag on wBeak that I want to change is DamageOver. If in the hybrid form, DamageOver should be set to aDEX. If in the raven form, it's value should be cleared out completely.

In pseudocode, I'm trying to basically do the following (pseudocode in red):

Code:
if (field[abilActive].value <> 0) then
   <Set the value of wBeak.DamageOver to aDEX>
   perform assign[Helper.ChgDisab2]
endif
if (field[abilAct2].value <> 0) then
   <Clear out the value of wBeak.DamageOver>
   perform assign[Helper.ChgDisab1]
endif
I haven't really gotten the hang of getting at the various data structures in Hero Lab. Would anyone be able to show me the real code I need in place of the pseudocode above?

Thanks!
CNYGamer
CNYGamer 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 08:28 PM.


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