I tried making some Madness Conditions, but I think the Phase and Priority are wrong.
The effects seem to show up even if the Condition is check or not checked. Here is the script.
foreach pick in hero from BaseSkill
if (eachpick.islinkage[skillattr] = 0) then
~ do nothing
elseif (eachpick.linkage[skillattr].tagis[thingid.aCHA] + eachpick.linkage[skillattr].tagis[thingid.aDEX] + eachpick.linkage[skillattr].tagis[thingid.aCON] <> 0) then
eachpick.field[Penalty].value -= 2
endif
nexteach
The effects seem to show up even if the Condition is check or not checked. Here is the script.
foreach pick in hero from BaseSkill
if (eachpick.islinkage[skillattr] = 0) then
~ do nothing
elseif (eachpick.linkage[skillattr].tagis[thingid.aCHA] + eachpick.linkage[skillattr].tagis[thingid.aDEX] + eachpick.linkage[skillattr].tagis[thingid.aCON] <> 0) then
eachpick.field[Penalty].value -= 2
endif
nexteach