Mathias,
I'm trying to build the component for the Primarch's Curse. Basically I want the system to hide the curses unless the character's insanity trait is high enough to bring it into play. For the curse the first level comes into play when insanity is within the 31-60 point range, and the second level from 61-90, the final level kicks in at 91+ Insanity points.
Any assistance would be appreciated on this.
I'm trying to build the component for the Primarch's Curse. Basically I want the system to hide the curses unless the character's insanity trait is high enough to bring it into play. For the curse the first level comes into play when insanity is within the 31-60 point range, and the second level from 61-90, the final level kicks in at 91+ Insanity points.
Any assistance would be appreciated on this.
Code:
<!-- Primarch's Curse component
Every primarch's curse dervives from this component
-->
<component
id="Primarch"
name="Primarch's Curse"
autocompset="no">
<tag group="SpecialTab" tag="Primarch"/>
<eval index="1" phase="Final" priority="15000"><![CDATA[
if (tagis[ReqPrimCur.?] <> 0 then
if (intersect[ReqPrimCur,PrimCurse] = 0) then
perform assign[Hide.Primarch]
perform assign[Hide.Special]
endif
endif
]]></eval>
</component>