• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

size values

Mjolnirh

Active member
these lines work just fine

perform hero.findchild[BaseRace].tagreplace[RaceSize.?,RaceSize.Medium0]
perform hero.findchild[BaseRace].tagreplace[RaceSize.?,RaceSize.Large1]
perform hero.findchild[BaseRace].tagreplace[RaceSize.?,RaceSize.Huge2]

however

perform hero.findchild[BaseRace].tagreplace[RaceSize.?,RaceSize.Small-1]

does not work. i'm guessing its because it sees the - as an operator

and how would i change the hit points from lets say 35 (any value) to 5

i have tried herofield[tHP].value =5, but that does not seem to work
 
Last edited:
ok found it!!

perform hero.findchild[BaseRace].tagreplace[RaceSize.?,RaceSize.Small11]
perform hero.findchild[BaseRace].tagreplace[RaceSize.?,RaceSize.Tiny12]

still struggling with the Hit point thing though

this is for adding druid shapes as activated abilities. I got everything to change except the hp points, so essentially it works
 
hmmm neither of those worked, however :)

I was inspired

I came up with this

var minuses as number
minuses = herofield[tHP].value - 5

herofield[tHP].value -= minuses

applied to final phase and it changed the current hit points to 5, which works for my purposes

if your a mastiff you take 5 HP you revert back to your original form w00t
 
before%20change.PNG


after%20change.PNG
 
Back
Top