At a loss, please help
Hi all, long time no talk!
I am making a custom archetype and one of the abilities has an activatable ability that raises his Con for a time. I figured out the ability but I can't get it to be only active when activated, for the life of me I can't remember how please help here is my code Pre-attr/10000 ~ If we're not shown, just get out now doneif (tagis[Helper.ShowSpec] <> 1) ~ if we've been disabled, get out now doneif (tagis[Helper.SpcDisable] <> 0) hero.child[aCON].field[aNormMod].value += 2 What am I doing wrong? |
Is that code directly on the archetype or on a class/racial special?
From the looks of it that will just increase your mod all the time. You need to add: if (field[abilActive].value <> 0) then hero.child[aCON].field[aNormMod].value += 2 endif Also, I think your doneif for showSpec is incorrect, shouldnt it be <> 0 not <> 1? |
ok I'll check that out thanks
|
code is on the special
|
Quote:
|
Thanks guys
|
All times are GMT -8. The time now is 08:30 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.