• 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

Check highest ability score

Illyahr

Well-known member
So the ability One with All and Nothing for the Shiba Protector (OA) has its hTotal field = highest attribute modifier. How would I tell the system to check for this?
 
So the ability One with All and Nothing for the Shiba Protector (OA) has its hTotal field = highest attribute modifier. How would I tell the system to check for this?

Hmm....that's not something I've had to tackle before. I suppose I would just do a series of maximum scripts, as such:

Code:
var max as number
max = maximum(hero.child[aSTR].field[aModBonus].value,hero.child[aDEX].field[aModBonus].value]
max = maximum(max,hero.child[aCON].field[aModBonus].value]
etc...
 
Back
Top