kyasarintsu

hikkakimogura

Jun 13th, 2021
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. void hikkakimogura_proc()
  2. {
  3. int turn_c = turn_count();
  4. if (rare_breed())
  5. {
  6. if (turn_c <= 10){
  7. action_skill_when_rare_breed(163, turn_c);
  8. }
  9. }
  10. if (rare_breed() && !battle_blindside() && get_global_flag(1239))
  11. {
  12. if (turn_count() == 1)
  13. {
  14. if (rand(99) < 14)
  15. {
  16. action_skill(352);
  17. target_self();
  18. return;
  19. }
  20. }
  21. else if (rand(99) < 49)
  22. {
  23. action_skill(352);
  24. target_self();
  25. return;
  26. }
  27. }
  28. if (self_hp_below_threshold(50))
  29. {
  30. if (rand(99) < 49)
  31. {
  32. action_attack();
  33. target_standard();
  34. return;
  35. }
  36. else
  37. {
  38. action_skill(647);
  39. target_standard();
  40. return;
  41. }
  42. }
  43. else if (rand(99) < 69)
  44. {
  45. action_attack();
  46. target_standard();
  47. }
  48. else
  49. {
  50. action_skill(647);
  51. target_standard();
  52. return;
  53. }
  54. }
  55.  
Advertisement
Add Comment
Please, Sign In to add comment