12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- # Kikatak
- if $ARGS[0] =
- defsumV = agilV + reactV + KikDefV
- defkofV = defsumV * 20 / 100
- defV = rand(defsumV - defkofV, defsumV + defkofV)
- if popad >= defV * 2:
-
- damageKrit = damage * 20 / 100
- damage += damageKrit
- healthV -= damage
- pointKik += 1
-
- if damage >= healthV * 20 / 100:
- pointKik += 1
-
- if healthV < (vitalV * 10 + strenV * 5) / 4:
-
- xgt
- exit
- end
- end
- elseif popad < defV * 2 and popad >= defV:
-
- healthV -= damage
- pointKik += 1
-
- if damage >= healthV * 20 / 100:
- pointKik += 1
-
- if healthV < (vitalV * 10 + strenV * 5) / 4:
-
- xgt
- exit
- end
- end
- elseif popad < defV:
-
- end
- end
- if $ARGS[0] =
- defsum = pcs_agil + pcs_react + pcs_def
- defkof = defsum * 20 / 100
- def = rand(defsum - defkof, defsum + defkof)
- if popad >= def * 2:
-
- damageKrit = damage * 20 / 100
- damage += damageKrit
- pcs_health -= damage
- pointKikV += 1
-
- if damage >= pcs_health * 20 / 100:
- pointKikV += 1
-
- if pcs_health < (pcs_vital * 10 + pcs_stren * 5) / 4:
-
- xgt
- exit
- end
- end
- elseif popad < def * 2 and popad >= def:
-
- pcs_health -= damage
- pointKikV += 1
-
- if damage >= pcs_health * 20 / 100:
- pointKikV += 1
-
- if pcs_health < (pcs_vital * 10 + pcs_stren * 5) / 4:
-
- xgt
- exit
- end
- end
- elseif popad < def:
-
- end
- end
- --- Kikatak ---------------------------------
|