Getting at a hero's natural weapon in the editor
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 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 Thanks! CNYGamer |
Okay, so I retract the question. I did some reading on tags this afternoon and I see now that I was conceptualizing them wrong. They aren't things you set various values to, they are things you set on other things. So I solved my issue with the following syntax:
Code:
if (field[abilActive].value <> 0) then |
Nice! Good job!
|
I'm wondering, though, if there is a way to get the Beak attack to disappear from the character sheet altogether if the character is in human form. So something like (pseudocode in red):
Code:
if (field[abilActive].value = 0) then |
Quote:
|
Quote:
|
All times are GMT -8. The time now is 07:20 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.