# kikbox if $ARGS[0] = 'start': cla if health <= 0: 'You lost by TKO' xgt'enderKik','loss' exit elseif healthV <= 0: '<<$nameV>> lost by TKO' xgt'enderKik','win' exit end !!!CV extension if round >= 1: '
Round <>
' *nl '
' !!! cla gs 'befKik' '= = = = = = = = = = = = = (ROUND <>) = = = = = = = = = = = = =' if minround = 1:'the fight 0:30' if minround = 2:'the fight 1:00' if minround = 3:'the fight 1:30' if minround = 4:'the fight 2:00' if minround = 5:'the fight 2:30' '<<$nameV>> Life <>, Endurance <>' 'Your life <>, Endurance <>' '= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =' 'Your points <>Points opponent <>' '= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =' gs 'initKik' if hod = 0: !!Player attacks 'You can attack' act 'Apply fast Jeb': cla damage = rand(stren/12, stren/8) if damage <= 0:damage = 1 koefatak = (speed + reakt + jab) * 2 koefpop = koefatak * 20 / 100 popad = rand(koefatak - koefpop, koefatak + koefpop) 'You deal with a quick jab step forward.' gs 'Kikatak', 'player' xgt 'kikbox', 'sta' end act 'Apply power punch': cla damkoef = stren * 20 / 100 damage = rand(stren - damkoef, stren + damkoef) if damage <= 0:damage = 1 koefatak = (speed + reakt + punch) koefpop = koefatak * 20 / 100 popad = rand(koefatak - koefpop, koefatak + koefpop) 'You apply a powerful punch.' gs 'Kikatak', 'player' xgt 'kikbox', 'sta' end act 'Footed strike': cla damkoef = stren * 20 / 100 damage = rand((stren - damkoef) * 3, (stren + damkoef) * 3) if damage <= 0:damage = 1 koefatak = (speed + reakt + kik) / 2 koefpop = koefatak * 20 / 100 popad = rand(koefatak - koefpop, koefatak + koefpop) 'You apply a kick powerful.' gs 'Kikatak', 'player' xgt 'kikbox', 'sta' end else !!Enemy attacks '<<$nameV>> attacks' tiprand = rand(0, 2) if tiprand = 0: damage = rand(strenV / 12, strenV / 8) if damage <= 0:damage = 1 koefatak = (speedV + reaktV + JabV) * 2 koefpop = koefatak * 20 / 100 popad = rand(koefatak - koefpop, koefatak + koefpop) '<<$nameV>> deals with quick jab step forward.' gs 'Kikatak', 'enemy' xgt 'kikbox', 'sta' elseif tiprand = 1: damkoef = strenV * 20/100 damage = rand(strenV - damkoef, strenV + damkoef) if damage <= 0:damage = 1 koefatak = (speedV + reaktV + punchV) koefpop = koefatak * 20 / 100 popad = rand(koefatak - koefpop, koefatak + koefpop) '<<$nameV>> applies the power punch.' gs 'Kikatak', 'enemy' xgt 'kikbox', 'sta' elseif tiprand = 2: damkoef = strenV * 20 / 100 damage = rand((strenV - damkoef) * 3, (strenV + damkoef) * 3) if damage <= 0:damage = 1 koefatak = (speedV + reaktV + kikV) / 2 koefpop = koefatak * 20 / 100 popad = rand(koefatak - koefpop, koefatak + koefpop) '<<$nameV>> tries for a kick.' gs 'Kikatak', 'enemy' xgt 'kikbox', 'sta' end end end if $ARGS[0] = 'sta': cla ionce = 0 '= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =' if minround = 1:'the fight 1:00' if minround = 2:'the fight 1:30' if minround = 3:'the fight 2:00' if minround = 4:'the fight 2:30' if minround = 5:'the fight 3:00' '= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =' '<<$nameV>> Life <>, Endurance <>' 'Your life <>, Endurance <>' '= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =' act 'Further':gt 'kikbox', 'fight' if minround = 5: cla minround = 0 round += 1 'Rang the gong indicating the end of the round <>.' if round <= formula: act 'Back to the corner': cla '
' 'You try to rest as best as you can.' act 'In the ring':gt 'kikbox', 'start' end elseif round > formula and sparing = 0: act 'Get out in the middle of announcing the winner': cla if pointKik > pointKikV: 'You won.' gt 'enderKik', 'win' elseif pointKik < pointKikV: 'You lost.' gt 'enderKik', 'loss' elseif pointKik = pointKikV: 'It''s a draw' act 'Leave the ring':gt 'enderKik', 'draw' end end elseif round > formula and sparing = 1: act 'Leave the ring':gt'fit','start' end end end --- kikbox ---------------------------------