1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- # Kikatak
- if $ARGS[0] = 'player':
- set defsumV = agilV + reaktV + KikDefV
- set defkofV = defsumV * 20 / 100
- set defV = rand(defsumV - defkofV, defsumV + defkofV)
- if popad >= defV * 2:
- '<b><font color="green">CRETE</font></b>'
- set damageKrit = damage * 20/100
- set damage += damageKrit
- set healthV -= damage
- set pointKik += 1
- '<font color="green">You applied <<damage>> points of damage</font>'
- if damage >= healthV * 20 / 100:
- set pointKik += 1
- '<font color="green"><<$nameV>> fell to the ring</font>'
- if healthV < (vitalV * 10 + strenV * 5) / 4:
- '<font color="green"><<$nameV>> in a knockout. This is a victory!</font>'
- xgt 'enderKik', 'winKO'
- exit
- end
- end
- end
- if popad < defV*2 and popad >= defV:
- '<font color="green">Contact</font>'
- set healthV -= damage
- set pointKik += 1
- '<font color="green">You applied <<damage>> points of damage</font>'
- if damage >= healthV * 20 / 100:
- set pointKik += 1
- '<font color="green"><<$nameV>> fell to the ring</font>'
- if healthV < (vitalV * 10 + strenV * 5) / 4:
- '<font color="green"><<$nameV>> in a knockout. This is a victory!</font>'
- xgt 'enderKik', 'winKO'
- exit
- end
- end
- end
- if popad < defV:'<font color="red">Slip</font>'
- end
- if $ARGS[0] = 'enemy':
- set defsum = agil + reakt + KikDef
- set defkof = defsum * 20 / 100
- set def = rand(defsum - defkof, defsum + defkof)
- if popad >= def * 2:
- '<b><font color="red">CRETE</font></b>'
- set damageKrit = damage * 20 / 100
- set damage += damageKrit
- set health -= damage
- set pointKikV += 1
- '<font color="red">You have caused <<damage>> points of damage</font>'
- if damage >= health * 20 / 100:
- set pointKikV += 1
- '<font color="red">You have fallen into the ring</font>'
- if health < (vital * 10 + stren * 5) / 4:
- '<font color="red">You are in a knockout. This defeat</font>'
- xgt 'enderKik', 'loss'
- exit
- end
- end
- end
- if popad < def * 2 and popad >= def:
- '<font color="red">Contact</font>'
- set health -= damage
- set pointKikV += 1
- '<font color="red">You have caused <<damage>> points of damage</font>'
- if damage >= health * 20 / 100:
- set pointKikV += 1
- '<font color="red">You have fallen into the ring</font>'
- if health < (vital * 10 + stren * 5) / 4:
- '<font color="red">You are in a knockout. This defeat</font>'
- xgt 'enderKik', 'loss'
- exit
- end
- end
- end
- if popad < def:'<font color="green">Slip</font>'
- end
- --- Kikatak ---------------------------------
|