![]() |
Member
Join Date: Aug 2009
Posts: 86
|
Improved Reflexes
~if we're disabled, just get out now doneif (activated = 0) ~add our rating to Reaction perform hero.child[attrRea].field[trtMagic].modify[+,field[trtFinal].value,""] ~add our rating to Initiative Passes perform hero.child[attrPass].field[trtMagic].modify[+,field[trtFinal].value,""] How would I get it to be a one level only ability? |
![]() |
![]() |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,139
|
Find the +
See anything next to that that might be the amount to add? |
![]() |
![]() |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,139
|
Oh, and I notice you didn't note the phase & priority of the script you're copying - that's a good habit to get into when posting scripts that you want help diagnosing, in case the problem is actually a timing issue, not the script itself.
|
![]() |
![]() |
Member
Join Date: Aug 2009
Posts: 86
|
~if we're disabled, just get out now
doneif (activated = 0) ~add our rating to Reaction perform hero.child[attrRea].field[trtMagic].modify[+,1"] ~add our rating to Initiative Passes perform hero.child[attrPass].field[trtMagic].modify[+,1""] |
![]() |
![]() |
Member
Join Date: Aug 2009
Posts: 86
|
Traits and 7000
|
![]() |
![]() |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,139
|
Does that script work for your race?
(Don't forget that the adept power you're copying adds to both IP and Reaction - you only want IP). |
![]() |
![]() |
Member
Join Date: Aug 2009
Posts: 86
|
So is it [+1""] or [+,1""]
|
![]() |
![]() |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,139
|
[+,1,""] - three different entries, each separated by a comma.
|
![]() |
![]() |
Member
Join Date: Aug 2009
Posts: 86
|
Giving me a "(line 449) - Thing - Invalid unique id error when I go to test it for use.
|
![]() |
![]() |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,139
|
The first is +, -, *, or / - what operation you want to perform.
The second is the amount to add, subtract, multiply by, or divide by. The third is what to label this operation as coming from, when the user moves their mouse over that attribute - in this case, it's using two quotation marks, which means to just use the name of whatever's running this script. |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|