(01.07.2014 21:50)Valery Wrote: Hmm, I started my first maths with erm, so this %4 reminder I don't get it. Can someone explain me this super complex euclidean algorithm?
ERM Help Wrote:%# Set the variable to the reminder from division by #
Algorithm is very simple:
1. FU creates a sequence 109,110,111,113,109,110,111,113,... and add equal artifact to 0,1,2,3,4,5th... hero.
2. "!!VRy1:S0 R3; [random shift for fist hero]" set random shift (0..3) for this sequence.
BattleHeroes Rus/Eng | ERA scripts (+ReMagic) Rus/Eng