Member
Join Date: Jun 2007
Location: United Kingdom
Posts: 80
|
My next task is to add the derived trait "Silver" (trSilver) which represents a weekly salary and determines starting funds - the trait is the funds in silver pieces which are worth 8 copper or 1/8 gold. I know this means I need to change the script for funds to trSilver.[final]/8 but I'm having trouble working out how to calculate funds which Silver is derived from (trSilver = trFunds * 30).
The issue is I need to add all skills with a linked attribute of skTrading to the value of skTrading and if more than 8D (total of 24) give trFunds a +1. What's the best way to get the totals - would a for each statement be right? At the moment I just have an if statement comparing skTrading > 24 because the others don't exsist yet but I'm going to need to add a currency trading skill and a "write skill specialisation here" (non-unique) at minimum |
#11 |
|
|