Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Shadowrun (http://forums.wolflair.com/forumdisplay.php?f=75)
-   -   Final Script for Move by Wire (http://forums.wolflair.com/showthread.php?t=13735)

DrunkZombie August 13th, 2011 06:03 PM

Final Script for Move by Wire
Here is the final scripting for Move by Wire

Phase: Traits Priority: 5000

Timing After Calc grRating, Before Calc trtFinal #2

~only proceed if we're not disabled
doneif (activated = 0)

~+Rating to REA and Initiative Passes
perform #traitaugment[attrRea,+,field[grRating].value*2,""]
perform #traitaugment[attrPass,+,field[grRating].value,""]

perform hero.childfound[skaDodge].field[trtAugment].modify[+,field[grRating].value,""]

var skillwire as number
if (field[grRating].value = 3) then
skillwire = 5
skillwire = 2 * field[grRating].value
~record 2x rating on the hero's activesoft limit
perform herofield[acActSLim].modify[+,2 * skillwire,""]
~and the rating as the max for any one activesoft
perform herofield[acActSMax].modify[+, skillwire ,""]

All times are GMT -8. The time now is 11:17 AM.

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