123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- # kikbox
- if $ARGS[0] =
- cla
- if pcs_health <= 0:
- killvar
-
- xgt
- exit
- elseif healthV <= 0:
- killvar
-
- xgt
- exit
- end
- if round >= 1:
-
- *nl
- if sparing = 1:
-
- else
-
- end
- cla
- minround += 1
-
- if minround = 1:
- if minround = 2:
- if minround = 3:
- if minround = 4:
- if minround = 5:
- if minround = 6:
-
-
-
-
-
- gs
- if hod = 0:
- !!Player attacks
-
- act
- cla
- damage = rand(pcs_stren/12, pcs_stren/8)
- if damage <= 0:damage = 1
- koefatak = (pcs_agil + pcs_react + pcs_jab) * 2
- koefpop = koefatak * 20 / 100
- popad = rand(koefatak - koefpop, koefatak + koefpop)
-
- gs
- xgt
- end
- act
- cla
- damkoef = pcs_stren * 20 / 100
- damage = rand(pcs_stren - damkoef, pcs_stren + damkoef)
- if damage <= 0:damage = 1
- koefatak = (pcs_agil + pcs_react + pcs_punch)
- koefpop = koefatak * 20 / 100
- popad = rand(koefatak - koefpop, koefatak + koefpop)
-
- gs
- xgt
- end
- act
- cla
- damkoef = pcs_stren * 20 / 100
- damage = rand((pcs_stren - damkoef) * 3, (pcs_stren + damkoef) * 3)
- if damage <= 0:damage = 1
- koefatak = (pcs_agil + pcs_react + pcs_kick) / 2
- koefpop = koefatak * 20 / 100
- popad = rand(koefatak - koefpop, koefatak + koefpop)
-
- gs
- xgt
- end
- else
- !!Enemy attacks
-
- tiprand = rand(0, 2)
- if tiprand = 0:
- damage = rand(strenV / 12, strenV / 8)
- if damage <= 0:damage = 1
- koefatak = (speedV + reactV + JabV) * 2
- koefpop = koefatak * 20 / 100
- popad = rand(koefatak - koefpop, koefatak + koefpop)
-
- gs
- xgt
- elseif tiprand = 1:
- damkoef = strenV * 20/100
- damage = rand(strenV - damkoef, strenV + damkoef)
- if damage <= 0:damage = 1
- koefatak = (speedV + reactV + punchV)
- koefpop = koefatak * 20 / 100
- popad = rand(koefatak - koefpop, koefatak + koefpop)
-
- gs
- xgt
- elseif tiprand = 2:
- damkoef = strenV * 20 / 100
- damage = rand((strenV - damkoef) * 3, (strenV + damkoef) * 3)
- if damage <= 0:damage = 1
- koefatak = (speedV + reactV + kikV) / 2
- koefpop = koefatak * 20 / 100
- popad = rand(koefatak - koefpop, koefatak + koefpop)
-
- gs
- xgt
- end
- end
- end
- end
- if $ARGS[0] =
- cla
- ionce = 0
-
- if minround = 1:
- if minround = 2:
- if minround = 3:
- if minround = 4:
- if minround = 5:
- if minround = 6:
-
-
-
-
- act
- if minround = 6:
- cla
- minround = 0
- round += 1
-
- if round <= formula:
- act
- cls
-
-
- act
- end
- elseif round > formula and sparing = 0:
- act
- cla
- if pointKik > pointKikV:
- killvar
- gt
- elseif pointKik < pointKikV:
- killvar
- gt
- elseif pointKik = pointKikV:
- killvar
- gt
- end
- end
- elseif round > formula and sparing = 1:
- if pointKik > pointKikV:
- killvar
- gt
- elseif pointKik < pointKikV:
- killvar
- gt
- elseif pointKik = pointKikV:
- killvar
- gt
- end
- end
- end
- end
- --- kikbox ---------------------------------
|