View Single Post
basselope
Junior Member
 
Join Date: Sep 2011
Posts: 23

Old December 18th, 2017, 06:49 AM
I also found code for Costly Attribute and Very Costly Attribute as Racial Properties and was wondering if anyone might know how I could tweak them to work for doubling the cost of the skill.

Costly Attribute is:
Pre-Traits/5000
Code:
perform #resspent[resAttrib,+,(linkage[Attribute].field[trtUser].value - 3) + linkage[Attribute].field[trtCost].value,linkage[Attribute].field[name].text]
Very Costly Attribute is:
Pre-Traits/5000
Code:
linkage[Attribute].field[trtCost].value += 1
I tried tweaking it to the following but it would not accept it:
Code:
linkage[Skill.skMyCustomSkill].field[trtCost].value += 1
Then I tried using just Skill and just skMyCustomSkill and neither one worked. Skill looked like it would work, but I need to define the linkage somehow, but I'm not sure how to do that. Does it need another script or can I somehow tell it to be self referencing?
basselope is offline   #3 Reply With Quote