View Single Post
royalfa
Member
 
Join Date: Feb 2011
Posts: 37

Old January 10th, 2012, 04:30 AM
Finally I can choose the origin skills, but not in the way I think at first.

Instead I add 2 "thing" in thing_race:

Quote:
<thing id="OrSkill1" name="Origin Skill" description="Origin Skill." compset="RaceFeat">
<fieldval field="usrCandid1" value="component.Skill"/>
<tag group="Hide" tag="Special"/>
<eval phase="Traits" priority="10000"><![CDATA[
~add origin skills
if (hero.child[resOrSkill].field[resSpent].value > 0) then
perform forward[OrSkill.?]

~adjust the resource appropriately
hero.child[resOrSkill].field[resSpent].value += field[trtUser].value
endif
]]></eval>
</thing>
<thing id="OrSkill2" name="Origin Skill" description="Origin Skill." compset="RaceFeat">
<fieldval field="usrCandid1" value="component.Skill"/>
<tag group="Hide" tag="Special"/>
<eval phase="Traits" priority="10000"><![CDATA[
~add origin skills
if (hero.child[resOrSkill].field[resSpent].value > 0) then
perform forward[OrSkill.?]

~adjust the resource appropriately
hero.child[resOrSkill].field[resSpent].value += field[trtUser].value
endif
]]></eval>
</thing>
I check it and works fine. (Well I can select the same skill twice but I will correct this later)

But the hero has now the 2 selected skills as Origin Skills:
OrSkill1 and OrSkill2

I check all the tags the hero has and he has all tag skill auto...
As I said before the only skills that the hero can spend ranks are the origin and the class skills, moreover I only want the tab skill and the sheet shows the skills with ranks (some skills are linked to other skill and can have ranks besides not an origin/class skill).

How I do that?? lol.

Good day.
royalfa is offline   #3 Reply With Quote