1
0

boxing.qsrc 841 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # boxing
  2. !Choosing a physical attack
  3. menu_off = 1
  4. if weapon = 0 and autocombat_cheat = 0:
  5. act 'Fist':
  6. cla
  7. !gs'atak'
  8. xgt'atak','player'
  9. end
  10. elseif weapon = 0 and autocombat_cheat = 1:
  11. cla
  12. !gs'atak'
  13. xgt'atak','player'
  14. end
  15. if weapon > 0:
  16. if weaponTipe = 1:$weap = 'sword'
  17. if weaponTipe = 2:$weap = 'mace'
  18. if weaponTipe = 3:$weap = 'ax'
  19. act 'Hit <<$weap>>':
  20. cla
  21. !gs'atak'
  22. xgt'atak','player'
  23. end
  24. end
  25. if kunai > 0:
  26. 'You have <<kunai>> throwing knives.'
  27. act 'Throw the knife':
  28. cla
  29. knife = input ("How to throw a knife?")
  30. if knife > kunai:
  31. knife = kunai
  32. kunai = 0
  33. elseif knife <= kunai:
  34. kunai = kunai - knife
  35. end
  36. '<font color = green>You hurled <<knife>> knives.</font>'
  37. xgt'atak','player'
  38. end
  39. end
  40. if pcs_magik > 0: act 'Magic Attack':gt'magik'
  41. --- boxing ---------------------------------