# EndFight !!Here the conditions of the match !!honors, punishment !!'you have <> Activism in the attacks retention, <> Activism in the attacks throws, <> successful defenses.' !!'At rival <> Activism in the attacks retention, <> Activism in the attacks throws, <> successful defenses.' !!if resultFight = 0: !! wipo[1] += 2 !! wipo[i] -= 1 !! rating[1] += 2 !! rating[i] -= 5 !!You won the surrender !!elseif resultFight = 1: !! wipo[1] += 1 !! rating[1] += 1 !! rating[i] -= 3 !!you won !!elseif resultFight = 2: !! rating[1] -= 1 !! rating[i] -= 1 !!draw !!elseif resultFight = 3: !! wipo[i] += 1 !! rating[1] -= 3 !! rating[i] += 1 !!you lost !!elseif resultFight = 4: !! wipo[i] += 2 !! wipo[1] -= 1 !! rating[1] -= 5 !! rating[i] += 2 !!you lost surrender !!end !!act 'Finish':gt $loc !!if Ku > Kb: !! if Ku > Kz:Uteh[1] += 10 !!elseif Kb > Ku: !! if Kb > Kz:Bteh[1] += 10 !!elseif Kz > Kb: !! if Kz > Ku:Zteh[1] += 10 !!end '<<$nameA>> <>-<>-<> <>/<>' '<<$nameE>> <>-<>-<> <>/<>' '<> points for <<$nameA>> <> uses a gripping attack, <> uses a throwing attack, <> successful defends.' '<> points for <<$nameE>> <> uses a gripping attack, <> uses a throwing attack, <> successfully defended.' if resultFight = 0: wipo[a] += 2 wipo[i] -= 1 rating[a] += 2 rating[i] -= 5 strand = rand(0, 2) !!if strand = 0:musle[a] += 10 !!if strand = 1:flex[a] += 10 !!if strand = 2:stamina[a] += 10 tehrand = rand(0, 2) if tehrand = 0:Bteh[a] += 10 if tehrand = 1:Uteh[a] += 10 if tehrand = 2:Zteh[a] += 10 '<<$nameA>> wins by submission' $spisok[a] += '<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> wins by submission' $spisok[i] += '<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> is defeated by submission' win[a] += 1 SubWin[a] += 1 loss[i] += 1 SubLoss[i] += 1 elseif resultFight = 1: wipo[a] += 1 rating[a] += 1 rating[i] -= 3 strand = rand(0, 2) !!if strand = 0:musle[a] += 10 !!if strand = 1:flex[a] += 10 !!if strand = 2:stamina[a] += 10 tehrand = rand(0, 2) if tehrand = 0:Bteh[a] += 10 if tehrand = 1:Uteh[a] += 10 if tehrand = 2:Zteh[a] += 10 '<<$nameA>> wins' $spisok[a] += '<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> win' $spisok[i] += '<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> defeat' win[a] += 1 loss[i] += 1 elseif resultFight = 2: rating[a] -= 1 rating[i] -= 1 'The fight ends in a draw' $spisok[a] += '<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> draw' $spisok[i] += '<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> draw' draw[a] += 1 draw[i] += 1 elseif resultFight = 3: wipo[i] += 1 rating[a] -= 3 rating[i] += 1 strand = rand(0, 2) if strand = 0:musle[i] += 10 if strand = 1:flex[i] += 10 if strand = 2:stamina[i] += 10 tehrand = rand(0, 2) if tehrand = 0:Bteh[i] += 10 if tehrand = 1:Uteh[i] += 10 if tehrand = 2:Zteh[i] += 10 '<<$nameE>> wins' $spisok[a] += '<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> defeat' $spisok[i] += '<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> win' win[i] += 1 loss[a] += 1 elseif resultFight = 4: wipo[i] += 2 wipo[a] -= 1 rating[a] -= 5 rating[i] += 2 strand = rand(0, 2) if strand = 0:musle[i] += 10 if strand = 1:flex[i] += 10 if strand = 2:stamina[i] += 10 tehrand = rand(0, 2) if tehrand = 0:Bteh[i] += 10 if tehrand = 1:Uteh[i] += 10 if tehrand = 2:Zteh[i] += 10 '<<$nameE>> wins by submission' $spisok[a] += '<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> is defeated by submission' $spisok[i] += '<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> wins by submission' win[i] += 1 SubWin[i] += 1 loss[a] += 1 SubLoss[a] += 1 end act 'Finish':gt $loc --- EndFight ---------------------------------