• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Phase and Priority Help

Frodie

Well-known member
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
 
Their is nothing their telling the script to look for a Check mark or not. Add the following to the very top of your script

Code:
~if we're not active, just get out now
doneif (field[pIsOn].value = 0)
 
Back
Top