Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Shadowrun (http://forums.wolflair.com/forumdisplay.php?f=75)
-   -   Adding Dragons (http://forums.wolflair.com/showthread.php?t=22109)

Kesendeja August 9th, 2012 09:24 AM

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?

Mathias August 9th, 2012 09:28 AM

Find the +

See anything next to that that might be the amount to add?

Mathias August 9th, 2012 09:29 AM

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.

Kesendeja August 9th, 2012 09:30 AM

~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""]

Kesendeja August 9th, 2012 09:31 AM

Traits and 7000

Mathias August 9th, 2012 09:36 AM

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).

Kesendeja August 9th, 2012 09:38 AM

So is it [+1""] or [+,1""]

Mathias August 9th, 2012 09:41 AM

[+,1,""] - three different entries, each separated by a comma.

Kesendeja August 9th, 2012 09:42 AM

Giving me a "(line 449) - Thing - Invalid unique id error when I go to test it for use.

Mathias August 9th, 2012 09:44 AM

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.


All times are GMT -8. The time now is 04:34 AM.

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