Advertisement
Niris

Untitled

Jul 24th, 2019
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. ///scr_getDiffValues(type)
  2.  
  3. var type = argument0;
  4.  
  5. //Luck HP
  6. if(type == 0)
  7. switch(obj_globalController.difficulty){
  8. case obj_globalController.DIFFICULTY_VEASY:
  9. return 4; break;
  10. case obj_globalController.DIFFICULTY_EASY:
  11. return 5; break;
  12. case obj_globalController.DIFFICULTY_NORMAL:
  13. return 6; break;
  14. case obj_globalController.DIFFICULTY_HARD:
  15. return 7; break;
  16. case obj_globalController.DIFFICULTY_VHARD:
  17. return 8; break;
  18. case obj_globalController.DIFFICULTY_NMARE:
  19. return 12; break;
  20. }
  21.  
  22. //Skill HP
  23. if(type == 1)
  24. switch(obj_globalController.difficulty){
  25. case obj_globalController.DIFFICULTY_VEASY:
  26. case obj_globalController.DIFFICULTY_EASY:
  27. return 80; break;
  28. case obj_globalController.DIFFICULTY_NORMAL:
  29. return 100; break;
  30. case obj_globalController.DIFFICULTY_HARD:
  31. case obj_globalController.DIFFICULTY_VHARD:
  32. return 150; break;
  33. case obj_globalController.DIFFICULTY_NMARE:
  34. return 200; break;
  35. }
  36.  
  37. //Target count
  38. if(type == 2)
  39. switch(obj_globalController.difficulty){
  40. case obj_globalController.DIFFICULTY_VEASY:
  41. case obj_globalController.DIFFICULTY_EASY:
  42. return 3;
  43. break;
  44. case obj_globalController.DIFFICULTY_NORMAL:
  45. case obj_globalController.DIFFICULTY_HARD:
  46. return 2;
  47. break;
  48. case obj_globalController.DIFFICULTY_VHARD:
  49. case obj_globalController.DIFFICULTY_NMARE:
  50. return 1;
  51. break;
  52. }
  53.  
  54. //Defense count
  55. if(type == 3)
  56. switch(obj_globalController.difficulty){
  57. case obj_globalController.DIFFICULTY_VEASY:
  58. return 2;
  59. break;
  60. case obj_globalController.DIFFICULTY_EASY:
  61. return 3;
  62. break;
  63. case obj_globalController.DIFFICULTY_NORMAL:
  64. case obj_globalController.DIFFICULTY_HARD:
  65. return 4;
  66. break;
  67. case obj_globalController.DIFFICULTY_VHARD:
  68. return 5;
  69. break;
  70. case obj_globalController.DIFFICULTY_NMARE:
  71. return 6;
  72. break;
  73. }
  74.  
  75. //Block timer
  76. if(type == 4)
  77. switch(obj_globalController.difficulty){
  78. case obj_globalController.DIFFICULTY_VEASY:
  79. return 80;
  80. break;
  81. case obj_globalController.DIFFICULTY_EASY:
  82. return 70;
  83. break;
  84. case obj_globalController.DIFFICULTY_NORMAL:
  85. return 60;
  86. break;
  87. case obj_globalController.DIFFICULTY_HARD:
  88. return 50;
  89. break;
  90. case obj_globalController.DIFFICULTY_VHARD:
  91. return 40;
  92. break;
  93. case obj_globalController.DIFFICULTY_NMARE:
  94. return 35;
  95. break;
  96. }
  97.  
  98. //Block feint
  99. if(type == 5){
  100. if(obj_globalController.difficulty >= obj_globalController.DIFFICULTY_HARD)
  101. return true;
  102. else
  103. return false;
  104. }
  105.  
  106. //Attack timer
  107. if(type == 6)
  108. switch(obj_globalController.difficulty){
  109. case obj_globalController.DIFFICULTY_VEASY:
  110. case obj_globalController.DIFFICULTY_EASY:
  111. case obj_globalController.DIFFICULTY_NORMAL:
  112. return 120;
  113. break;
  114. case obj_globalController.DIFFICULTY_HARD:
  115. return 100;
  116. break;
  117. case obj_globalController.DIFFICULTY_VHARD:
  118. return 100;
  119. break;
  120. case obj_globalController.DIFFICULTY_NMARE:
  121. return 80;
  122. break;
  123. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement