Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick holding gold sword:
- name of player's tool is "&e&l雷剣"
- player is sneaking
- if level of player is more than 9:
- set {_cooldown} to difference between {AOELightning.%player%.lastused} and now
- wait 1 tick
- if {_cooldown} is less than 20 seconds:
- play "entity_ghast_shoot" to player at volume 10
- create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
- message "<pink>%difference between 20 seconds and {_cooldown}% <white>後に使用可能"
- wait 20 tick
- stop effect "Failed"
- stop
- reduce level progress
- reduce level progress of player by 10
- set {AOELightning.%player%.lastused} to now
- loop all entities in radius 50 around the player:
- loop-entity is not the player
- chance of 80%:
- strike lightning effect at the loop-entity
- damage loop-entity by 4 hearts
- wait 20 tick
- loop all entities in radius 30 around the player:
- loop-entity is not the player
- chance of 90%:
- strike lightning effect at the loop-entity
- damage loop-entity by 4 hearts
- wait 20 tick
- loop all entities in radius 10 around the player:
- loop-entity is not the player
- strike lightning effect at the loop-entity
- damage loop-entity by 5 hearts
- else:
- play "entity_ghast_shoot" to player at volume 10
- create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
- message "<pink>疾雷スキルには10Lv以上のXPが必要です!"
- damage the player by 2 hearts
- wait 20 tick
- stop effect "Failed"
- on leftclick holding gold sword:
- player's tool is enchanted with fortune
- player is sneaking
- if level of player is more than 3:
- set {_cooldown} to difference between {LightningShot.%player%.lastused} and now
- if {_cooldown} is less than 5 seconds:
- stop
- reduce level progress of player by 4
- shoot a snowball at speed 5
- set {Lightning.%player%.lastused} to now
- else:
- play "entity_ghast_shoot" to player at volume 10
- create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
- message "<pink>雷鳴スキルには4Lv以上のXPが必要です!"
- wait 20 tick
- stop effect "Failed"
- on damage:
- projectile is snowball
- attacker's tool is gold sword
- attacker's tool is enchanted with fortune
- strike lightning at the victim
- if victim is a player:
- apply speed 2 to the attacker for 10 seconds
- apply strength 5 to the attacker for 10 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement