# 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 end if resultFight=1: wipo[1]+=1 rating[1]+=1 rating[i]-=3 !you won end if resultFight=2: rating[1]-=1 rating[i]-=1 !draw end if resultFight=3: wipo[i]+=1 rating[1]-=3 rating[i]+=1 !you lost end if resultFight=4: wipo[i]+=2 wipo[1]-=1 rating[1]-=5 rating[i]+=2 !you lost surrender end act '...':gt $loc if Ku>Kb: if Ku>Kz: Uteh[1]+=10 end end if Kb>Ku: if Kb>Kz: Bteh[1]+=10 end end if Kz>Kb: if Kz>Ku: Zteh[1]+=10 end end ' '<<$nameA>> <>-<>-<> <>/<>' '<<$nameE>> <>-<>-<> <>/<>' '<> points <<$nameA>> <> Activism in the attacks retention, <> Activism in the attacks throws, <> successful defenses.' '<> points <<$nameE>> <> Activism in the attacks retention, <> Activism in the attacks throws, <> successful defenses.' 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>> won surrender' $spisok[a]+='<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> wins by submission ' $spisok[i]+='<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> defeat surrender ' win[a]+=1 SubWin[a]+=1 loss[i]+=1 SubLoss[i]+=1 end if 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>> won' $spisok[a]+='<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> victory ' $spisok[i]+='<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> defeat ' win[a]+=1 loss[i]+=1 end if resultFight=2: rating[a]-=1 rating[i]-=1 'The result of the fight a draw' $spisok[a]+='<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> draw ' $spisok[i]+='<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> draw ' draw[a]+=1 draw[i]+=1 end if 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>> won' $spisok[a]+='<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> defeat ' $spisok[i]+='<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> victory ' win[i]+=1 loss[a]+=1 end if 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>> won surrender' $spisok[a]+='<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> defeat surrender ' $spisok[i]+='<<$nameA>> <>-<>-<> <>/<> vs <<$nameE>> <>-<>-<> <>/<> wins by submission ' win[i]+=1 SubWin[i]+=1 loss[a]+=1 SubLoss[a]+=1 end act '...':gt $loc --- EndFight ---------------------------------