Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #mythicmobs
- on mythicmobs skriptskillevent:
- if skill-name is "skHpHeal":
- set {_per} to skill-args parsed as number * 0.01
- skill-target is alive
- heal skill-target by maxhealth of activemob event-activemob * {_per}
- if skill-name is "Gamble_Damage":
- set {_max} to skill-args parsed as number
- if random integer between 1 and 2 = 1:
- damage skill-target by {_max}/2
- else:
- damage skill-target by 1
- if skill-name is "Influencer_Influence":
- loop all entities:
- uuid of loop-entity is skill-args
- set {_tag} to target of loop-entity
- set {_en} to loop-entity
- exit 1 loop
- loop all entities in radius 15 of {_en}:
- loop-entity is not a player
- set target of loop-entity to {_tag}
- loop all players in radius 40 of loop-entity:
- show 10 "note" particles at loop-entity-1's location for loop-player
- if skill-name is "Neet_Influencer_Influence":
- loop all entities:
- uuid of loop-entity is skill-args
- set {_tag} to target of loop-entity
- set {_en} to loop-entity
- exit 1 loop
- loop all entities in radius 25 of {_en}:
- loop-entity is not a player
- target of loop-entity is not set
- set target of loop-entity to {_tag}
- loop all players in radius 40 of loop-entity:
- show 10 "note" particles at loop-entity-1's location for loop-player
- if skill-name is "callRuby":
- loop all entities in radius 40 of event-entity:
- scoreboard tags of loop-entity contains "pveJewelRuby"
- set target of loop-entity to skill-target
- if skill-name is "invisibleClear":
- remove invisibility from skill-target
- if skill-name is "resistanceClear":
- remove resistance from skill-target
- if skill-name is "swap":
- set {_lc} to location of skill-target
- teleport skill-target to event-entity's location
- teleport event-entity to {_lc}
- if skill-name is "randomRotate":
- set {_lc} to location of skill-target
- set yaw of {_lc} to random number between 1 and 359
- set pitch of {_lc} to 0.1
- teleport skill-target to {_lc}
- if skill-name is "randomRotateAndTeleport":
- set {_lc} to location of skill-target
- set yaw of {_lc} to random number between 1 and 359
- set pitch of {_lc} to 0.1
- teleport skill-target to {_lc}
- wait a tick
- teleport skill-target 30 meters in front of skill-target
- if skill-name is "makelightning":
- strike fake fake lightning at skill-target
- on shoot:
- if name of shooter is "&b警察官":
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement