Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Savage Worlds
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
adimar
Junior Member
 
Join Date: Dec 2017
Posts: 7

Old November 25th, 2018, 04:28 PM
In savage worlds raising a skill costs 1pt per bump unless skill is raised beyond attribute and then it costs 2 pts per bump.

My problem is when I try to raise the skill by using the ui It treats the bonus as the last thing added and not the first


<eval phase="PreTraits" priority="5000"><![CDATA[

perform hero.assign[CSMOS.Infantry]
var skill as number
var attrib as number
var adjust as number
var adjust1 as number
var adjust2 as number

attrib = hero.child[attrAgi].field[trtUser].value
skill = hero.child[skShooting].field[trtUser].value


adjust=3
~figure which part of the adjust is below attribute level (costs 1pt)
adjust1 = attrib - skill
~the rest is half as effective (costs 2 pts)
adjust2 = (adjust - adjust1)/2
adjust2 = round(adjust2,0,-1)

perform #traitadjust[skShooting,+,adjust1+adjust2,"Infantryman M.O.S."]

]]></eval>
adimar is offline   #1 Reply With Quote
 


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 03:04 AM.


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