Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #火竜の杖
- #左クリックで炎弾発射
- on leftclick holding wood hoe:
- player's tool is enchanted with BLAST PROTECTION 10
- if level of player is more than 0:
- set {_cooldown} to difference between {Fire.%player%.lastused} and now
- if {_cooldown} is less than 1 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 1
- shoot a small fire ball at speed 3
- ignite the shot projectiles
- set {Fire.%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>ファイアスキルには1Lv以上のXPが必要です!"
- wait 20 tick
- stop effect "Failed"
- #スニーク左クリックでターゲッティング弾発射
- on leftclick holding wood hoe:
- player's tool is enchanted with BLAST PROTECTION 10
- player is sneaking
- if level of player is more than 4:
- set {_cooldown} to difference between {Target.%player%.lastused} and now
- if {_cooldown} is less than 3 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 3 seconds and {_cooldown}% <white>後に使用可能"
- wait 20 tick
- stop effect "Failed"
- stop
- set {effect.phrea.%player%} to "Target"
- delete {_v.%player%}
- wait a tick
- play "entity_ghast_shoot" to players at volume 10
- reduce level progress of player by 5
- shoot a small fire ball at speed 2
- ignite the shot projectiles
- set {Target.%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>ターゲッティングスキルには5Lv以上のXPが必要です!"
- wait 20 tick
- stop effect "Failed"
- #地上で右クリックで周辺を炎上
- on rightclick holding wood hoe:
- player's tool is enchanted with BLAST PROTECTION 10
- player is not sneaking
- the block below the player is not air
- if level of player is more than 5:
- set {_cooldown} to difference between {AOEFire.%player%.lastused} and now
- if {_cooldown} is less than 10 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 10 seconds and {_cooldown}% <white>後に使用可能"
- wait 20 tick
- stop effect "Failed"
- stop
- set {casting.%player%} to true
- apply speed 5 to the player for 2.5 seconds
- apply night vision 1 to the player for 5 seconds
- execute console command "/effect %player% 25 3 0 0"
- play "entity_player_breath" to players at volume 10
- wait a tick
- set {AOEFire.%player%.lastused} to now
- create a circle effect at player with id "Fire1" with particles drip lava with radius 1
- wait 5 ticks
- create a circle effect at player with id "Fire2" with particles drip lava with radius 4
- wait 5 ticks
- create a circle effect at player with id "Fire3" with particles drip lava with radius 7
- wait 5 ticks
- create a circle effect at player with id "Fire4" with particles drip lava with radius 2
- wait 5 ticks
- create a circle effect at player with id "Fire5" with particles drip lava with radius 5
- wait 5 ticks
- create a circle effect at player with id "Fire6" with particles drip lava with radius 8
- wait 40 ticks
- if {casting.%player%} is false:
- apply speed -1 to the player for 2.5 seconds
- stop effect "Fire1"
- stop effect "Fire2"
- stop effect "Fire3"
- stop effect "Fire4"
- stop effect "Fire5"
- stop effect "Fire6"
- stop
- set {casting.%player%} to false
- message "<light aqua>・・%player%は焦熱の呪文を放った!" to player
- apply speed -1 to the player for 2.5 seconds
- reduce level progress of player by 5
- apply fire resistance 5 to the player for 15 seconds
- loop all entities in radius 20 around player:
- make a fake explosion at loop-entity
- damage loop-entity by 4 hearts
- ignite loop-entity for 10 seconds
- extinguish the player
- stop effect "Fire1"
- stop effect "Fire2"
- stop effect "Fire3"
- stop effect "Fire4"
- stop effect "Fire5"
- stop effect "Fire6"
- 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>焦熱スキルには5Lv以上のXPが必要です!"
- wait 20 tick
- stop effect "Failed"
- #被弾時のダメージ処理&ターゲッティング
- on damage:
- projectile is small fire ball
- attacker's tool is wood hoe
- if {effect.phrea.%attacker%} is "Target":
- damage victim by 1 hearts
- create safe explosion of force 1 at victim
- set {T.%attacker%} to victim
- message "<light aqua>%victim% をターゲットした!" to attacker
- message "<red>[WARNING!!]<yellow>%attacker%から上級魔法の対象にされた!" to victim
- wait a tick
- delete {effect.phrea.%attacker%}
- if {effect.phrea.%attacker%} is "HugeExplosion":
- damage victim by 20 hearts
- create safe explosion of force 7 at victim
- if {effect.phrea.%attacker%} is "SmallExplosion":
- damage victim by 2 hearts
- create safe explosion of force 1 at victim
- delete {effect.phrea.%attacker%}
- else:
- message "<pink>[ERROR!!] {effect.phrea.%attacker%} = %{effect.phrea.%attacker%}%"
- #ファイアーボール着弾時の爆破エフェクト
- on projectile hit:
- projectile is small fire ball
- if {effect.phrea.%shooter%} is "HugeExplosion":
- wait 20 tick
- loop all blocks in radius 3 around event-location:
- loop-block is air
- chance of 8%:
- create a safe explosion of force 5 at loop-block
- wait 10 tick
- chance of 3%:
- create a safe explosion of force 10 at loop-block
- wait 10 tick
- delete {effect.phrea.%shooter%}
- if {effect.phrea.%shooter%} is "Target":
- create safe explosion of force 1 at event-location
- delete {effect.phrea.%shooter%}
- if {effect.phrea.%shooter%} is "SmallExplosion":
- create safe explosion of force 2 at event-location
- delete {effect.phrea.%shooter%}
- else:
- message "<pink>[ERROR!!] {effect.phrea.%shooter%} = %{effect.phrea.%shooter%}%"
- #詠唱中のキャンセル処理
- on damage:
- victim is player
- if {casting.%victim%} is true:
- set {casting.%victim%} to false
- broadcast "<yellow>%attacker%は%victim%の詠唱を妨害した!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement