Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Shadowrun

Notices

Reply
 
Thread Tools Display Modes
DrunkZombie
Senior Member
 
Join Date: Aug 2011
Posts: 224

Old August 13th, 2011, 06:03 PM
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
else
skillwire = 2 * field[grRating].value
endif
~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 ,""]

Last edited by DrunkZombie; August 13th, 2011 at 08:06 PM.
DrunkZombie is offline   #1 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:15 PM.


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