Advertisement
sora200507

Untitled

Aug 6th, 2024 (edited)
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. #mythicmobs
  2. on mythicmobs skriptskillevent:
  3. if skill-name is "skHpHeal":
  4. set {_per} to skill-args parsed as number * 0.01
  5. skill-target is alive
  6. heal skill-target by maxhealth of activemob event-activemob * {_per}
  7. if skill-name is "Gamble_Damage":
  8. set {_max} to skill-args parsed as number
  9. if random integer between 1 and 2 = 1:
  10. damage skill-target by {_max}/2
  11. else:
  12. damage skill-target by 1
  13. if skill-name is "Influencer_Influence":
  14. loop all entities:
  15. uuid of loop-entity is skill-args
  16. set {_tag} to target of loop-entity
  17. set {_en} to loop-entity
  18. exit 1 loop
  19. loop all entities in radius 15 of {_en}:
  20. loop-entity is not a player
  21. set target of loop-entity to {_tag}
  22. loop all players in radius 40 of loop-entity:
  23. show 10 "note" particles at loop-entity-1's location for loop-player
  24. if skill-name is "Neet_Influencer_Influence":
  25. loop all entities:
  26. uuid of loop-entity is skill-args
  27. set {_tag} to target of loop-entity
  28. set {_en} to loop-entity
  29. exit 1 loop
  30. loop all entities in radius 25 of {_en}:
  31. loop-entity is not a player
  32. target of loop-entity is not set
  33. set target of loop-entity to {_tag}
  34. loop all players in radius 40 of loop-entity:
  35. show 10 "note" particles at loop-entity-1's location for loop-player
  36. if skill-name is "callRuby":
  37. loop all entities in radius 40 of event-entity:
  38. scoreboard tags of loop-entity contains "pveJewelRuby"
  39. set target of loop-entity to skill-target
  40. if skill-name is "invisibleClear":
  41. remove invisibility from skill-target
  42. if skill-name is "resistanceClear":
  43. remove resistance from skill-target
  44. if skill-name is "swap":
  45. set {_lc} to location of skill-target
  46. teleport skill-target to event-entity's location
  47. teleport event-entity to {_lc}
  48. if skill-name is "randomRotate":
  49. set {_lc} to location of skill-target
  50. set yaw of {_lc} to random number between 1 and 359
  51. set pitch of {_lc} to 0.1
  52. teleport skill-target to {_lc}
  53. if skill-name is "randomRotateAndTeleport":
  54. set {_lc} to location of skill-target
  55. set yaw of {_lc} to random number between 1 and 359
  56. set pitch of {_lc} to 0.1
  57. teleport skill-target to {_lc}
  58. wait a tick
  59. teleport skill-target 30 meters in front of skill-target
  60. if skill-name is "makelightning":
  61. strike fake fake lightning at skill-target
  62. on shoot:
  63. if name of shooter is "&b警察官":
  64. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement