home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 56 / CDPowerplay56Disc2.iso / demos / blade / data1.cab / Program_Executable_Files / Scripts / Combos / CosCombos.py < prev    next >
Encoding:
Text File  |  2000-10-27  |  845 b   |  38 lines

  1. ######################################################
  2. #
  3. # Create sets of attacks
  4. #
  5. #        - Cos -
  6. #
  7. ######################################################
  8.  
  9.  
  10. import Bladex
  11.  
  12. ATK_UNIQUE=0
  13. ATK_RANDOM=1
  14. ATK_SEQUENTIAL=2
  15.  
  16. # Predeclare & link all my combos into ATTACKING action event tables
  17. Bladex.SetActionEventTable("Cos","g_01","ATTACKING")
  18.  
  19. # Predeclare & link all my dodges into DODGING action event tables
  20. Bladex.SetActionEventTable("Cos","D_r", "DODGING")
  21. Bladex.SetActionEventTable("Cos","D_l", "DODGING")
  22.  
  23. cos=Bladex.GetCharType("Cos","Cos")
  24.  
  25. ###############################
  26. # GRUPOS DE GOLPES ALEATORIOS #
  27. ###############################
  28. #GA group
  29.  
  30. cos.AddAttack("GA","Cos_g_01")
  31. cos.AttackWindow("Cos_g_01",5,15,"GA_Window")
  32.  
  33. cos.AttackTypeFlag("GA",ATK_RANDOM)
  34.  
  35. cos.AllowAttack("GA","A","","","")
  36.  
  37.  
  38.