Thread: Abilities
View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old April 23rd, 2011, 10:31 AM
See how you have traitcost = 4 in your script?

How about storing that in a field whose value you can define in thing_attributes.dat and thing_traits.dat?

Add this to the traits component in traits.str:
Code:
 
<field
  id="trtCPCost
  name="CP Cost Multiplier"
  type="derived">
  </field>
replace this in your script:
Code:
 
traitcost = 4
with this:
Code:
 
traitcost = field[trtCPCost].value
and in each attribute and derived trait:
Code:
 
<fieldval field="trtCPCost" value="4"/>
but on the void one, instead set it equal to 6.

Last edited by Mathias; April 23rd, 2011 at 10:35 AM.
Mathias is offline   #2 Reply With Quote