ENDLESS™ Legend

ENDLESS™ Legend

Explore all the secrets of Auriga
Discover the world of modding in Endless Legend. You only need to download an element available in this workshop (map, gameplay addition...). Until you are ready to upload your own creation!
Thorn 12 Jun, 2017 @ 2:06am
Max - Min Formula
Hey!, it has been a long time since I've moded Endless Legend and I have forgoten some things..

Could someone remember my how the Max Min Formula works?

InterpreterFormula="(0-1) max ( 1 min (2 - ((2 * $Link(Initiator|Property|ClassUnit:AttributeDefense)) / $Property(ClassUnit:AttributeAttack))))"

Maybe I'm wrong, but I think that rule gives us max between 1 and Min formula, but what does the starting (0-1) mean?