# beforeFW $endurdin = { Ken = (musle / 100) * Kus / 100 if ken <= 0:ken = 1 Kene = (musle[i] / 100) * Kuse / 100 if kene <= 0:kene = 1 KoefUder = rand(Uder * 20 / 100, Uder) KoefUderE = rand(Udere * 20 / 100, Udere) KoefBros = rand(Brosok * 20 / 100, Brosok) KoefBrosE = rand(Brosoke * 20 / 100, Brosoke) KoefProt = rand(Zash * 20 / 100, Zash) KoefProtE = rand(Zashe*20 / 100, Zashe) } $uderdin = { Kus = 5 Kuse = 10 dynamic $endurdin endur -= ken endurE -= kene Aktiv = (strenw / 2) + agilw + rand(0, lustw) + KoefUder Aktiv = Aktiv * endur / endurMax Passiv = (((strenwE + (agilwE / 2)) * koefE) / 100) + rand(0, lustwE) + KoefProtE Passiv = Passiv * endurE / endurMaxE } $uderdinE = { Kus = 10 Kuse = 5 dynamic $endurdin endur -= ken endurE -= kene Aktiv = (strenwE / 2) + agilwE + rand(0, lustwE) + KoefUdere Aktiv = Aktiv * endurE / endurMaxE Passiv = (((strenw + (agilw / 2)) * koef) / 100) + rand(0, lustw) + KoefProt Passiv = Passiv * endur / endurMaxE } $brosdin = { Kus = 10 Kuse = 10 dynamic $endurdin endur -= ken endurE -= kene Aktiv = strenw + (agilw / 2) + rand(0, lustw) + KoefBros Aktiv = Aktiv * endur / endurMax Passiv = (((strenwE / 2) + agilwE) * koefE / 100) + rand(0, lustwE) + KoefProtE Passiv = Passiv * endurE / endurMaxE } $brosdinE = { Kus = 10 Kuse = 10 dynamic $endurdin endur -= ken endurE -= kene Aktiv = strenwE + (agilwE / 2) + rand(0, lustwE) + KoefBrosE Aktiv = Aktiv * endurE / endurMaxE Passiv = (((strenw / 2) + agilw) * koef / 100) + rand(0, lustw) + KoefProt Passiv = Passiv * endur / endurMax } !!power, throws !!flexibility, protection, !!speed, initiative !!equipment, !!endurance a = 1 point = 0 pointE = 0 $pcs_firstnameE = $nikname[i] $pcs_firstnameA = $nikname[a] strenw = musle[1] / 10 strenwE = musle[i] / 10 agilw = flex[1] / 10 agilwE = flex[i] / 10 lustMax = wipo[1] lustMaxE = wipo[i] lustw = lustMax lustwe = lustMaxe Brosok = Bteh[1] / 10 BrosokE = Bteh[i] / 10 Uder = Uteh[1] / 10 Udere = Uteh[i] / 10 Zash = Zteh[1] / 10 Zashe = Zteh[i] / 10 resultFight = 0 endurMax = stamina[1] / 10 endurMaxE = stamina[i] / 10 endur = endurMax endurE = endurMaxE croonce = 0 round = 1 rMin = 8 stoper = 0 Ku = 0 Kb = 0 Kz = 0 KuE = 0 KbE = 0 KzE = 0 !!minus the endurance of fat !!force depends on the endurance !!speed depends on the endurance menu_off = 1 if Formula = 0:Formula = 3 '