Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Items.yml (Requires MythicCrucible) ###
- WarpingStone:
- Id: HEART_OF_THE_SEA
- Display: '&FWarping Stone'
- Lore:
- - 'It is said that what was once there is'
- - 'always there and can return there at will'
- - ''
- - '<#A9A9A9>Press &LLeft Click&R to store your'
- - '<#A9A9A9>current location and rotation'
- - ''
- - '<#A9A9A9>Press &LRight Click&R to teleport to'
- - '<#A9A9A9>your current stored location'
- Skills:
- - skill{s=LMG_StoreLocation} @self ~onSwing
- - skill{s=LMG_StoredLocationParticles} @self ~onTimer:20
- - skill{s=LMG_TeleportToStoredLocationCheck} @self ~onUse
- ### Skills.yml ###
- #### WARPING STONE ####
- ## WARP ##
- LMG_StoreLocation:
- Skills:
- - setvariable{var=caster.storedX;type=FLOAT;value=<caster.l.x.double>}
- - setvariable{var=caster.storedY;type=FLOAT;value=<caster.l.y.double>}
- - setvariable{var=caster.storedZ;type=FLOAT;value=<caster.l.z.double>}
- - setvariable{var=caster.storedYaw;value=<caster.l.yaw>}
- - setvariable{var=caster.storedPitch;value=<caster.l.pitch>}
- LMG_TeleportToStoredLocationCheck:
- Cooldown: 4
- Conditions:
- - variableisset{var=caster.storedX} true
- - variableisset{var=caster.storedY} true
- - variableisset{var=caster.storedZ} true
- - variableequals{var=caster.storedX;value=0.0} false
- - variableequals{var=caster.storedY;value=0.0} false
- - variableequals{var=caster.storedZ;value=0.0} false
- Skills:
- - teleport{sh=0;sv=0} @location{c=<caster.var.storedX>,<caster.var.storedY>,<caster.var.storedZ>,<caster.var.storedYaw>,<caster.var.storedPitch>}
- - setvariable{var=caster.storedX;type=FLOAT;value=0.0} @self
- - setvariable{var=caster.storedY;type=FLOAT;value=0.0} @self
- - setvariable{var=caster.storedZ;type=FLOAT;value=0.0} @self
- LMG_StoredLocationParticles:
- Conditions:
- - variableisset{var=caster.storedX} true
- - variableisset{var=caster.storedY} true
- - variableisset{var=caster.storedZ} true
- - variableequals{var=caster.storedX;value=0.0} false
- - variableequals{var=caster.storedY;value=0.0} false
- - variableequals{var=caster.storedZ;value=0.0} false
- Skills:
- - effect:particles{particle=enchanted_hit;a=10;hs=0.2;vs=0.5;y=0.66;s=0.2} @location{c=<caster.var.storedX>,<caster.var.storedY>,<caster.var.storedZ>}
Advertisement
Add Comment
Please, Sign In to add comment