Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick holding wood sword:
- player's tool is enchanted with Unbreaking 100
- if level of player is more than 30:
- set {_cooldown} to difference between {Fire.%player%.lastused} and now
- if {_cooldown} is less than 30 seconds:
- play "entity_ghast_shoot" to players at volume 10
- create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
- message "<pink>%difference between 1 seconds and {_cooldown}% <white>後に使用可能"
- wait 20 tick
- stop effect "Failed"
- stop
- set {effect.phrea.%player%} to "SmallExplosion"
- play "entity_ghast_shoot" to players at volume 5
- reduce level progress of player by 30
- shoot a small fire ball at speed 5
- ignite the shot projectiles
- set {Fire.%player%.lastused} to now
- execute console command "/effect %player% 25 3 0 0"
- create a circle effect at player with id "Fire1" with particles flame with radius 1
- wait 20 ticks
- create a circle effect at player with id "Fire2" with particles flame with radius 2
- wait 20 ticks
- create a circle effect at player with id "Fire3" with particles flame with radius 3
- wait 20 ticks
- stop effect "Fire1"
- stop effect "Fire2"
- stop effect "Fire3"
- wait 20 ticks
- 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>このスキルには30Lv以上のXPが必要です!"
- wait 20 tick
- stop effect "Failed"
Add Comment
Please, Sign In to add comment