text:
#> asset:mob/0115.jewel_bullet/summon/2.summon
#
# Mobの召喚時の処理
#
# @within function asset:mob/0115.jewel_bullet/summon/1.trigger

# 元となるMobを召喚する
    summon marker ~ ~ ~ {Tags:["MobInit"]}
# ID (int)
    data modify storage asset:mob ID set value 115
# Type (string) Wikiを参照
    data modify storage asset:mob Type set value "Projectile"
# 干渉可能か否か (boolean)
    data modify storage asset:mob Interferable set value false
# 名前 (TextComponentString) (オプション)
    data modify storage asset:mob Name set value '[{"text":"ジ","color":"aqua"},{"text":"ュ","color":"green"},{"text":"エ","color":"yellow"},{"text":"ル","color":"light_purple"},{"text":"ハ","color":"aqua"},{"text":"ン","color":"green"},{"text":"タ","color":"yellow"},{"text":"ー","color":"light_purple"}]'

# MobInitタグ持ちを対象にして召喚関数呼び出し
    execute as @e[type=marker,tag=MobInit,distance=..0.01] run function asset:mob/common/summon


text:
#> asset:mob/0115.jewel_bullet/summon/1.trigger
#
# Mob召喚処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:mob/summon

execute if data storage asset:context {id:115} run function asset:mob/0115.jewel_bullet/summon/2.summon

repo_name: ProjectTSB/TheSkyBlessing

repo_language: mcfunction

mime_type: text/plain


text:
#> asset:mob/0115.jewel_bullet/tick/2.tick
#
# Mobのtick時の処理
#
# @within function asset:mob/0115.jewel_bullet/tick/1.trigger

# スコア
    scoreboard players add @s 36.Tick 1

# 演出
    particle minecraft:dust 8 1 8 1.5 ~ ~1.2 ~ 0.4 0.4 0.4 1 3 normal @a
    playsound minecraft:block.amethyst_cluster.step hostile @a ~ ~ ~ 0.4 1 0

# プレイヤーへのダメージ
    execute positioned ~-0.5 ~ ~-0.5 if entity @a[tag=!PlayerShouldInvulnerable,dx=0] run function asset:mob/0115.jewel_bullet/tick/3.damage

# 移動
    tp @s ^ ^ ^0.8

# スコアが32以上でkill
    execute if score @s 36.Tick matches 32.. run kill @s


text:
#> asset:mob/0115.jewel_bullet/tick/3.damage
#
#
#
# @within function asset:mob/0115.jewel_bullet/tick/2.tick

# ダメージ
    data modify storage lib: Argument.Damage set value 3.0f
    data modify storage lib: Argument.AttackType set value "Physical"
    data modify storage lib: Argument.ElementType set value "None"
    data modify storage lib: Argument.FixedDamage set value 1b
# デスログ
    data modify storage lib: Argument.DeathMessage append value '[{"translate": "%1$sは%2$sの宝石の煌びやかさにやられた","with":[{"selector":"@s"},{"nbt":"Return.AttackerName","storage":"lib:","interpret":true}]}]'
    data modify storage lib: Argument.DeathMessage append value '[{"translate": "%1$sは%2$sの宝石の価値に敗北した","with":[{"selector":"@s"},{"nbt":"Return.AttackerName","storage":"lib:","interpret":true}]}]'
# 補正
    function lib:damage/modifier
# 実行
    execute as @a[tag=!PlayerShouldInvulnerable,dx=0] run function lib:damage/
# リセット
    function lib:damage/reset

# 消滅
    kill @s


text:
#> asset:mob/0115.jewel_bullet/tick/1.trigger
#
# Mobが生きている間毎tick実行されるfunction
#
# @within tag/function asset:mob/tick

execute if data storage asset:context {id:115} run function asset:mob/0115.jewel_bullet/tick/2.tick


text:
#> asset:mob/0079.return_thunder/0.load
#
# MOBに利用するスコアボード等の初期化処理
#
# @within tag/function asset:mob/load

#> 定義類はここに
# @within function asset:mob/0079.return_thunder/**
    scoreboard objectives add 27.Tick dummy


text:
#> asset:mob/0079.return_thunder/summon/2.summon
#
# Mobの召喚時の処理
#
# @within function asset:mob/0079.return_thunder/summon/1.trigger

# 元となるMobを召喚する
    summon marker ~ ~ ~ {Tags:["MobInit"]}
# ID (int)
    data modify storage asset:mob ID set value 79
# Type (string) Wikiを参照
    data modify storage asset:mob Type set value "Projectile"
# 干渉可能か否か (boolean)
    data modify storage asset:mob Interferable set value false
# 名前 (TextComponentString) (オプション)
    data modify storage asset:mob Name set from entity @s CustomName

# MobInitタグ持ちを対象にして召喚関数呼び出し
    scoreboard players set @e[type=marker,tag=MobInit,distance=..0.01] 27.Tick 0

# MobInitタグ持ちを対象にして召喚関数呼び出し
    execute as @e[type=marker,tag=MobInit,distance=..0.01] run function asset:mob/common/summon


text:
#> asset:mob/0079.return_thunder/summon/1.trigger
#
# Mob召喚処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:mob/summon

execute if data storage asset:context {id:79} run function asset:mob/0079.return_thunder/summon/2.summon


text:
#> asset:mob/0079.return_thunder/tick/2.tick
#
# Mobのtick時の処理
#
# @within function asset:mob/0079.return_thunder/tick/1.trigger

#> Private
# @private
    #declare score_holder $Temp

# 移動
    execute unless entity @s[scores={27.Tick=40..60}] run tp @s ^ ^ ^0.5

# 演出とダメージ
    scoreboard players operation $Temp Temporary = @s 27.Tick
    scoreboard players operation $Temp Temporary %= $2 Const
    execute if score $Temp Temporary matches 0 rotated ~ 0 run function asset:mob/0079.return_thunder/tick/3.thunder
    scoreboard players reset $Temp Temporary

# スコア
    scoreboard players add @s 27.Tick 1

# 途中で向きを変える
    execute if entity @s[scores={27.Tick=60}] facing entity @p[distance=..50] feet run tp @s ~ ~ ~ ~ ~

# 消滅
    execute if entity @s[scores={27.Tick=100..}] run kill @s


text:
#> asset:mob/0079.return_thunder/tick/3.thunder
#
#
#
# @within function asset:mob/0079.return_thunder/tick/2.tick

# 演出
    particle dust 1 1 0 1 ~ ~4 ~ 0.2 3 0.2 0 120
    particle minecraft:large_smoke ~ ~ ~ 0 0 0 0.4 5
    playsound entity.lightning_bolt.thunder hostile @a ~ ~ ~ 0.5 2 0
    playsound entity.lightning_bolt.impact hostile @a ~ ~ ~ 0.5 0 0

# ダメージ設定
    data modify storage lib: Argument.Damage set value 18.0f
    data modify storage lib: Argument.AttackType set value "Physical"
    data modify storage lib: Argument.ElementType set value "Thunder"
# デスログ
    data modify storage lib: Argument.DeathMessage append value '[{"translate": "%1$sは%2$sの雷に撃たれ消滅した","with":[{"selector":"@s"},{"nbt":"Return.AttackerName","storage":"lib:","interpret":true}]}]'
    data modify storage lib: Argument.DeathMessage append value '[{"translate": "%1$sは%2$sの稲妻に焼け落ちた","with":[{"selector":"@s"},{"nbt":"Return.AttackerName","storage":"lib:","interpret":true}]}]'
# 補正
    function lib:damage/modifier
# ダメージ
    execute as @a[tag=!PlayerShouldInvulnerable,distance=..2] run function lib:damage/
# リセット
    function lib:damage/reset

# 円
    particle electric_spark ^0 ^ ^-1 0 0 0 0 1
    particle electric_spark ^0.30902 ^ ^-0.95106 0 0 0 0 1
    particle electric_spark ^0.58779 ^ ^-0.80902 0 0 0 0 1
    particle electric_spark ^0.80902 ^ ^-0.58779 0 0 0 0 1
    particle electric_spark ^0.95106 ^ ^-0.30902 0 0 0 0 1
    particle electric_spark ^1 ^ ^0 0 0 0 0 1
    particle electric_spark ^0.95106 ^ ^0.30902 0 0 0 0 1
    particle electric_spark ^0.80902 ^ ^0.58779 0 0 0 0 1
    particle electric_spark ^0.58779 ^ ^0.80902 0 0 0 0 1
    particle electric_spark ^0.30902 ^ ^0.95106 0 0 0 0 1
    particle electric_spark ^0 ^ ^1 0 0 0 0 1
    particle electric_spark ^-0.30902 ^ ^0.95106 0 0 0 0 1
    particle electric_spark ^-0.58779 ^ ^0.80902 0 0 0 0 1
    particle electric_spark ^-0.80902 ^ ^0.58779 0 0 0 0 1
    particle electric_spark ^-0.95106 ^ ^0.30902 0 0 0 0 1
    particle electric_spark ^-1 ^ ^0 0 0 0 0 1
    particle electric_spark ^-0.95106 ^ ^-0.30902 0 0 0 0 1
    particle electric_spark ^-0.80902 ^ ^-0.58779 0 0 0 0 1
    particle electric_spark ^-0.58779 ^ ^-0.80902 0 0 0 0 1
    particle electric_spark ^-0.30902 ^ ^-0.95106 0 0 0 0 1


text:
#> asset:mob/0079.return_thunder/tick/1.trigger
#
# Mobが生きている間毎tick実行されるfunction
#
# @within tag/function asset:mob/tick

execute if data storage asset:context {id:79} run function asset:mob/0079.return_thunder/tick/2.tick


text:
#> asset:mob/0254.headless/death/2.death
#
# Mobの死亡時の処理
#
# @within function asset:mob/0254.headless/death/1.trigger

# 演出
    playsound minecraft:entity.creeper.hurt hostile @a ~ ~ ~ 1 0.5
    particle minecraft:large_smoke ~ ~ ~ 0 0 0 0.3 50


text:
#> asset:mob/0254.headless/death/1.trigger
#
# Mobの死亡時に実行されるfunction
#
# @within tag/function asset:mob/death

execute if data storage asset:context {id:254} run function asset:mob/0254.headless/death/2.death


text:
#> asset:mob/0254.headless/summon/2.summon
#
# Mobの召喚時の処理
#
# @within function asset:mob/0254.headless/summon/1.trigger

# 元となるMobを召喚する
    summon zombie ~ ~ ~ {Tags:["MobInit","AlwaysInvisible"],DeathLootTable:"asset:mob/death/0254.headless",ActiveEffects:[{Id:8,Amplifier:3b,Duration:2147483647,ShowParticles:0b}]}
# ID (int)
    data modify storage asset:mob ID set value 254
# Type (string) Wikiを参照
    data modify storage asset:mob Type set value "Enemy"
# 干渉可能か否か (boolean)
    data modify storage asset:mob Interferable set value true
# 名前 (TextComponentString) (オプション)
     data modify storage asset:mob Name set value '{"text":"頭無し","color":"#531E57","italic":true}'
# 武器
    # メインハンド (Compound(Item)) (オプション)
        data modify storage asset:mob Weapon.Mainhand set value {id:"minecraft:stick",Count:1b,tag:{CustomModelData:292}}
    # オフハンド (Compound(Item)) (オプション)
        # data modify storage asset:mob Weapon.Offhand set value
# 武器ドロップ率 ([float, float]) (オプション)
    # data modify storage asset:mob WeaponDropChances set value
# 防具
    # 頭 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Head set value {id:"minecraft:stone",Count:1b,tag:{CustomModelData:20019}}
    # 胴 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Chest set value {id:"minecraft:leather_chestplate",Count:1b,tag:{display:{color:3672861}}}
    # 脚 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Legs set value {id:"minecraft:leather_leggings",Count:1b,tag:{display:{color:3672861}}}
    # 足 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Feet set value {id:"minecraft:leather_boots",Count:1b,tag:{display:{color:3672861}}}
# 防具ドロップ率 ([float, float]) (オプション)
    # data modify storage asset:mob ArmorDropChances set value
# 体力 (double) (オプション)
    data modify storage asset:mob Health set value 100
# 攻撃力 (double) (オプション)
    # data modify storage asset:mob AttackDamage set value
# 防御力 (double) (オプション) // 被ダメージがある程度大きい場合1ptにつき0.8%カット、小さい場合1ptにつき約4%カット 20pt以上は頭打ち
    # data modify storage asset:mob Defense set value
# 特殊防御力 (double) (オプション) // 4pointにつきダメージを大きく減らす
    # data modify storage asset:mob SpecialDefense set value
# 移動速度 (double) (オプション)
    data modify storage asset:mob Speed set value 0.35
# 索敵範囲 (double) (オプション)
    # data modify storage asset:mob FollowRange set value
# ノックバック耐性 (double) (オプション)
    # data modify storage asset:mob KnockBackResist set value
# 属性倍率 // 1.0fで100% 最低でも25%は軽減されずに入る
    # 物理倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Physical set value
    # 魔法倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Magic set value
    # 火倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Fire set value
    # 水倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Water set value
    # 雷倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Thunder set value

# 最寄のプレイヤーを見る
    execute as @e[type=zombie,tag=MobInit,distance=..0.01] run tp @s ~ ~ ~ facing entity @p

# MobInitタグ持ちを対象にして召喚関数呼び出し
    execute as @e[type=zombie,tag=MobInit,distance=..0.01] run function asset:mob/common/summon


text:
#> asset:mob/0254.headless/summon/1.trigger
#
# Mob召喚処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:mob/summon

execute if data storage asset:context {id:254} run function asset:mob/0254.headless/summon/2.summon


text:
#> asset:mob/0254.headless/attack/1.trigger
#
# Mobの攻撃時に実行されるfunction
#
# @within tag/function asset:mob/attack

execute if data storage asset:context {id:254} run function asset:mob/0254.headless/attack/2.attack


text:
#> asset:mob/0254.headless/attack/2.attack
#
# Mobの攻撃時の処理
#
# @within function asset:mob/0254.headless/attack/1.trigger

# 演出
    execute at @p[tag=Victim,distance=..6] run particle dust 0.247 0 0 2 ~ ~1 ~ 0.6 0.6 0.6 0 50 normal @a
    playsound minecraft:entity.blaze.hurt hostile @a ~ ~ ~ 1 1.5

# 与えるダメージ
    data modify storage lib: Argument.Damage set value 15f
# 属性
    data modify storage lib: Argument.AttackType set value "Physical"
    data modify storage lib: Argument.ElementType set value "Fire"
# 補正functionを実行
    function lib:damage/modifier
# 対象
    execute as @p[tag=Victim,distance=..32] run function lib:damage/
# リセット
    function lib:damage/reset


text:
#> asset:mob/0131.haruclaire/0.load
#
# MOBに利用するスコアボード等の初期化処理
#
# @within tag/function asset:mob/load

#> 定義類はここに
# @within function asset:mob/0131.haruclaire/**
    scoreboard objectives add 3N.Tick dummy


text:
#> asset:mob/0131.haruclaire/rejoin_process
#
# 使い方は必ずwikiを見ること
#
# @within tag/function asset:rejoin
# 死亡アニメーション用
    execute if entity @e[type=armor_stand,tag=3N.ArmorStandDeath] run schedule function asset:mob/0131.haruclaire/death/3.animation_schedule_loop 1t replace


text:
#> asset:mob/0131.haruclaire/_index.d
# @private

#> tag
# @within function
#   asset:mob/0131.haruclaire/**
    #declare tag SpreadMarker
    #declare tag 3N.ArmorStand
    #declare tag 3N.ArmorStandThis
    #declare tag 3N.ArmorStandDeath
    #declare tag 3N.ArmorStandIce
    #declare tag 3N.Angel
    #declare tag 3N.SkillIceArea
    #declare tag 3N.SkillIceAreaHit
    #declare tag 3N.SkillIceCannon
    #declare tag 3N.SkillIceCannonHit
    #declare tag 3N.SkillIceCannonParticle
    #declare tag 3N.SkillIcePillar
    #declare tag 3N.SkillPillarMaker
    #declare score_holder $Count
    #declare score_holder $Random
    #declare score_holder $4tInterval


text:
#> asset:mob/0131.haruclaire/death/boss_drop
#
#
#
# @within function asset:mob/0131.haruclaire/death/4.animation_main

# ボスドロ
    data modify storage api: Argument.ID set value 172
    data modify storage api: Argument.Important set value true
    function api:artifact/spawn/from_id


text:
#> asset:mob/0131.haruclaire/death/6.freeze
#
#
#
# @within function asset:mob/0131.haruclaire/death/4.animation_main

# 置き換え
    item replace entity @s armor.head with stick{CustomModelData:20062}
# 演出
    particle minecraft:dust 0.569 0.957 1 1 ~ ~ ~ 0.8 0.8 0.8 0.1 120 normal @a
    playsound minecraft:block.glass.break hostile @a ~ ~ ~ 1 2
    playsound minecraft:block.glass.break hostile @a ~ ~ ~ 1 2
    playsound minecraft:block.glass.break hostile @a ~ ~ ~ 1 1
    playsound minecraft:block.glass.break hostile @a ~ ~ ~ 1 1
    playsound minecraft:block.glass.break hostile @a ~ ~ ~ 1 0
    playsound minecraft:block.glass.break hostile @a ~ ~ ~ 1 0


text:
#> asset:mob/0131.haruclaire/death/2.death
#
# Mobの死亡時の処理
#
# @within function asset:mob/0131.haruclaire/death/1.trigger

# 死亡アニメーションをするためのアマスタを召喚する
    summon armor_stand ~ ~ ~ {Marker:1b,Invisible:1b,Tags:["3N.ArmorStandDeath","3N.ArmorStandThis","Object","Uninterferable"],Pose:{LeftArm:[0f,0f,340f],RightArm:[0f,0f,20f]},HandItems:[{id:"minecraft:stone",Count:1b,tag:{CustomModelData:20056}},{id:"minecraft:stone",Count:1b,tag:{CustomModelData:20055}}],ArmorItems:[{},{},{},{id:"minecraft:stone",Count:1b,tag:{CustomModelData:20058}}]}
# アマスタに位置をあわせる
    execute as @e[type=armor_stand,tag=3N.ArmorStand,distance=..3,sort=nearest,limit=1] at @s run tp @e[type=armor_stand,tag=3N.ArmorStandThis,distance=..3] @s
# タグを消す
    tag @e[type=armor_stand,tag=3N.ArmorStandThis] remove 3N.ArmorStandThis

# もともといるアマスタには死んでもらう(複数召喚されてる場合、巻き込まれても大丈夫)
    kill @e[type=armor_stand,tag=3N.ArmorStand]

# スケジュールループを開始する
    schedule function asset:mob/0131.haruclaire/death/3.animation_schedule_loop 1t replace


text:
#> asset:mob/0131.haruclaire/death/7.ice_kill
#
#
#
# @within function asset:mob/0131.haruclaire/death/4.animation_main
# 位置を指定してキル（なんとなく）
    execute positioned ~0.6 ~-1.5 ~0.4 run kill @e[type=armor_stand,tag=3N.ArmorStandIce,distance=..0.01]
    execute positioned ~0.4 ~-1.5 ~0.4 run kill @e[type=armor_stand,tag=3N.ArmorStandIce,distance=..0.01]
    execute positioned ~0.3 ~-1.4 ~-0.2 run kill @e[type=armor_stand,tag=3N.ArmorStandIce,distance=..0.01]
    execute positioned ~-0.5 ~-1 ~0.2 run kill @e[type=armor_stand,tag=3N.ArmorStandIce,distance=..0.01]
    execute positioned ~-0.3 ~-0.9 ~-0.1 run kill @e[type=armor_stand,tag=3N.ArmorStandIce,distance=..0.01]
    execute positioned ~0.2 ~-0.8 ~0.1 run kill @e[type=armor_stand,tag=3N.ArmorStandIce,distance=..0.01]
    execute positioned ~-0.1 ~-0.6 ~-0.2 run kill @e[type=armor_stand,tag=3N.ArmorStandIce,distance=..0.01]
    execute positioned ~0.1 ~-0.4 ~0 run kill @e[type=armor_stand,tag=3N.ArmorStandIce,distance=..0.01]

# 演出
    playsound minecraft:block.glass.break hostile @a ~ ~ ~ 1 1
    playsound minecraft:block.glass.break hostile @a ~ ~ ~ 1 0
    playsound minecraft:entity.wither.shoot hostile @a ~ ~ ~ 0.5 1.2
    particle dust 1 1000000000 1000000000 1 ~ ~2 ~ 1 2 1 1 300 normal @a
    particle dust 1000000000 1000000000 1000000000 1 ~ ~2 ~ 3 2 3 1 40 normal @a

# 羽を落とす
    loot spawn ~ ~ ~ loot minecraft:entities/parrot


text:
#> asset:mob/0131.haruclaire/death/5.ice_summon
#
#
#
# @within function asset:mob/0131.haruclaire/death/4.animation_main

# 召喚
    summon armor_stand ~ ~ ~ {Marker:1b,Invisible:1b,Tags:["3N.ArmorStandIce","Object","","Uninterferable"],ArmorItems:[{},{},{},{id:"minecraft:ice",Count:1b}]}
# 演出
   particle minecraft:dust 0.569 0.957 1 1 ~ ~ ~ 0.8 0.8 0.8 0.1 20 normal @a
   playsound minecraft:block.glass.break hostile @a


text:
#> asset:mob/0131.haruclaire/death/4.animation_main
#
#
#
# @within function asset:mob/0131.haruclaire/death/3.animation_schedule_loop

# スコアを増やしていく
    scoreboard players add @s 3N.Tick 1

# 以下アニメーション

# 氷を出しまくる
    execute if score @s 3N.Tick matches 1 positioned ~0.6 ~-1.5 ~0.4 run function asset:mob/0131.haruclaire/death/5.ice_summon
    execute if score @s 3N.Tick matches 5 positioned ~0.4 ~-1.5 ~0.4 run function asset:mob/0131.haruclaire/death/5.ice_summon
    execute if score @s 3N.Tick matches 10 positioned ~0.3 ~-1.4 ~-0.2 run function asset:mob/0131.haruclaire/death/5.ice_summon
    execute if score @s 3N.Tick matches 12 positioned ~-0.5 ~-1 ~0.2 run function asset:mob/0131.haruclaire/death/5.ice_summon
    execute if score @s 3N.Tick matches 14 positioned ~-0.3 ~-0.9 ~-0.1 run function asset:mob/0131.haruclaire/death/5.ice_summon
    execute if score @s 3N.Tick matches 16 positioned ~0.2 ~-0.8 ~0.1 run function asset:mob/0131.haruclaire/death/5.ice_summon
    execute if score @s 3N.Tick matches 18 positioned ~-0.1 ~-0.6 ~-0.2 run function asset:mob/0131.haruclaire/death/5.ice_summon
    execute if score @s 3N.Tick matches 20 positioned ~0.1 ~-0.4 ~0 run function asset:mob/0131.haruclaire/death/5.ice_summon

# 完全凍結
    execute if score @s 3N.Tick matches 50 run function asset:mob/0131.haruclaire/death/6.freeze

# 氷を消す
    execute if score @s 3N.Tick matches 100 run function asset:mob/0131.haruclaire/death/7.ice_kill

# ボスドロ
    execute if score @s 3N.Tick matches 100 run function asset:mob/0131.haruclaire/death/boss_drop

# 終了
    execute if score @s 3N.Tick matches 100 run kill @s


text:
#> asset:mob/0131.haruclaire/death/1.trigger
#
# Mobの死亡時に実行されるfunction
#
# @within tag/function asset:mob/death

execute if data storage asset:context {id:131} run function asset:mob/0131.haruclaire/death/2.death


text:
#> asset:mob/0131.haruclaire/death/3.animation_schedule_loop
#
#
#
# @within function
#   asset:mob/0131.haruclaire/death/2.death
#   asset:mob/0131.haruclaire/death/3.animation_schedule_loop
#   asset:mob/0131.haruclaire/rejoin_process

# ファンクション
    execute as @e[type=armor_stand,tag=3N.ArmorStandDeath] at @s run function asset:mob/0131.haruclaire/death/4.animation_main

# ループ
    execute if entity @e[type=armor_stand,tag=3N.ArmorStandDeath] run schedule function asset:mob/0131.haruclaire/death/3.animation_schedule_loop 1t replace


text:
#> asset:mob/0131.haruclaire/summon/2.summon
#
# Mobの召喚時の処理
#
# @within function asset:mob/0131.haruclaire/summon/1.trigger

# 元となるMobを召喚する
    summon wither_skeleton ~ ~ ~ {Tags:["MobInit","AlwaysInvisible","3N.Angel"],PersistenceRequired:1b,Silent:1b,NoAI:1b,DeathLootTable:"asset:mob/death/0131.haruclaire"}
# ID (int)
    data modify storage asset:mob ID set value 131
# Type (string) Wikiを参照
    data modify storage asset:mob Type set value "Enemy.Boss"
# 干渉可能か否か (boolean)
    data modify storage asset:mob Interferable set value true
# 名前 (TextComponentString) (オプション)
    data modify storage asset:mob Name set value '{"text":"ハルクレア","color":"aqua"}'
# 武器
    # メインハンド (Compound(Item)) (オプション)
        # data modify storage asset:mob Weapon.Mainhand set value
    # オフハンド (Compound(Item)) (オプション)
        # data modify storage asset:mob Weapon.Offhand set value
# 武器ドロップ率 ([float, float]) (オプション)
    # data modify storage asset:mob WeaponDropChances set value
# 防具
    # 頭 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Head set value
    # 胴 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Chest set value
    # 脚 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Legs set value
    # 足 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Feet set value
# 防具ドロップ率 ([float, float]) (オプション)
    # data modify storage asset:mob ArmorDropChances set value
# 体力 (double) (オプション)
    data modify storage asset:mob Health set value 73000
# 攻撃力 (double) (オプション)
    data modify storage asset:mob AttackDamage set value 0
# 防御力 (double) (オプション) // 被ダメージがある程度大きい場合1ptにつき0.8%カット、小さい場合1ptにつき約4%カット 20pt以上は頭打ち
    data modify storage asset:mob Defense set value 0
# 特殊防御力 (double) (オプション) // 4pointにつきダメージを大きく減らす
    # data modify storage asset:mob SpecialDefense set value
# 移動速度 (double) (オプション)
    data modify storage asset:mob Speed set value 0
# 索敵範囲 (double) (オプション)
    # data modify storage asset:mob FollowRange set value
# ノックバック耐性 (double) (オプション)
    data modify storage asset:mob KnockBackResist set value 1
# 属性倍率 // 1.0fで100% 最低でも25%は軽減されずに入る
    # 物理倍率 (float) (オプション)
        data modify storage asset:mob Resist.Physical set value 1
    # 魔法倍率 (float) (オプション)
         data modify storage asset:mob Resist.Magic set value 0.6
    # 火倍率 (float) (オプション)
        data modify storage asset:mob Resist.Fire set value 1
    # 水倍率 (float) (オプション)
        data modify storage asset:mob Resist.Water set value 0.8
    # 雷倍率 (float) (オプション)
        data modify storage asset:mob Resist.Thunder set value 0.8

# 見た目用のアマスタを召喚
    summon armor_stand ~ ~ ~ {Marker:1b,Invisible:1b,Tags:["3N.ArmorStand","3N.ArmorStandThis","Object","Uninterferable"],Pose:{LeftArm:[0f,0f,340f],RightArm:[0f,0f,20f]},HandItems:[{id:"minecraft:stone",Count:1b,tag:{CustomModelData:20056}},{id:"minecraft:stone",Count:1b,tag:{CustomModelData:20055}}],ArmorItems:[{},{},{},{id:"minecraft:stone",Count:1b,tag:{CustomModelData:20058}}]}
# 位置をあわせる
    execute as @e[type=wither_skeleton,tag=MobInit,distance=..0.01] at @s run tp @e[type=armor_stand,tag=3N.ArmorStandThis,distance=..0.01] @s
# スコアを付与
    scoreboard players set @e[type=wither_skeleton,tag=MobInit,distance=..0.01] 3N.Tick -20
# タグを消す
    tag @e[type=armor_stand,tag=3N.ArmorStandThis,distance=..0.01] remove 3N.ArmorStandThis

# MobInitタグ持ちを対象にして召喚関数呼び出し
    execute as @e[type=wither_skeleton,tag=MobInit,distance=..0.01] run function asset:mob/common/summon


text:
#> asset:mob/0131.haruclaire/summon/1.trigger
#
# Mob召喚処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:mob/summon

execute if data storage asset:context {id:131} run function asset:mob/0131.haruclaire/summon/2.summon


text:
#> asset:mob/0131.haruclaire/hurt/2.hurt
#
# Mobの被ダメージ時の処理
#
# @within function asset:mob/0131.haruclaire/hurt/1.trigger

# えんしゅつ
    playsound minecraft:entity.player.hurt hostile @a ~ ~ ~ 1 1


text:
#> asset:mob/0131.haruclaire/hurt/1.trigger
#
# Mobの被ダメージに実行されるfunction
#
# @within tag/function asset:mob/hurt

execute if data storage asset:context {id:131} run function asset:mob/0131.haruclaire/hurt/2.hurt


text:
#> asset:mob/0131.haruclaire/remove/2.remove
#
#
#
# @within function asset:mob/0131.haruclaire/remove/1.trigger

# アマスタ削除
    kill @e[type=armor_stand,tag=3N.ArmorStand]


text:
#> asset:mob/0131.haruclaire/remove/1.trigger
#
#
#
# @within tag/function asset:mob/remove

execute if data storage asset:context {id:131} run function asset:mob/0131.haruclaire/remove/2.remove


text:
#> asset:mob/0131.haruclaire/tick/armorstand_respawn
#
#
#
# @within function asset:mob/0131.haruclaire/tick/2.tick

# どっかいったアマスタを殺す
    execute as @e[type=armor_stand,tag=3N.ArmorStand] at @s unless entity @e[type=wither_skeleton,tag=3N.Angel,distance=0] run kill @s
# 見た目用のアマスタを召喚
    summon armor_stand ~ ~ ~ {Marker:1b,Invisible:1b,Tags:["3N.ArmorStand","3N.ArmorStandThis","Object","Uninterferable"],Pose:{LeftArm:[0f,0f,340f],RightArm:[0f,0f,20f]},HandItems:[{id:"minecraft:stone",Count:1b,tag:{CustomModelData:20055}},{id:"minecraft:stone",Count:1b,tag:{CustomModelData:20056}}],ArmorItems:[{},{},{},{id:"minecraft:stone",Count:1b,tag:{CustomModelData:20058}}]}
# 位置をあわせる
    tp @e[type=armor_stand,tag=3N.ArmorStandThis,distance=..0.01] @s
# タグを消す
    tag @e[type=armor_stand,tag=3N.ArmorStandThis,distance=..0.01] remove 3N.ArmorStandThis
# スコアも一応戻す
    scoreboard players set @s 3N.Tick -20

# スキル発動中に移動した場合困るので消す
    tag @s remove 3N.SkillIceArea
    tag @s remove 3N.SkillIceCannon
    tag @s remove 3N.SkillIcePillar

# 強制的にテレポする
    function asset:mob/0131.haruclaire/tick/teleport


text:
#> asset:mob/0131.haruclaire/tick/2.tick
#
# Mobのtick時の処理
#
# @within function asset:mob/0131.haruclaire/tick/1.trigger

# スコアを増やす
    scoreboard players add @s 3N.Tick 1

# プレイヤーがいたら0tickでテレポート
    execute if score @s 3N.Tick matches 0 if entity @p[gamemode=!spectator,distance=..100] run function asset:mob/0131.haruclaire/tick/teleport

# その後発動するスキル
# プレイヤーがいたら
    execute if score @s 3N.Tick matches 0 if entity @p[gamemode=!spectator,distance=..100] run function asset:mob/0131.haruclaire/tick/2.1.skill_select

# プレイヤーがいないのに時間が着てしまった場合。スコアを戻す
    execute if score @s 3N.Tick matches 0 unless entity @p[gamemode=!spectator,distance=..100] run scoreboard players set @s 3N.Tick -40

# 発動中
    execute if score @s 3N.Tick matches 0.. run function asset:mob/0131.haruclaire/tick/2.2.skill_active

# 4tickおきに実行するやつ
# 実行時間を移す
    scoreboard players operation $4tInterval Temporary = @s 3N.Tick
# 4tickおきに実行
    scoreboard players operation $4tInterval Temporary %= $4 Const
    execute if score $4tInterval Temporary matches 0 run function asset:mob/0131.haruclaire/tick/interval
# リセット
    scoreboard players reset $4tInterval

# 以下エラー時の処理
# もし同一座標に2体存在した場合瞬時にteleportする
    # 数のカウント
        execute store result score $Count Temporary if entity @e[type=armor_stand,tag=3N.ArmorStand,distance=..0.01]
    # もしいたらテレポ
        execute if score $Count Temporary matches 2.. run function asset:mob/0131.haruclaire/tick/teleport
    # スコアも一応戻す
        execute if score $Count Temporary matches 2.. run scoreboard players set @s 3N.Tick -20
    # リセット
        scoreboard players reset $Count

# もしアマスタがどっかいってしまったら(tpの関係でatが無いと死ぬ)
    execute at @s unless entity @e[type=armor_stand,tag=3N.ArmorStand,distance=..0.01] run function asset:mob/0131.haruclaire/tick/armorstand_respawn


text:
#> asset:mob/0131.haruclaire/tick/particle3
#
#
#
# @within function asset:mob/0131.haruclaire/tick/particle_pillar

# [ImportKey]: NobwRALgngDgpmAXGGB7ANlA5qgdmAGjAFdiBLAEyTAAYBGAZjgDMAjANnYFomBObgCzsA7DS4AOGgEMKPYbxoNm9BuLqtCYXFIC2CZICxNQEuRgI30ABA00wpAJ10BnJOADGqYrghI6dIs7ge4GycwADcpdGJ9cAAPJBoiKDiAXySiOwoyYkdEBiJ7CFtPRHiwOHR0Mhh7fToaEptUAoh9EtcbXECkdiIAK2IdGCRcsFY4AC8yTuKiMnsAUXLK6rmAR2JwzABlaz8qRGZw6pn7ACFxyZtV9fKobaldpAP0apSCcGh4ajRMHHwiUko1AEAFZmBRnOI4M4uBRgQxoQIpBwJHRgbJeMCAEwMATiKRSXiwjREbR6ajGcwCKy2BzBVzuIrCXz+ZpBRDgMIRKJgWLTMCJYqvMDpTLZTF5Ao2IolMoVKo1OppRpSZpxXyodpTbpgPoDLxEUYTKYlWYLOXLNYbW47OB7J5HMCzM5Gy6Wm53B77Q5wFIAXSAA_3
# 多角形 4
particle dust 1 1000000000 1000000000 1 ^0 ^ ^-2 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0.24744 ^ ^-1.85714 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0.49487 ^ ^-1.71429 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0.74231 ^ ^-1.57143 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0.98974 ^ ^-1.42857 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.23718 ^ ^-1.28571 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.48461 ^ ^-1.14286 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.73205 ^ ^-1 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.73205 ^ ^-0.71429 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.73205 ^ ^-0.42857 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.73205 ^ ^-0.14286 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.73205 ^ ^0.14286 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.73205 ^ ^0.42857 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.73205 ^ ^0.71429 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.73205 ^ ^1 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.48461 ^ ^1.14286 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.23718 ^ ^1.28571 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0.98974 ^ ^1.42857 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0.74231 ^ ^1.57143 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0.49487 ^ ^1.71429 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0.24744 ^ ^1.85714 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0 ^ ^2 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-0.24744 ^ ^1.85714 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-0.49487 ^ ^1.71429 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-0.74231 ^ ^1.57143 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-0.98974 ^ ^1.42857 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.23718 ^ ^1.28571 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.48461 ^ ^1.14286 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.73205 ^ ^1 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.73205 ^ ^0.71429 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.73205 ^ ^0.42857 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.73205 ^ ^0.14286 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.73205 ^ ^-0.14286 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.73205 ^ ^-0.42857 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.73205 ^ ^-0.71429 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.73205 ^ ^-1 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.48461 ^ ^-1.14286 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.23718 ^ ^-1.28571 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-0.98974 ^ ^-1.42857 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-0.74231 ^ ^-1.57143 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-0.49487 ^ ^-1.71429 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-0.24744 ^ ^-1.85714 0 0 0 0 1
# 多角形 3
particle dust 1 1000000000 1000000000 1 ^0 ^ ^-3 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0 ^ ^-2.45455 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0 ^ ^-1.90909 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0 ^ ^-1.36364 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0 ^ ^-0.81818 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0 ^ ^-0.27273 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0 ^ ^0.27273 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0 ^ ^0.81818 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0 ^ ^1.36364 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0 ^ ^1.90909 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0 ^ ^2.45455 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^2.59808 ^ ^-1.5 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^2.1257 ^ ^-1.22727 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.65332 ^ ^-0.95455 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.18094 ^ ^-0.68182 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0.70857 ^ ^-0.40909 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0.23619 ^ ^-0.13636 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-0.23619 ^ ^0.13636 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-0.70857 ^ ^0.40909 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.18094 ^ ^0.68182 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.65332 ^ ^0.95455 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-2.1257 ^ ^1.22727 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^2.59808 ^ ^1.5 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^2.1257 ^ ^1.22727 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.65332 ^ ^0.95455 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^1.18094 ^ ^0.68182 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0.70857 ^ ^0.40909 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0.23619 ^ ^0.13636 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-0.23619 ^ ^-0.13636 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-0.70857 ^ ^-0.40909 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.18094 ^ ^-0.68182 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-1.65332 ^ ^-0.95455 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-2.1257 ^ ^-1.22727 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^0 ^ ^3 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-2.59808 ^ ^1.5 0 0 0 0 1
particle dust 1 1000000000 1000000000 1 ^-2.59808 ^ ^-1.5 0 0 0 0 1


text:
#> asset:mob/0131.haruclaire/tick/particle
#
#
#
# @within function asset:mob/0131.haruclaire/tick/interval

# [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkmAOwAsAjNQEwAMlKAtKQGxxxvVwMAnG0EAjJuwYpO1UQwBmTTpzlgCAOwCGAWwTJAYYoACWmrAxNGHQGck4FAHtC6iEgCsAZgIo4zuBltgAG6a2IR64AAeSEwEUNEAvvEElqRohDaIDARWEBYuiDFgcNjYaDBWerRMhRj2uRB6hWhWAKIlZRUtAI6EIdhQAMrm3uSI8iEViXjg0PAUMPb9AOb26qbEZBSiMij08u5sDAAcgqR88qQMbEcopJpsrgyPpEfVLLKmWroUgFiagEuRgCN9YymcyWbQZOyOZxIZheHwNfyIcDBULhMBRAqxBJJMApNIZLJgHJ5aIEYqlcqVarJOqaBqk1D2DDqPxITgEABWhG0MCQ1AIojgAC80KzMWBmm0KZ0en1BsM4KNxtgKgRmgAhYWijDdXoleWaEZIZWTeIAXSAA_3
# 円 1
particle scrape ^0 ^ ^-2 0 0 0 0 1
particle scrape ^0.23655 ^ ^-1.98596 0 0 0 0 1
particle scrape ^0.46977 ^ ^-1.94405 0 0 0 0 1
particle scrape ^0.6964 ^ ^-1.87484 0 0 0 0 1
particle scrape ^0.91326 ^ ^-1.77931 0 0 0 0 1
particle scrape ^1.11729 ^ ^-1.65881 0 0 0 0 1
particle scrape ^1.30564 ^ ^-1.51502 0 0 0 0 1
particle scrape ^1.47567 ^ ^-1.34997 0 0 0 0 1
particle scrape ^1.62497 ^ ^-1.16596 0 0 0 0 1
particle scrape ^1.75147 ^ ^-0.96558 0 0 0 0 1
particle scrape ^1.85338 ^ ^-0.75166 0 0 0 0 1
particle scrape ^1.92927 ^ ^-0.52717 0 0 0 0 1
particle scrape ^1.97808 ^ ^-0.29529 0 0 0 0 1
particle scrape ^1.99912 ^ ^-0.05927 0 0 0 0 1
particle scrape ^1.9921 ^ ^0.17759 0 0 0 0 1
particle scrape ^1.95711 ^ ^0.41196 0 0 0 0 1
particle scrape ^1.89465 ^ ^0.64054 0 0 0 0 1
particle scrape ^1.8056 ^ ^0.86013 0 0 0 0 1
particle scrape ^1.69119 ^ ^1.06765 0 0 0 0 1
particle scrape ^1.55305 ^ ^1.26018 0 0 0 0 1
particle scrape ^1.3931 ^ ^1.43501 0 0 0 0 1
particle scrape ^1.2136 ^ ^1.58971 0 0 0 0 1
particle scrape ^1.01706 ^ ^1.72209 0 0 0 0 1
particle scrape ^0.80625 ^ ^1.83029 0 0 0 0 1
particle scrape ^0.58411 ^ ^1.9128 0 0 0 0 1
particle scrape ^0.35378 ^ ^1.96846 0 0 0 0 1
particle scrape ^0.11848 ^ ^1.99649 0 0 0 0 1
particle scrape ^-0.11848 ^ ^1.99649 0 0 0 0 1
particle scrape ^-0.35378 ^ ^1.96846 0 0 0 0 1
particle scrape ^-0.58411 ^ ^1.9128 0 0 0 0 1
particle scrape ^-0.80625 ^ ^1.83029 0 0 0 0 1
particle scrape ^-1.01706 ^ ^1.72209 0 0 0 0 1
particle scrape ^-1.2136 ^ ^1.58971 0 0 0 0 1
particle scrape ^-1.3931 ^ ^1.43501 0 0 0 0 1
particle scrape ^-1.55305 ^ ^1.26018 0 0 0 0 1
particle scrape ^-1.69119 ^ ^1.06765 0 0 0 0 1
particle scrape ^-1.8056 ^ ^0.86013 0 0 0 0 1
particle scrape ^-1.89465 ^ ^0.64054 0 0 0 0 1
particle scrape ^-1.95711 ^ ^0.41196 0 0 0 0 1
particle scrape ^-1.9921 ^ ^0.17759 0 0 0 0 1
particle scrape ^-1.99912 ^ ^-0.05927 0 0 0 0 1
particle scrape ^-1.97808 ^ ^-0.29529 0 0 0 0 1
particle scrape ^-1.92927 ^ ^-0.52717 0 0 0 0 1
particle scrape ^-1.85338 ^ ^-0.75166 0 0 0 0 1
particle scrape ^-1.75147 ^ ^-0.96558 0 0 0 0 1
particle scrape ^-1.62497 ^ ^-1.16596 0 0 0 0 1
particle scrape ^-1.47567 ^ ^-1.34997 0 0 0 0 1
particle scrape ^-1.30564 ^ ^-1.51502 0 0 0 0 1
particle scrape ^-1.11729 ^ ^-1.65881 0 0 0 0 1
particle scrape ^-0.91326 ^ ^-1.77931 0 0 0 0 1
particle scrape ^-0.6964 ^ ^-1.87484 0 0 0 0 1
particle scrape ^-0.46977 ^ ^-1.94405 0 0 0 0 1
particle scrape ^-0.23655 ^ ^-1.98596 0 0 0 0 1
# 多角形 1
particle scrape ^0 ^ ^-2 0 0 0 0 1
particle scrape ^-0.0866 ^ ^-1.85 0 0 0 0 1
particle scrape ^-0.17321 ^ ^-1.7 0 0 0 0 1
particle scrape ^-0.25981 ^ ^-1.55 0 0 0 0 1
particle scrape ^-0.34641 ^ ^-1.4 0 0 0 0 1
particle scrape ^-0.43301 ^ ^-1.25 0 0 0 0 1
particle scrape ^-0.51962 ^ ^-1.1 0 0 0 0 1
particle scrape ^-0.60622 ^ ^-0.95 0 0 0 0 1
particle scrape ^-0.69282 ^ ^-0.8 0 0 0 0 1
particle scrape ^-0.77942 ^ ^-0.65 0 0 0 0 1
particle scrape ^-0.86603 ^ ^-0.5 0 0 0 0 1
particle scrape ^-0.95263 ^ ^-0.35 0 0 0 0 1
particle scrape ^-1.03923 ^ ^-0.2 0 0 0 0 1
particle scrape ^-1.12583 ^ ^-0.05 0 0 0 0 1
particle scrape ^-1.21244 ^ ^0.1 0 0 0 0 1
particle scrape ^-1.29904 ^ ^0.25 0 0 0 0 1
particle scrape ^-1.38564 ^ ^0.4 0 0 0 0 1
particle scrape ^-1.47224 ^ ^0.55 0 0 0 0 1
particle scrape ^-1.55885 ^ ^0.7 0 0 0 0 1
particle scrape ^-1.64545 ^ ^0.85 0 0 0 0 1
particle scrape ^1.73205 ^ ^-1 0 0 0 0 1
particle scrape ^1.55885 ^ ^-1 0 0 0 0 1
particle scrape ^1.38564 ^ ^-1 0 0 0 0 1
particle scrape ^1.21244 ^ ^-1 0 0 0 0 1
particle scrape ^1.03923 ^ ^-1 0 0 0 0 1
particle scrape ^0.86603 ^ ^-1 0 0 0 0 1
particle scrape ^0.69282 ^ ^-1 0 0 0 0 1
particle scrape ^0.51962 ^ ^-1 0 0 0 0 1
particle scrape ^0.34641 ^ ^-1 0 0 0 0 1
particle scrape ^0.17321 ^ ^-1 0 0 0 0 1
particle scrape ^0 ^ ^-1 0 0 0 0 1
particle scrape ^-0.17321 ^ ^-1 0 0 0 0 1
particle scrape ^-0.34641 ^ ^-1 0 0 0 0 1
particle scrape ^-0.51962 ^ ^-1 0 0 0 0 1
particle scrape ^-0.69282 ^ ^-1 0 0 0 0 1
particle scrape ^-0.86603 ^ ^-1 0 0 0 0 1
particle scrape ^-1.03923 ^ ^-1 0 0 0 0 1
particle scrape ^-1.21244 ^ ^-1 0 0 0 0 1
particle scrape ^-1.38564 ^ ^-1 0 0 0 0 1
particle scrape ^-1.55885 ^ ^-1 0 0 0 0 1
particle scrape ^1.73205 ^ ^1 0 0 0 0 1
particle scrape ^1.64545 ^ ^0.85 0 0 0 0 1
particle scrape ^1.55885 ^ ^0.7 0 0 0 0 1
particle scrape ^1.47224 ^ ^0.55 0 0 0 0 1
particle scrape ^1.38564 ^ ^0.4 0 0 0 0 1
particle scrape ^1.29904 ^ ^0.25 0 0 0 0 1
particle scrape ^1.21244 ^ ^0.1 0 0 0 0 1
particle scrape ^1.12583 ^ ^-0.05 0 0 0 0 1
particle scrape ^1.03923 ^ ^-0.2 0 0 0 0 1
particle scrape ^0.95263 ^ ^-0.35 0 0 0 0 1
particle scrape ^0.86603 ^ ^-0.5 0 0 0 0 1
particle scrape ^0.77942 ^ ^-0.65 0 0 0 0 1
particle scrape ^0.69282 ^ ^-0.8 0 0 0 0 1
particle scrape ^0.60622 ^ ^-0.95 0 0 0 0 1
particle scrape ^0.51962 ^ ^-1.1 0 0 0 0 1
particle scrape ^0.43301 ^ ^-1.25 0 0 0 0 1
particle scrape ^0.34641 ^ ^-1.4 0 0 0 0 1
particle scrape ^0.25981 ^ ^-1.55 0 0 0 0 1
particle scrape ^0.17321 ^ ^-1.7 0 0 0 0 1
particle scrape ^0.0866 ^ ^-1.85 0 0 0 0 1
particle scrape ^0 ^ ^2 0 0 0 0 1
particle scrape ^0.0866 ^ ^1.85 0 0 0 0 1
particle scrape ^0.17321 ^ ^1.7 0 0 0 0 1
particle scrape ^0.25981 ^ ^1.55 0 0 0 0 1
particle scrape ^0.34641 ^ ^1.4 0 0 0 0 1
particle scrape ^0.43301 ^ ^1.25 0 0 0 0 1
particle scrape ^0.51962 ^ ^1.1 0 0 0 0 1
particle scrape ^0.60622 ^ ^0.95 0 0 0 0 1
particle scrape ^0.69282 ^ ^0.8 0 0 0 0 1
particle scrape ^0.77942 ^ ^0.65 0 0 0 0 1
particle scrape ^0.86603 ^ ^0.5 0 0 0 0 1
particle scrape ^0.95263 ^ ^0.35 0 0 0 0 1
particle scrape ^1.03923 ^ ^0.2 0 0 0 0 1
particle scrape ^1.12583 ^ ^0.05 0 0 0 0 1
particle scrape ^1.21244 ^ ^-0.1 0 0 0 0 1
particle scrape ^1.29904 ^ ^-0.25 0 0 0 0 1
particle scrape ^1.38564 ^ ^-0.4 0 0 0 0 1
particle scrape ^1.47224 ^ ^-0.55 0 0 0 0 1
particle scrape ^1.55885 ^ ^-0.7 0 0 0 0 1
particle scrape ^1.64545 ^ ^-0.85 0 0 0 0 1
particle scrape ^-1.73205 ^ ^1 0 0 0 0 1
particle scrape ^-1.55885 ^ ^1 0 0 0 0 1
particle scrape ^-1.38564 ^ ^1 0 0 0 0 1
particle scrape ^-1.21244 ^ ^1 0 0 0 0 1
particle scrape ^-1.03923 ^ ^1 0 0 0 0 1
particle scrape ^-0.86603 ^ ^1 0 0 0 0 1
particle scrape ^-0.69282 ^ ^1 0 0 0 0 1
particle scrape ^-0.51962 ^ ^1 0 0 0 0 1
particle scrape ^-0.34641 ^ ^1 0 0 0 0 1
particle scrape ^-0.17321 ^ ^1 0 0 0 0 1
particle scrape ^0 ^ ^1 0 0 0 0 1
particle scrape ^0.17321 ^ ^1 0 0 0 0 1
particle scrape ^0.34641 ^ ^1 0 0 0 0 1
particle scrape ^0.51962 ^ ^1 0 0 0 0 1
particle scrape ^0.69282 ^ ^1 0 0 0 0 1
particle scrape ^0.86603 ^ ^1 0 0 0 0 1
particle scrape ^1.03923 ^ ^1 0 0 0 0 1
particle scrape ^1.21244 ^ ^1 0 0 0 0 1
particle scrape ^1.38564 ^ ^1 0 0 0 0 1
particle scrape ^1.55885 ^ ^1 0 0 0 0 1
particle scrape ^-1.73205 ^ ^-1 0 0 0 0 1
particle scrape ^-1.64545 ^ ^-0.85 0 0 0 0 1
particle scrape ^-1.55885 ^ ^-0.7 0 0 0 0 1
particle scrape ^-1.47224 ^ ^-0.55 0 0 0 0 1
particle scrape ^-1.38564 ^ ^-0.4 0 0 0 0 1
particle scrape ^-1.29904 ^ ^-0.25 0 0 0 0 1
particle scrape ^-1.21244 ^ ^-0.1 0 0 0 0 1
particle scrape ^-1.12583 ^ ^0.05 0 0 0 0 1
particle scrape ^-1.03923 ^ ^0.2 0 0 0 0 1
particle scrape ^-0.95263 ^ ^0.35 0 0 0 0 1
particle scrape ^-0.86603 ^ ^0.5 0 0 0 0 1
particle scrape ^-0.77942 ^ ^0.65 0 0 0 0 1
particle scrape ^-0.69282 ^ ^0.8 0 0 0 0 1
particle scrape ^-0.60622 ^ ^0.95 0 0 0 0 1
particle scrape ^-0.51962 ^ ^1.1 0 0 0 0 1
particle scrape ^-0.43301 ^ ^1.25 0 0 0 0 1
particle scrape ^-0.34641 ^ ^1.4 0 0 0 0 1
particle scrape ^-0.25981 ^ ^1.55 0 0 0 0 1
particle scrape ^-0.17321 ^ ^1.7 0 0 0 0 1
particle scrape ^-0.0866 ^ ^1.85 0 0 0 0 1


text:
#> asset:mob/0131.haruclaire/tick/particle2
#
#
#
# @within function asset:mob/0131.haruclaire/tick/interval

# [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkmAAwCsAhtQGYMCMKAtAEYq0BsbALP1q02tfgw5tqAZgaVSpAJy0Uq5mAIA7WgFsEyQGGKAAnUEYtDLoDOScCgD2hTRCQAmHgRRxncDLbAAbrTYhPrgAB5IlARQUQC+cQSWpGiENojMBFYQFi6I0WBw2NhoMFb6zJQFGPY5EPoFaFYAosWl5c0AjoTB2FAAyuZe5IgMweUJALpAA_3
# 円 1
particle scrape ^0 ^ ^-1 0 0 0 0 1
particle scrape ^0.23932 ^ ^-0.97094 0 0 0 0 1
particle scrape ^0.46472 ^ ^-0.88546 0 0 0 0 1
particle scrape ^0.66312 ^ ^-0.74851 0 0 0 0 1
particle scrape ^0.82298 ^ ^-0.56806 0 0 0 0 1
particle scrape ^0.93502 ^ ^-0.3546 0 0 0 0 1
particle scrape ^0.99271 ^ ^-0.12054 0 0 0 0 1
particle scrape ^0.99271 ^ ^0.12054 0 0 0 0 1
particle scrape ^0.93502 ^ ^0.3546 0 0 0 0 1
particle scrape ^0.82298 ^ ^0.56806 0 0 0 0 1
particle scrape ^0.66312 ^ ^0.74851 0 0 0 0 1
particle scrape ^0.46472 ^ ^0.88546 0 0 0 0 1
particle scrape ^0.23932 ^ ^0.97094 0 0 0 0 1
particle scrape ^0 ^ ^1 0 0 0 0 1
particle scrape ^-0.23932 ^ ^0.97094 0 0 0 0 1
particle scrape ^-0.46472 ^ ^0.88546 0 0 0 0 1
particle scrape ^-0.66312 ^ ^0.74851 0 0 0 0 1
particle scrape ^-0.82298 ^ ^0.56806 0 0 0 0 1
particle scrape ^-0.93502 ^ ^0.3546 0 0 0 0 1
particle scrape ^-0.99271 ^ ^0.12054 0 0 0 0 1
particle scrape ^-0.99271 ^ ^-0.12054 0 0 0 0 1
particle scrape ^-0.93502 ^ ^-0.3546 0 0 0 0 1
particle scrape ^-0.82298 ^ ^-0.56806 0 0 0 0 1
particle scrape ^-0.66312 ^ ^-0.74851 0 0 0 0 1
particle scrape ^-0.46472 ^ ^-0.88546 0 0 0 0 1
particle scrape ^-0.23932 ^ ^-0.97094 0 0 0 0 1


text:
#> asset:mob/0131.haruclaire/tick/particle_pillar
#
#
#
# @within function asset:mob/0131.haruclaire/tick/interval

# ピラーに対して実行
    execute as @e[type=area_effect_cloud,tag=3N.SkillPillarMaker] at @s run function asset:mob/0131.haruclaire/tick/particle3


text:
#> asset:mob/0131.haruclaire/tick/interval
#
#
#
# @within function asset:mob/0131.haruclaire/tick/2.tick

# アイスキャノン用particle
    execute if entity @s[tag=3N.SkillIceCannonParticle] positioned ~ ~1.3 ~ positioned ^ ^ ^1 rotated ~ ~90 run function asset:mob/0131.haruclaire/tick/particle
# アイスキャノン用particle
    execute if entity @s[tag=3N.SkillIceCannonParticle] positioned ~ ~1.3 ~ positioned ^ ^ ^1.4 rotated ~ ~90 run function asset:mob/0131.haruclaire/tick/particle2
# アイスピラー用のパーティクル
    execute if entity @s[tag=3N.SkillIcePillar] if entity @e[type=area_effect_cloud,tag=3N.SkillPillarMaker,limit=1] run schedule function asset:mob/0131.haruclaire/tick/particle_pillar 1t replace


text:
#> asset:mob/0131.haruclaire/tick/1.trigger
#
# Mobが生きている間毎tick実行されるfunction
#
# @within tag/function asset:mob/tick

execute if data storage asset:context {id:131} run function asset:mob/0131.haruclaire/tick/2.tick


text:
#> asset:mob/0131.haruclaire/tick/teleport
#
# テレポ。レクシエルと一緒
#
# @within function asset:mob/0131.haruclaire/tick/**

# 演出
   particle minecraft:dust 0.569 0.957 1 1 ~ ~ ~ 0.8 0.8 0.8 0.1 20 normal @a
   playsound minecraft:block.glass.break hostile @a

# ワープ準備
    execute at @p[gamemode=!spectator] run summon marker ~ ~40 ~ {Tags:["SpreadMarker"]}
    data modify storage lib: Argument.Distance set value 4
    data modify storage lib: Argument.Spread set value 2d
    execute as @e[type=marker,tag=SpreadMarker,limit=1] at @p positioned ~ ~40 ~ rotated ~ 90 run function lib:forward_spreader/circle

# アマスタにタグを付与
    tag @e[type=armor_stand,tag=3N.ArmorStand,distance=..0.01,sort=nearest,limit=1] add 3N.ArmorStandThis

# ワープ
    execute at @p positioned ~ ~40 ~ facing entity @e[type=marker,tag=SpreadMarker,limit=1] feet positioned ^ ^ ^40 if block ~ ~ ~ #lib:no_collision_without_fluid run tp @s ~ ~ ~ facing entity @p

# アマスタを持ってきてタグを消す
    tp @e[type=armor_stand,tag=3N.ArmorStandThis,sort=nearest,limit=1] @s
    tag @e[type=armor_stand,tag=3N.ArmorStandThis,sort=nearest,limit=1] remove 3N.ArmorStandThis

# リセット
    kill @e[type=marker,tag=SpreadMarker]


text:
#> asset:mob/0131.haruclaire/tick/2.2.skill_active
#
#
#
# @within function asset:mob/0131.haruclaire/tick/2.tick

# アイスエリア
    execute if entity @s[tag=3N.SkillIceArea] run function asset:mob/0131.haruclaire/tick/skill_ice_area/1.skill_ice_area

# アイスキャノン
    execute if entity @s[tag=3N.SkillIceCannon] run function asset:mob/0131.haruclaire/tick/skill_ice_canon/1.skill_ice_cannon

# アイスピラー
    execute if entity @s[tag=3N.SkillIcePillar] run function asset:mob/0131.haruclaire/tick/skill_ice_pillar/1.skill_ice_pillar


text:
#> asset:mob/0131.haruclaire/tick/2.1.skill_select
#
#
#
# @within function asset:mob/0131.haruclaire/tick/2.tick

# 疑似乱数取得
    execute store result score $Random Temporary run function lib:random/
# ほしい範囲に剰余算
    scoreboard players operation $Random Temporary %= $3 Const
# デバッグ用スコア
    #scoreboard players set $Random Temporary 2
# スキル選択
    execute if score $Random Temporary matches 0 run tag @s add 3N.SkillIceArea
    execute if score $Random Temporary matches 1 run tag @s add 3N.SkillIceCannon
    execute if score $Random Temporary matches 2 run tag @s add 3N.SkillIcePillar
# リセット
    scoreboard players reset $Random Temporary


text:
#> asset:mob/0131.haruclaire/tick/skill_ice_pillar/3.skill_ice_pillar_attack
#
#
#
# @within function asset:mob/0131.haruclaire/tick/skill_ice_pillar/1.skill_ice_pillar

# 演出
    particle dust 1 1000000000 1000000000 1 ~ ~1.2 ~ 0 1 0 1 10 normal @a
    particle dust 1 1000000000 1000000000 1 ~ ~0.6 ~ 0.1 0.5 0.1 1 10 normal @a
    particle dust 1 1000000000 1000000000 1 ~ ~0 ~ 0.4 0.25 0.4 1 10 normal @a
    playsound minecraft:block.amethyst_cluster.break hostile @a ~ ~ ~ 1 2
    playsound minecraft:block.amethyst_cluster.break hostile @a ~ ~ ~ 1 2
    playsound minecraft:block.amethyst_block.break hostile @a ~ ~ ~ 1 0

# 移動速度低下付与
    effect give @a[tag=!PlayerShouldInvulnerable,distance=..2] slowness 10 2

# ダメージ
    # 与えるダメージ = 20
        data modify storage lib: Argument.Damage set value 50f
    # 第一属性
        data modify storage lib: Argument.AttackType set value "Magic"
    # 第二属性
        data modify storage lib: Argument.ElementType set value "Water"
# 補正functionを実行
    function lib:damage/modifier
# 対象に
    execute as @a[tag=!PlayerShouldInvulnerable,distance=..2] run function lib:damage/
# リセット
    function lib:damage/reset
# あたったらAECkill
    execute if entity @a[gamemode=!spectator,distance=..2] run kill @e[type=area_effect_cloud,tag=3N.SkillPillarMaker,distance=0..1,sort=nearest,limit=1]
# スコアが50なら死ぬ
    execute if score @s 3N.Tick matches 50 run kill @e[type=area_effect_cloud,tag=3N.SkillPillarMaker,distance=0..1,sort=nearest,limit=1]


text:
#> asset:mob/0131.haruclaire/tick/skill_ice_pillar/1.skill_ice_pillar
#
#
#
# @within function asset:mob/0131.haruclaire/tick/2.2.skill_active

# ポーズ
    execute if score @s 3N.Tick matches 1 run item replace entity @e[type=armor_stand,tag=3N.ArmorStand,distance=..0.01,sort=nearest,limit=1] armor.head with stone{CustomModelData:20060}
    execute if score @s 3N.Tick matches 1 run item replace entity @e[type=armor_stand,tag=3N.ArmorStand,distance=..0.01,sort=nearest,limit=1] weapon with stone{CustomModelData:20057}
    execute if score @s 3N.Tick matches 1 run data modify entity @e[type=armor_stand,tag=3N.ArmorStand,distance=..0.01,sort=nearest,limit=1] Pose.LeftArm set value [30f,360f,28f]
    execute if score @s 3N.Tick matches 1 run data modify entity @e[type=armor_stand,tag=3N.ArmorStand,distance=..0.01,sort=nearest,limit=1] Pose.RightArm set value [0f,0f,90f]

# 氷柱を召喚するAECを召喚
    execute if score @s 3N.Tick matches 10 run function asset:mob/0131.haruclaire/tick/skill_ice_pillar/2.skill_ice_pillar_aec_summon
    execute if score @s 3N.Tick matches 15 run function asset:mob/0131.haruclaire/tick/skill_ice_pillar/2.skill_ice_pillar_aec_summon
    execute if score @s 3N.Tick matches 20 run function asset:mob/0131.haruclaire/tick/skill_ice_pillar/2.skill_ice_pillar_aec_summon
    execute if score @s 3N.Tick matches 25 run function asset:mob/0131.haruclaire/tick/skill_ice_pillar/2.skill_ice_pillar_aec_summon
    execute if score @s 3N.Tick matches 30 run function asset:mob/0131.haruclaire/tick/skill_ice_pillar/2.skill_ice_pillar_aec_summon

# 氷柱を召喚
    execute if score @s 3N.Tick matches 45..50 at @e[type=area_effect_cloud,tag=3N.SkillPillarMaker,distance=..30,sort=random,limit=5] run function asset:mob/0131.haruclaire/tick/skill_ice_pillar/3.skill_ice_pillar_attack

# タグを消す
    execute if score @s 3N.Tick matches 60 run tag @s remove 3N.SkillIcePillar
# スコアを少し進めた状態に戻す
    execute if score @s 3N.Tick matches 60 run scoreboard players set @s 3N.Tick -30


text:
#> asset:mob/0131.haruclaire/tick/skill_ice_pillar/2.skill_ice_pillar_aec_summon
#
#
#
# @within function asset:mob/0131.haruclaire/tick/skill_ice_pillar/1.skill_ice_pillar

# 前方拡散でAECを召喚
    execute at @p run summon marker ~ ~20 ~ {Tags:["SpreadMarker"]}
    data modify storage lib: Argument.Distance set value 6
    data modify storage lib: Argument.Spread set value 2d
    execute as @e[type=marker,tag=SpreadMarker,distance=..30] at @p positioned ~ ~20 ~ rotated ~ 90 run function lib:forward_spreader/circle
# 召喚
    execute at @p positioned ~ ~20 ~ facing entity @e[type=marker,tag=SpreadMarker,distance=..30] feet run summon area_effect_cloud ^ ^ ^20 {CustomNameVisible:0b,Particle:"block air",Duration:90,Tags:["Object","3N.SkillPillarMaker"]}
# 演出
    playsound minecraft:entity.puffer_fish.death hostile @a ~ ~ ~ 1 0.3

# キル
    kill @e[tag=SpreadMarker]


text:
#> asset:mob/0131.haruclaire/tick/skill_ice_canon/4.skill_ice_cannon_hit
#
#
#
# @within function asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball

# 演出
    execute at @a[gamemode=!spectator,distance=..2] run particle dust 1 1000000000 1000000000 1 ~ ~1.2 ~ 0.5 0.4 0.5 1 40 normal @a
    execute at @a[gamemode=!spectator,distance=..2] run particle dust 1 1000000000 1000000000 1 ~ ~2.2 ~ 0 2 0 1 140 normal @a
    playsound minecraft:entity.wither.shoot hostile @a ~ ~ ~ 0.5 1.2
    playsound minecraft:block.glass.break hostile @a ~ ~ ~ 1 0
    playsound item.trident.riptide_3 hostile @a ~ ~ ~ 1 2
    playsound item.trident.riptide_2 hostile @a ~ ~ ~ 1 2

# 移動速度低下付与
    effect give @a[tag=!PlayerShouldInvulnerable,distance=..2] slowness 10 2

# ダメージ
    # 与えるダメージ = 25
        data modify storage lib: Argument.Damage set value 55f
    # 第一属性
        data modify storage lib: Argument.AttackType set value "Magic"
    # 第二属性
        data modify storage lib: Argument.ElementType set value "Water"
# 補正functionを実行
    function lib:damage/modifier
# 対象に
    execute as @a[tag=!PlayerShouldInvulnerable,distance=..2] run function lib:damage/
# リセット
    function lib:damage/reset
# 攻撃があたったらタグを付与
    tag @s add 3N.SkillIceCannonHit


text:
#> asset:mob/0131.haruclaire/tick/skill_ice_canon/2.skill_ice_cannon_nohit
#
#
#
# @within function asset:mob/0131.haruclaire/tick/skill_ice_canon/1.skill_ice_cannon

# 攻撃
    execute if score @s 3N.Tick matches 20 positioned ^ ^ ^2 positioned ~ ~1.3 ~ run function asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball
    execute if score @s 3N.Tick matches 21 positioned ^ ^ ^3 positioned ~ ~1.3 ~ run function asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball
    execute if score @s 3N.Tick matches 22 positioned ^ ^ ^4 positioned ~ ~1.3 ~ run function asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball
    execute if score @s 3N.Tick matches 23 positioned ^ ^ ^5 positioned ~ ~1.3 ~ run function asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball
    execute if score @s 3N.Tick matches 24 positioned ^ ^ ^6 positioned ~ ~1.3 ~ run function asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball
    execute if score @s 3N.Tick matches 25 positioned ^ ^ ^7 positioned ~ ~1.3 ~ run function asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball
    execute if score @s 3N.Tick matches 26 positioned ^ ^ ^8 positioned ~ ~1.3 ~ run function asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball
    execute if score @s 3N.Tick matches 27 positioned ^ ^ ^9 positioned ~ ~1.3 ~ run function asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball
    execute if score @s 3N.Tick matches 28 positioned ^ ^ ^10 positioned ~ ~1.3 ~ run function asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball
    execute if score @s 3N.Tick matches 29 positioned ^ ^ ^11 positioned ~ ~1.3 ~ run function asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball
    execute if score @s 3N.Tick matches 30 positioned ^ ^ ^12 positioned ~ ~1.3 ~ run function asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball
    execute if score @s 3N.Tick matches 31 positioned ^ ^ ^13 positioned ~ ~1.3 ~ run function asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball
    execute if score @s 3N.Tick matches 32 positioned ^ ^ ^14 positioned ~ ~1.3 ~ run function asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball
    execute if score @s 3N.Tick matches 33 positioned ^ ^ ^15 positioned ~ ~1.3 ~ run function asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball


text:
#> asset:mob/0131.haruclaire/tick/skill_ice_canon/1.skill_ice_cannon
#
#
#
# @within function asset:mob/0131.haruclaire/tick/2.2.skill_active

# ポーズ
    execute if score @s 3N.Tick matches 1 run item replace entity @e[type=armor_stand,tag=3N.ArmorStand,distance=..0.01,sort=nearest,limit=1] armor.head with stone{CustomModelData:20060}
    execute if score @s 3N.Tick matches 1 run item replace entity @e[type=armor_stand,tag=3N.ArmorStand,distance=..0.01,sort=nearest,limit=1] weapon with stone{CustomModelData:20057}
    execute if score @s 3N.Tick matches 1 run data modify entity @e[type=armor_stand,tag=3N.ArmorStand,distance=..0.01,sort=nearest,limit=1] Pose.LeftArm set value [30f,360f,28f]
    execute if score @s 3N.Tick matches 1 run data modify entity @e[type=armor_stand,tag=3N.ArmorStand,distance=..0.01,sort=nearest,limit=1] Pose.RightArm set value [270f,0f,0f]

# タグをつける
    tag @s[scores={3N.Tick=1}] add 3N.SkillIceCannonParticle

# キャノン攻撃。あたった時に消える
    execute if score @s 3N.Tick matches 20..33 if entity @s[tag=!3N.SkillIceCannonHit] run function asset:mob/0131.haruclaire/tick/skill_ice_canon/2.skill_ice_cannon_nohit

# タグを消す
    tag @s[scores={3N.Tick=33}] remove 3N.SkillIceCannonParticle
    tag @s[scores={3N.Tick=33}] remove 3N.SkillIceCannonHit

# タグを消す
    execute if score @s 3N.Tick matches 60 run tag @s remove 3N.SkillIceCannon
# スコアを少し進めた状態に戻す
    execute if score @s 3N.Tick matches 60 run scoreboard players set @s 3N.Tick -30


text:
#> asset:mob/0131.haruclaire/tick/skill_ice_canon/3.skill_ice_cannon_iceball
#
#
#
# @within function asset:mob/0131.haruclaire/tick/skill_ice_canon/2.skill_ice_cannon_nohit

# 演出
    particle minecraft:block blue_ice ~ ~ ~ 0.2 0.2 0.2 1 20
    playsound minecraft:entity.wither.shoot hostile @a ~ ~ ~ 0.5 1.2
    playsound minecraft:block.glass.break hostile @a ~ ~ ~ 1 0
    particle dust 1 1000000000 1000000000 1 ~ ~ ~ 0.3 0.3 0.3 1 40 normal @a

# 攻撃があたった時
    execute if entity @a[gamemode=!spectator,distance=..2] run function asset:mob/0131.haruclaire/tick/skill_ice_canon/4.skill_ice_cannon_hit


text:
#> asset:mob/0131.haruclaire/tick/skill_ice_area/2.skill_ice_area_attack
#
#
#
# @within function asset:mob/0131.haruclaire/tick/skill_ice_area/1.skill_ice_area

# 演出
    playsound minecraft:block.glass.break hostile @a ~ ~ ~ 1 1
    particle dust 1 1000000000 1000000000 1 ~ ~2 ~ 3 2 3 1 300 normal @a
    particle dust 1000000000 1000000000 1000000000 1 ~ ~2 ~ 3 2 3 1 40 normal @a

    playsound minecraft:entity.dolphin.jump hostile @a ~ ~ ~ 1 2
    playsound minecraft:entity.dolphin.splash hostile @a ~ ~ ~ 1 1
    playsound minecraft:entity.wither.shoot hostile @a ~ ~ ~ 0.5 1.2
    playsound minecraft:block.glass.break hostile @a ~ ~ ~ 1 0

# 移動速度低下付与
    effect give @a[gamemode=!spectator,distance=..6] slowness 10 2

# ダメージ
    # 与えるダメージ = 30
        data modify storage lib: Argument.Damage set value 50f
    # 第一属性
        data modify storage lib: Argument.AttackType set value "Magic"
    # 第二属性
        data modify storage lib: Argument.ElementType set value "Water"
# 補正functionを実行
    function lib:damage/modifier
# 対象に
    execute as @a[tag=!PlayerShouldInvulnerable,distance=..6] run function lib:damage/
# リセット
    function lib:damage/reset

# 周囲にプレイヤーがいたら
    execute if entity @a[gamemode=!spectator,distance=..6] run tag @s add 3N.SkillIceAreaHit

    execute if entity @a[gamemode=!spectator,distance=..6] at @a[gamemode=!spectator,distance=..6] run particle dust 1 1000000000 1000000000 1 ~ ~1.2 ~ 0.5 0.4 0.5 1 140 normal @a


text:
#> asset:mob/0131.haruclaire/tick/skill_ice_area/particle
#
#
#
# @within function asset:mob/0131.haruclaire/tick/skill_ice_area/1.skill_ice_area

# [ImportKey]: [encoded data, 6779 characters]
# 多角形 2
particle end_rod ^0 ^ ^-3.5 0 0 0 0 1
particle end_rod ^0 ^ ^-3.26667 0 0 0 0 1
particle end_rod ^0 ^ ^-3.03333 0 0 0 0 1
particle end_rod ^0 ^ ^-2.8 0 0 0 0 1
particle end_rod ^0 ^ ^-2.56667 0 0 0 0 1
particle end_rod ^0 ^ ^-2.33333 0 0 0 0 1
particle end_rod ^0 ^ ^-2.1 0 0 0 0 1
particle end_rod ^0 ^ ^-1.86667 0 0 0 0 1
particle end_rod ^0 ^ ^-1.63333 0 0 0 0 1
particle end_rod ^0 ^ ^-1.4 0 0 0 0 1
particle end_rod ^0 ^ ^-1.16667 0 0 0 0 1
particle end_rod ^0 ^ ^-0.93333 0 0 0 0 1
particle end_rod ^0 ^ ^-0.7 0 0 0 0 1
particle end_rod ^0 ^ ^-0.46667 0 0 0 0 1
particle end_rod ^0 ^ ^-0.23333 0 0 0 0 1
particle end_rod ^0 ^ ^0 0 0 0 0 1
particle end_rod ^0 ^ ^0.23333 0 0 0 0 1
particle end_rod ^0 ^ ^0.46667 0 0 0 0 1
particle end_rod ^0 ^ ^0.7 0 0 0 0 1
particle end_rod ^0 ^ ^0.93333 0 0 0 0 1
particle end_rod ^0 ^ ^1.16667 0 0 0 0 1
particle end_rod ^0 ^ ^1.4 0 0 0 0 1
particle end_rod ^0 ^ ^1.63333 0 0 0 0 1
particle end_rod ^0 ^ ^1.86667 0 0 0 0 1
particle end_rod ^0 ^ ^2.1 0 0 0 0 1
particle end_rod ^0 ^ ^2.33333 0 0 0 0 1
particle end_rod ^0 ^ ^2.56667 0 0 0 0 1
particle end_rod ^0 ^ ^2.8 0 0 0 0 1
particle end_rod ^0 ^ ^3.03333 0 0 0 0 1
particle end_rod ^0 ^ ^3.26667 0 0 0 0 1
particle end_rod ^3.03109 ^ ^-1.75 0 0 0 0 1
particle end_rod ^2.82902 ^ ^-1.63333 0 0 0 0 1
particle end_rod ^2.62694 ^ ^-1.51667 0 0 0 0 1
particle end_rod ^2.42487 ^ ^-1.4 0 0 0 0 1
particle end_rod ^2.2228 ^ ^-1.28333 0 0 0 0 1
particle end_rod ^2.02073 ^ ^-1.16667 0 0 0 0 1
particle end_rod ^1.81865 ^ ^-1.05 0 0 0 0 1
particle end_rod ^1.61658 ^ ^-0.93333 0 0 0 0 1
particle end_rod ^1.41451 ^ ^-0.81667 0 0 0 0 1
particle end_rod ^1.21244 ^ ^-0.7 0 0 0 0 1
particle end_rod ^1.01036 ^ ^-0.58333 0 0 0 0 1
particle end_rod ^0.80829 ^ ^-0.46667 0 0 0 0 1
particle end_rod ^0.60622 ^ ^-0.35 0 0 0 0 1
particle end_rod ^0.40415 ^ ^-0.23333 0 0 0 0 1
particle end_rod ^0.20207 ^ ^-0.11667 0 0 0 0 1
particle end_rod ^0 ^ ^0 0 0 0 0 1
particle end_rod ^-0.20207 ^ ^0.11667 0 0 0 0 1
particle end_rod ^-0.40415 ^ ^0.23333 0 0 0 0 1
particle end_rod ^-0.60622 ^ ^0.35 0 0 0 0 1
particle end_rod ^-0.80829 ^ ^0.46667 0 0 0 0 1
particle end_rod ^-1.01036 ^ ^0.58333 0 0 0 0 1
particle end_rod ^-1.21244 ^ ^0.7 0 0 0 0 1
particle end_rod ^-1.41451 ^ ^0.81667 0 0 0 0 1
particle end_rod ^-1.61658 ^ ^0.93333 0 0 0 0 1
particle end_rod ^-1.81865 ^ ^1.05 0 0 0 0 1
particle end_rod ^-2.02073 ^ ^1.16667 0 0 0 0 1
particle end_rod ^-2.2228 ^ ^1.28333 0 0 0 0 1
particle end_rod ^-2.42487 ^ ^1.4 0 0 0 0 1
particle end_rod ^-2.62694 ^ ^1.51667 0 0 0 0 1
particle end_rod ^-2.82902 ^ ^1.63333 0 0 0 0 1
particle end_rod ^3.03109 ^ ^1.75 0 0 0 0 1
particle end_rod ^2.82902 ^ ^1.63333 0 0 0 0 1
particle end_rod ^2.62694 ^ ^1.51667 0 0 0 0 1
particle end_rod ^2.42487 ^ ^1.4 0 0 0 0 1
particle end_rod ^2.2228 ^ ^1.28333 0 0 0 0 1
particle end_rod ^2.02073 ^ ^1.16667 0 0 0 0 1
particle end_rod ^1.81865 ^ ^1.05 0 0 0 0 1
particle end_rod ^1.61658 ^ ^0.93333 0 0 0 0 1
particle end_rod ^1.41451 ^ ^0.81667 0 0 0 0 1
particle end_rod ^1.21244 ^ ^0.7 0 0 0 0 1
particle end_rod ^1.01036 ^ ^0.58333 0 0 0 0 1
particle end_rod ^0.80829 ^ ^0.46667 0 0 0 0 1
particle end_rod ^0.60622 ^ ^0.35 0 0 0 0 1
particle end_rod ^0.40415 ^ ^0.23333 0 0 0 0 1
particle end_rod ^0.20207 ^ ^0.11667 0 0 0 0 1
particle end_rod ^0 ^ ^0 0 0 0 0 1
particle end_rod ^-0.20207 ^ ^-0.11667 0 0 0 0 1
particle end_rod ^-0.40415 ^ ^-0.23333 0 0 0 0 1
particle end_rod ^-0.60622 ^ ^-0.35 0 0 0 0 1
particle end_rod ^-0.80829 ^ ^-0.46667 0 0 0 0 1
particle end_rod ^-1.01036 ^ ^-0.58333 0 0 0 0 1
particle end_rod ^-1.21244 ^ ^-0.7 0 0 0 0 1
particle end_rod ^-1.41451 ^ ^-0.81667 0 0 0 0 1
particle end_rod ^-1.61658 ^ ^-0.93333 0 0 0 0 1
particle end_rod ^-1.81865 ^ ^-1.05 0 0 0 0 1
particle end_rod ^-2.02073 ^ ^-1.16667 0 0 0 0 1
particle end_rod ^-2.2228 ^ ^-1.28333 0 0 0 0 1
particle end_rod ^-2.42487 ^ ^-1.4 0 0 0 0 1
particle end_rod ^-2.62694 ^ ^-1.51667 0 0 0 0 1
particle end_rod ^-2.82902 ^ ^-1.63333 0 0 0 0 1
particle end_rod ^0 ^ ^3.5 0 0 0 0 1
particle end_rod ^0 ^ ^3.26667 0 0 0 0 1
particle end_rod ^0 ^ ^3.03333 0 0 0 0 1
particle end_rod ^0 ^ ^2.8 0 0 0 0 1
particle end_rod ^0 ^ ^2.56667 0 0 0 0 1
particle end_rod ^0 ^ ^2.33333 0 0 0 0 1
particle end_rod ^0 ^ ^2.1 0 0 0 0 1
particle end_rod ^0 ^ ^1.86667 0 0 0 0 1
particle end_rod ^0 ^ ^1.63333 0 0 0 0 1
particle end_rod ^0 ^ ^1.4 0 0 0 0 1
particle end_rod ^0 ^ ^1.16667 0 0 0 0 1
particle end_rod ^0 ^ ^0.93333 0 0 0 0 1
particle end_rod ^0 ^ ^0.7 0 0 0 0 1
particle end_rod ^0 ^ ^0.46667 0 0 0 0 1
particle end_rod ^0 ^ ^0.23333 0 0 0 0 1
particle end_rod ^0 ^ ^0 0 0 0 0 1
particle end_rod ^0 ^ ^-0.23333 0 0 0 0 1
particle end_rod ^0 ^ ^-0.46667 0 0 0 0 1
particle end_rod ^0 ^ ^-0.7 0 0 0 0 1
particle end_rod ^0 ^ ^-0.93333 0 0 0 0 1
particle end_rod ^0 ^ ^-1.16667 0 0 0 0 1
particle end_rod ^0 ^ ^-1.4 0 0 0 0 1
particle end_rod ^0 ^ ^-1.63333 0 0 0 0 1
particle end_rod ^0 ^ ^-1.86667 0 0 0 0 1
particle end_rod ^0 ^ ^-2.1 0 0 0 0 1
particle end_rod ^0 ^ ^-2.33333 0 0 0 0 1
particle end_rod ^0 ^ ^-2.56667 0 0 0 0 1
particle end_rod ^0 ^ ^-2.8 0 0 0 0 1
particle end_rod ^0 ^ ^-3.03333 0 0 0 0 1
particle end_rod ^0 ^ ^-3.26667 0 0 0 0 1
particle end_rod ^-3.03109 ^ ^1.75 0 0 0 0 1
particle end_rod ^-2.82902 ^ ^1.63333 0 0 0 0 1
particle end_rod ^-2.62694 ^ ^1.51667 0 0 0 0 1
particle end_rod ^-2.42487 ^ ^1.4 0 0 0 0 1
particle end_rod ^-2.2228 ^ ^1.28333 0 0 0 0 1
particle end_rod ^-2.02073 ^ ^1.16667 0 0 0 0 1
particle end_rod ^-1.81865 ^ ^1.05 0 0 0 0 1
particle end_rod ^-1.61658 ^ ^0.93333 0 0 0 0 1
particle end_rod ^-1.41451 ^ ^0.81667 0 0 0 0 1
particle end_rod ^-1.21244 ^ ^0.7 0 0 0 0 1
particle end_rod ^-1.01036 ^ ^0.58333 0 0 0 0 1
particle end_rod ^-0.80829 ^ ^0.46667 0 0 0 0 1
particle end_rod ^-0.60622 ^ ^0.35 0 0 0 0 1
particle end_rod ^-0.40415 ^ ^0.23333 0 0 0 0 1
particle end_rod ^-0.20207 ^ ^0.11667 0 0 0 0 1
particle end_rod ^0 ^ ^0 0 0 0 0 1
particle end_rod ^0.20207 ^ ^-0.11667 0 0 0 0 1
particle end_rod ^0.40415 ^ ^-0.23333 0 0 0 0 1
particle end_rod ^0.60622 ^ ^-0.35 0 0 0 0 1
particle end_rod ^0.80829 ^ ^-0.46667 0 0 0 0 1
particle end_rod ^1.01036 ^ ^-0.58333 0 0 0 0 1
particle end_rod ^1.21244 ^ ^-0.7 0 0 0 0 1
particle end_rod ^1.41451 ^ ^-0.81667 0 0 0 0 1
particle end_rod ^1.61658 ^ ^-0.93333 0 0 0 0 1
particle end_rod ^1.81865 ^ ^-1.05 0 0 0 0 1
particle end_rod ^2.02073 ^ ^-1.16667 0 0 0 0 1
particle end_rod ^2.2228 ^ ^-1.28333 0 0 0 0 1
particle end_rod ^2.42487 ^ ^-1.4 0 0 0 0 1
particle end_rod ^2.62694 ^ ^-1.51667 0 0 0 0 1
particle end_rod ^2.82902 ^ ^-1.63333 0 0 0 0 1
particle end_rod ^-3.03109 ^ ^-1.75 0 0 0 0 1
particle end_rod ^-2.82902 ^ ^-1.63333 0 0 0 0 1
particle end_rod ^-2.62694 ^ ^-1.51667 0 0 0 0 1
particle end_rod ^-2.42487 ^ ^-1.4 0 0 0 0 1
particle end_rod ^-2.2228 ^ ^-1.28333 0 0 0 0 1
particle end_rod ^-2.02073 ^ ^-1.16667 0 0 0 0 1
particle end_rod ^-1.81865 ^ ^-1.05 0 0 0 0 1
particle end_rod ^-1.61658 ^ ^-0.93333 0 0 0 0 1
particle end_rod ^-1.41451 ^ ^-0.81667 0 0 0 0 1
particle end_rod ^-1.21244 ^ ^-0.7 0 0 0 0 1
particle end_rod ^-1.01036 ^ ^-0.58333 0 0 0 0 1
particle end_rod ^-0.80829 ^ ^-0.46667 0 0 0 0 1
particle end_rod ^-0.60622 ^ ^-0.35 0 0 0 0 1
particle end_rod ^-0.40415 ^ ^-0.23333 0 0 0 0 1
particle end_rod ^-0.20207 ^ ^-0.11667 0 0 0 0 1
particle end_rod ^0 ^ ^0 0 0 0 0 1
particle end_rod ^0.20207 ^ ^0.11667 0 0 0 0 1
particle end_rod ^0.40415 ^ ^0.23333 0 0 0 0 1
particle end_rod ^0.60622 ^ ^0.35 0 0 0 0 1
particle end_rod ^0.80829 ^ ^0.46667 0 0 0 0 1
particle end_rod ^1.01036 ^ ^0.58333 0 0 0 0 1
particle end_rod ^1.21244 ^ ^0.7 0 0 0 0 1
particle end_rod ^1.41451 ^ ^0.81667 0 0 0 0 1
particle end_rod ^1.61658 ^ ^0.93333 0 0 0 0 1
particle end_rod ^1.81865 ^ ^1.05 0 0 0 0 1
particle end_rod ^2.02073 ^ ^1.16667 0 0 0 0 1
particle end_rod ^2.2228 ^ ^1.28333 0 0 0 0 1
particle end_rod ^2.42487 ^ ^1.4 0 0 0 0 1
particle end_rod ^2.62694 ^ ^1.51667 0 0 0 0 1
particle end_rod ^2.82902 ^ ^1.63333 0 0 0 0 1
# 多角形 10
particle end_rod ^3.49947 ^ ^0.06108 0 0 0 0 1
particle end_rod ^3.24402 ^ ^0.19196 0 0 0 0 1
particle end_rod ^2.99501 ^ ^0.31213 0 0 0 0 1
particle end_rod ^2.75244 ^ ^0.42157 0 0 0 0 1
particle end_rod ^2.5163 ^ ^0.52031 0 0 0 0 1
particle end_rod ^2.28661 ^ ^0.60833 0 0 0 0 1
particle end_rod ^2.06335 ^ ^0.68563 0 0 0 0 1
particle end_rod ^1.84653 ^ ^0.75222 0 0 0 0 1
particle end_rod ^1.63615 ^ ^0.8081 0 0 0 0 1
particle end_rod ^1.4322 ^ ^0.85326 0 0 0 0 1
particle end_rod ^1.2347 ^ ^0.88771 0 0 0 0 1
particle end_rod ^1.04363 ^ ^0.91144 0 0 0 0 1
particle end_rod ^0.859 ^ ^0.92446 0 0 0 0 1
particle end_rod ^0.6808 ^ ^0.92676 0 0 0 0 1
particle end_rod ^0.50905 ^ ^0.91835 0 0 0 0 1
particle end_rod ^0.34373 ^ ^0.89922 0 0 0 0 1
particle end_rod ^0.18486 ^ ^0.86938 0 0 0 0 1
particle end_rod ^0.03241 ^ ^0.82883 0 0 0 0 1
particle end_rod ^-0.11359 ^ ^0.77756 0 0 0 0 1
particle end_rod ^-0.25315 ^ ^0.71557 0 0 0 0 1
particle end_rod ^-0.38628 ^ ^0.64288 0 0 0 0 1
particle end_rod ^-0.51297 ^ ^0.55946 0 0 0 0 1
particle end_rod ^-0.63322 ^ ^0.46533 0 0 0 0 1
particle end_rod ^-0.74703 ^ ^0.36049 0 0 0 0 1
particle end_rod ^-0.8544 ^ ^0.24493 0 0 0 0 1
particle end_rod ^-0.95534 ^ ^0.11866 0 0 0 0 1
particle end_rod ^-1.04984 ^ ^-0.01833 0 0 0 0 1
particle end_rod ^-1.1379 ^ ^-0.16603 0 0 0 0 1
particle end_rod ^-1.21952 ^ ^-0.32444 0 0 0 0 1
particle end_rod ^-1.29471 ^ ^-0.49357 0 0 0 0 1
particle end_rod ^-1.36345 ^ ^-0.67342 0 0 0 0 1
particle end_rod ^-1.42576 ^ ^-0.86398 0 0 0 0 1
particle end_rod ^-1.48163 ^ ^-1.06525 0 0 0 0 1
particle end_rod ^-1.53107 ^ ^-1.27724 0 0 0 0 1
particle end_rod ^-1.57406 ^ ^-1.49994 0 0 0 0 1
particle end_rod ^-1.61062 ^ ^-1.73336 0 0 0 0 1
particle end_rod ^-1.64074 ^ ^-1.97749 0 0 0 0 1
particle end_rod ^-1.66442 ^ ^-2.23234 0 0 0 0 1
particle end_rod ^-1.68166 ^ ^-2.4979 0 0 0 0 1
particle end_rod ^-1.69247 ^ ^-2.77418 0 0 0 0 1
particle end_rod ^1.69683 ^ ^3.06117 0 0 0 0 1
particle end_rod ^1.45577 ^ ^2.90538 0 0 0 0 1
particle end_rod ^1.2272 ^ ^2.74982 0 0 0 0 1
particle end_rod ^1.01112 ^ ^2.59447 0 0 0 0 1
particle end_rod ^0.80755 ^ ^2.43934 0 0 0 0 1
particle end_rod ^0.61648 ^ ^2.28442 0 0 0 0 1
particle end_rod ^0.4379 ^ ^2.12973 0 0 0 0 1
particle end_rod ^0.27182 ^ ^1.97525 0 0 0 0 1
particle end_rod ^0.11824 ^ ^1.82099 0 0 0 0 1
particle end_rod ^-0.02285 ^ ^1.66695 0 0 0 0 1
particle end_rod ^-0.15143 ^ ^1.51313 0 0 0 0 1
particle end_rod ^-0.26752 ^ ^1.35953 0 0 0 0 1
particle end_rod ^-0.37111 ^ ^1.20614 0 0 0 0 1
particle end_rod ^-0.4622 ^ ^1.05298 0 0 0 0 1
particle end_rod ^-0.54079 ^ ^0.90003 0 0 0 0 1
particle end_rod ^-0.60688 ^ ^0.74729 0 0 0 0 1
particle end_rod ^-0.66048 ^ ^0.59478 0 0 0 0 1
particle end_rod ^-0.70158 ^ ^0.44249 0 0 0 0 1
particle end_rod ^-0.73018 ^ ^0.29041 0 0 0 0 1
particle end_rod ^-0.74628 ^ ^0.13855 0 0 0 0 1
particle end_rod ^-0.74989 ^ ^-0.01309 0 0 0 0 1
particle end_rod ^-0.74099 ^ ^-0.16451 0 0 0 0 1
particle end_rod ^-0.7196 ^ ^-0.31572 0 0 0 0 1
particle end_rod ^-0.68571 ^ ^-0.4667 0 0 0 0 1
particle end_rod ^-0.63932 ^ ^-0.61747 0 0 0 0 1
particle end_rod ^-0.58043 ^ ^-0.76802 0 0 0 0 1
particle end_rod ^-0.50905 ^ ^-0.91835 0 0 0 0 1
particle end_rod ^-0.42517 ^ ^-1.06846 0 0 0 0 1
particle end_rod ^-0.32879 ^ ^-1.21836 0 0 0 0 1
particle end_rod ^-0.21991 ^ ^-1.36804 0 0 0 0 1
particle end_rod ^-0.09853 ^ ^-1.5175 0 0 0 0 1
particle end_rod ^0.03534 ^ ^-1.66674 0 0 0 0 1
particle end_rod ^0.18172 ^ ^-1.81576 0 0 0 0 1
particle end_rod ^0.34059 ^ ^-1.96456 0 0 0 0 1
particle end_rod ^0.51196 ^ ^-2.11315 0 0 0 0 1
particle end_rod ^0.69582 ^ ^-2.26152 0 0 0 0 1
particle end_rod ^0.89219 ^ ^-2.40967 0 0 0 0 1
particle end_rod ^1.10105 ^ ^-2.5576 0 0 0 0 1
particle end_rod ^1.32242 ^ ^-2.70531 0 0 0 0 1
particle end_rod ^1.55628 ^ ^-2.85281 0 0 0 0 1
particle end_rod ^-1.80263 ^ ^3.00009 0 0 0 0 1
particle end_rod ^-1.78825 ^ ^2.71342 0 0 0 0 1
particle end_rod ^-1.76781 ^ ^2.43769 0 0 0 0 1
particle end_rod ^-1.74131 ^ ^2.17289 0 0 0 0 1
particle end_rod ^-1.70875 ^ ^1.91903 0 0 0 0 1
particle end_rod ^-1.67013 ^ ^1.67609 0 0 0 0 1
particle end_rod ^-1.62545 ^ ^1.4441 0 0 0 0 1
particle end_rod ^-1.57471 ^ ^1.22303 0 0 0 0 1
particle end_rod ^-1.51791 ^ ^1.01289 0 0 0 0 1
particle end_rod ^-1.45505 ^ ^0.81369 0 0 0 0 1
particle end_rod ^-1.38613 ^ ^0.62542 0 0 0 0 1
particle end_rod ^-1.31114 ^ ^0.44809 0 0 0 0 1
particle end_rod ^-1.2301 ^ ^0.28168 0 0 0 0 1
particle end_rod ^-1.143 ^ ^0.12621 0 0 0 0 1
particle end_rod ^-1.04984 ^ ^-0.01833 0 0 0 0 1
particle end_rod ^-0.95062 ^ ^-0.15193 0 0 0 0 1
particle end_rod ^-0.84534 ^ ^-0.2746 0 0 0 0 1
particle end_rod ^-0.73399 ^ ^-0.38634 0 0 0 0 1
particle end_rod ^-0.61659 ^ ^-0.48715 0 0 0 0 1
particle end_rod ^-0.49313 ^ ^-0.57702 0 0 0 0 1
particle end_rod ^-0.36361 ^ ^-0.65596 0 0 0 0 1
particle end_rod ^-0.22802 ^ ^-0.72397 0 0 0 0 1
particle end_rod ^-0.08638 ^ ^-0.78105 0 0 0 0 1
particle end_rod ^0.06132 ^ ^-0.82719 0 0 0 0 1
particle end_rod ^0.21508 ^ ^-0.8624 0 0 0 0 1
particle end_rod ^0.37491 ^ ^-0.88668 0 0 0 0 1
particle end_rod ^0.54079 ^ ^-0.90003 0 0 0 0 1
particle end_rod ^0.71273 ^ ^-0.90244 0 0 0 0 1
particle end_rod ^0.89074 ^ ^-0.89392 0 0 0 0 1
particle end_rod ^1.0748 ^ ^-0.87446 0 0 0 0 1
particle end_rod ^1.26492 ^ ^-0.84408 0 0 0 0 1
particle end_rod ^1.46111 ^ ^-0.80276 0 0 0 0 1
particle end_rod ^1.66335 ^ ^-0.75051 0 0 0 0 1
particle end_rod ^1.87166 ^ ^-0.68732 0 0 0 0 1
particle end_rod ^2.08602 ^ ^-0.61321 0 0 0 0 1
particle end_rod ^2.30644 ^ ^-0.52816 0 0 0 0 1
particle end_rod ^2.53293 ^ ^-0.43217 0 0 0 0 1
particle end_rod ^2.76547 ^ ^-0.32526 0 0 0 0 1
particle end_rod ^3.00408 ^ ^-0.20741 0 0 0 0 1
particle end_rod ^3.24874 ^ ^-0.07863 0 0 0 0 1
particle end_rod ^-3.49947 ^ ^-0.06108 0 0 0 0 1
particle end_rod ^-3.24402 ^ ^-0.19196 0 0 0 0 1
particle end_rod ^-2.99501 ^ ^-0.31213 0 0 0 0 1
particle end_rod ^-2.75244 ^ ^-0.42157 0 0 0 0 1
particle end_rod ^-2.5163 ^ ^-0.52031 0 0 0 0 1
particle end_rod ^-2.28661 ^ ^-0.60833 0 0 0 0 1
particle end_rod ^-2.06335 ^ ^-0.68563 0 0 0 0 1
particle end_rod ^-1.84653 ^ ^-0.75222 0 0 0 0 1
particle end_rod ^-1.63615 ^ ^-0.8081 0 0 0 0 1
particle end_rod ^-1.4322 ^ ^-0.85326 0 0 0 0 1
particle end_rod ^-1.2347 ^ ^-0.88771 0 0 0 0 1
particle end_rod ^-1.04363 ^ ^-0.91144 0 0 0 0 1
particle end_rod ^-0.859 ^ ^-0.92446 0 0 0 0 1
particle end_rod ^-0.6808 ^ ^-0.92676 0 0 0 0 1
particle end_rod ^-0.50905 ^ ^-0.91835 0 0 0 0 1
particle end_rod ^-0.34373 ^ ^-0.89922 0 0 0 0 1
particle end_rod ^-0.18486 ^ ^-0.86938 0 0 0 0 1
particle end_rod ^-0.03241 ^ ^-0.82883 0 0 0 0 1
particle end_rod ^0.11359 ^ ^-0.77756 0 0 0 0 1
particle end_rod ^0.25315 ^ ^-0.71557 0 0 0 0 1
particle end_rod ^0.38628 ^ ^-0.64288 0 0 0 0 1
particle end_rod ^0.51297 ^ ^-0.55946 0 0 0 0 1
particle end_rod ^0.63322 ^ ^-0.46533 0 0 0 0 1
particle end_rod ^0.74703 ^ ^-0.36049 0 0 0 0 1
particle end_rod ^0.8544 ^ ^-0.24493 0 0 0 0 1
particle end_rod ^0.95534 ^ ^-0.11866 0 0 0 0 1
particle end_rod ^1.04984 ^ ^0.01833 0 0 0 0 1
particle end_rod ^1.1379 ^ ^0.16603 0 0 0 0 1
particle end_rod ^1.21952 ^ ^0.32444 0 0 0 0 1
particle end_rod ^1.29471 ^ ^0.49357 0 0 0 0 1
particle end_rod ^1.36345 ^ ^0.67342 0 0 0 0 1
particle end_rod ^1.42576 ^ ^0.86398 0 0 0 0 1
particle end_rod ^1.48163 ^ ^1.06525 0 0 0 0 1
particle end_rod ^1.53107 ^ ^1.27724 0 0 0 0 1
particle end_rod ^1.57406 ^ ^1.49994 0 0 0 0 1
particle end_rod ^1.61062 ^ ^1.73336 0 0 0 0 1
particle end_rod ^1.64074 ^ ^1.97749 0 0 0 0 1
particle end_rod ^1.66442 ^ ^2.23234 0 0 0 0 1
particle end_rod ^1.68166 ^ ^2.4979 0 0 0 0 1
particle end_rod ^1.69247 ^ ^2.77418 0 0 0 0 1
particle end_rod ^-1.69683 ^ ^-3.06117 0 0 0 0 1
particle end_rod ^-1.45577 ^ ^-2.90538 0 0 0 0 1
particle end_rod ^-1.2272 ^ ^-2.74982 0 0 0 0 1
particle end_rod ^-1.01112 ^ ^-2.59447 0 0 0 0 1
particle end_rod ^-0.80755 ^ ^-2.43934 0 0 0 0 1
particle end_rod ^-0.61648 ^ ^-2.28442 0 0 0 0 1
particle end_rod ^-0.4379 ^ ^-2.12973 0 0 0 0 1
particle end_rod ^-0.27182 ^ ^-1.97525 0 0 0 0 1
particle end_rod ^-0.11824 ^ ^-1.82099 0 0 0 0 1
particle end_rod ^0.02285 ^ ^-1.66695 0 0 0 0 1
particle end_rod ^0.15143 ^ ^-1.51313 0 0 0 0 1
particle end_rod ^0.26752 ^ ^-1.35953 0 0 0 0 1
particle end_rod ^0.37111 ^ ^-1.20614 0 0 0 0 1
particle end_rod ^0.4622 ^ ^-1.05298 0 0 0 0 1
particle end_rod ^0.54079 ^ ^-0.90003 0 0 0 0 1
particle end_rod ^0.60688 ^ ^-0.74729 0 0 0 0 1
particle end_rod ^0.66048 ^ ^-0.59478 0 0 0 0 1
particle end_rod ^0.70158 ^ ^-0.44249 0 0 0 0 1
particle end_rod ^0.73018 ^ ^-0.29041 0 0 0 0 1
particle end_rod ^0.74628 ^ ^-0.13855 0 0 0 0 1
particle end_rod ^0.74989 ^ ^0.01309 0 0 0 0 1
particle end_rod ^0.74099 ^ ^0.16451 0 0 0 0 1
particle end_rod ^0.7196 ^ ^0.31572 0 0 0 0 1
particle end_rod ^0.68571 ^ ^0.4667 0 0 0 0 1
particle end_rod ^0.63932 ^ ^0.61747 0 0 0 0 1
particle end_rod ^0.58043 ^ ^0.76802 0 0 0 0 1
particle end_rod ^0.50905 ^ ^0.91835 0 0 0 0 1
particle end_rod ^0.42517 ^ ^1.06846 0 0 0 0 1
particle end_rod ^0.32879 ^ ^1.21836 0 0 0 0 1
particle end_rod ^0.21991 ^ ^1.36804 0 0 0 0 1
particle end_rod ^0.09853 ^ ^1.5175 0 0 0 0 1
particle end_rod ^-0.03534 ^ ^1.66674 0 0 0 0 1
particle end_rod ^-0.18172 ^ ^1.81576 0 0 0 0 1
particle end_rod ^-0.34059 ^ ^1.96456 0 0 0 0 1
particle end_rod ^-0.51196 ^ ^2.11315 0 0 0 0 1
particle end_rod ^-0.69582 ^ ^2.26152 0 0 0 0 1
particle end_rod ^-0.89219 ^ ^2.40967 0 0 0 0 1
particle end_rod ^-1.10105 ^ ^2.5576 0 0 0 0 1
particle end_rod ^-1.32242 ^ ^2.70531 0 0 0 0 1
particle end_rod ^-1.55628 ^ ^2.85281 0 0 0 0 1
particle end_rod ^1.80263 ^ ^-3.00009 0 0 0 0 1
particle end_rod ^1.78825 ^ ^-2.71342 0 0 0 0 1
particle end_rod ^1.76781 ^ ^-2.43769 0 0 0 0 1
particle end_rod ^1.74131 ^ ^-2.17289 0 0 0 0 1
particle end_rod ^1.70875 ^ ^-1.91903 0 0 0 0 1
particle end_rod ^1.67013 ^ ^-1.67609 0 0 0 0 1
particle end_rod ^1.62545 ^ ^-1.4441 0 0 0 0 1
particle end_rod ^1.57471 ^ ^-1.22303 0 0 0 0 1
particle end_rod ^1.51791 ^ ^-1.01289 0 0 0 0 1
particle end_rod ^1.45505 ^ ^-0.81369 0 0 0 0 1
particle end_rod ^1.38613 ^ ^-0.62542 0 0 0 0 1
particle end_rod ^1.31114 ^ ^-0.44809 0 0 0 0 1
particle end_rod ^1.2301 ^ ^-0.28168 0 0 0 0 1
particle end_rod ^1.143 ^ ^-0.12621 0 0 0 0 1
particle end_rod ^1.04984 ^ ^0.01833 0 0 0 0 1
particle end_rod ^0.95062 ^ ^0.15193 0 0 0 0 1
particle end_rod ^0.84534 ^ ^0.2746 0 0 0 0 1
particle end_rod ^0.73399 ^ ^0.38634 0 0 0 0 1
particle end_rod ^0.61659 ^ ^0.48715 0 0 0 0 1
particle end_rod ^0.49313 ^ ^0.57702 0 0 0 0 1
particle end_rod ^0.36361 ^ ^0.65596 0 0 0 0 1
particle end_rod ^0.22802 ^ ^0.72397 0 0 0 0 1
particle end_rod ^0.08638 ^ ^0.78105 0 0 0 0 1
particle end_rod ^-0.06132 ^ ^0.82719 0 0 0 0 1
particle end_rod ^-0.21508 ^ ^0.8624 0 0 0 0 1
particle end_rod ^-0.37491 ^ ^0.88668 0 0 0 0 1
particle end_rod ^-0.54079 ^ ^0.90003 0 0 0 0 1
particle end_rod ^-0.71273 ^ ^0.90244 0 0 0 0 1
particle end_rod ^-0.89074 ^ ^0.89392 0 0 0 0 1
particle end_rod ^-1.0748 ^ ^0.87446 0 0 0 0 1
particle end_rod ^-1.26492 ^ ^0.84408 0 0 0 0 1
particle end_rod ^-1.46111 ^ ^0.80276 0 0 0 0 1
particle end_rod ^-1.66335 ^ ^0.75051 0 0 0 0 1
particle end_rod ^-1.87166 ^ ^0.68732 0 0 0 0 1
particle end_rod ^-2.08602 ^ ^0.61321 0 0 0 0 1
particle end_rod ^-2.30644 ^ ^0.52816 0 0 0 0 1
particle end_rod ^-2.53293 ^ ^0.43217 0 0 0 0 1
particle end_rod ^-2.76547 ^ ^0.32526 0 0 0 0 1
particle end_rod ^-3.00408 ^ ^0.20741 0 0 0 0 1
particle end_rod ^-3.24874 ^ ^0.07863 0 0 0 0 1
# 線 A-B
particle end_rod ^0 ^ ^-3.5 0 0 0 0 1
particle end_rod ^-0.07848 ^ ^-3.74726 0 0 0 0 1
particle end_rod ^-0.15695 ^ ^-3.99452 0 0 0 0 1
particle end_rod ^-0.23543 ^ ^-4.24178 0 0 0 0 1
particle end_rod ^-0.3139 ^ ^-4.48904 0 0 0 0 1
particle end_rod ^3.03109 ^ ^-1.75 0 0 0 0 1
particle end_rod ^3.20598 ^ ^-1.94159 0 0 0 0 1
particle end_rod ^3.38088 ^ ^-2.13318 0 0 0 0 1
particle end_rod ^3.55577 ^ ^-2.32478 0 0 0 0 1
particle end_rod ^3.73067 ^ ^-2.51637 0 0 0 0 1
particle end_rod ^3.03109 ^ ^1.75 0 0 0 0 1
particle end_rod ^3.28446 ^ ^1.80567 0 0 0 0 1
particle end_rod ^3.53783 ^ ^1.86134 0 0 0 0 1
particle end_rod ^3.7912 ^ ^1.917 0 0 0 0 1
particle end_rod ^4.04457 ^ ^1.97267 0 0 0 0 1
particle end_rod ^0 ^ ^3.5 0 0 0 0 1
particle end_rod ^0.07848 ^ ^3.74726 0 0 0 0 1
particle end_rod ^0.15695 ^ ^3.99452 0 0 0 0 1
particle end_rod ^0.23543 ^ ^4.24178 0 0 0 0 1
particle end_rod ^0.3139 ^ ^4.48904 0 0 0 0 1
particle end_rod ^-3.03109 ^ ^1.75 0 0 0 0 1
particle end_rod ^-3.20598 ^ ^1.94159 0 0 0 0 1
particle end_rod ^-3.38088 ^ ^2.13318 0 0 0 0 1
particle end_rod ^-3.55577 ^ ^2.32478 0 0 0 0 1
particle end_rod ^-3.73067 ^ ^2.51637 0 0 0 0 1
particle end_rod ^-3.03109 ^ ^-1.75 0 0 0 0 1
particle end_rod ^-3.28446 ^ ^-1.80567 0 0 0 0 1
particle end_rod ^-3.53783 ^ ^-1.86134 0 0 0 0 1
particle end_rod ^-3.7912 ^ ^-1.917 0 0 0 0 1
particle end_rod ^-4.04457 ^ ^-1.97267 0 0 0 0 1
# 線 B-C
particle end_rod ^-0.3139 ^ ^-4.48904 0 0 0 0 1
particle end_rod ^-0.23543 ^ ^-4.74178 0 0 0 0 1
particle end_rod ^-0.15695 ^ ^-4.99452 0 0 0 0 1
particle end_rod ^-0.07848 ^ ^-5.24726 0 0 0 0 1
particle end_rod ^0 ^ ^-5.5 0 0 0 0 1
particle end_rod ^3.73067 ^ ^-2.51637 0 0 0 0 1
particle end_rod ^3.98879 ^ ^-2.57478 0 0 0 0 1
particle end_rod ^4.2469 ^ ^-2.63318 0 0 0 0 1
particle end_rod ^4.50502 ^ ^-2.69159 0 0 0 0 1
particle end_rod ^4.76314 ^ ^-2.75 0 0 0 0 1
particle end_rod ^4.04457 ^ ^1.97267 0 0 0 0 1
particle end_rod ^4.22421 ^ ^2.167 0 0 0 0 1
particle end_rod ^4.40386 ^ ^2.36134 0 0 0 0 1
particle end_rod ^4.5835 ^ ^2.55567 0 0 0 0 1
particle end_rod ^4.76314 ^ ^2.75 0 0 0 0 1
particle end_rod ^0.3139 ^ ^4.48904 0 0 0 0 1
particle end_rod ^0.23543 ^ ^4.74178 0 0 0 0 1
particle end_rod ^0.15695 ^ ^4.99452 0 0 0 0 1
particle end_rod ^0.07848 ^ ^5.24726 0 0 0 0 1
particle end_rod ^0 ^ ^5.5 0 0 0 0 1
particle end_rod ^-3.73067 ^ ^2.51637 0 0 0 0 1
particle end_rod ^-3.98879 ^ ^2.57478 0 0 0 0 1
particle end_rod ^-4.2469 ^ ^2.63318 0 0 0 0 1
particle end_rod ^-4.50502 ^ ^2.69159 0 0 0 0 1
particle end_rod ^-4.76314 ^ ^2.75 0 0 0 0 1
particle end_rod ^-4.04457 ^ ^-1.97267 0 0 0 0 1
particle end_rod ^-4.22421 ^ ^-2.167 0 0 0 0 1
particle end_rod ^-4.40386 ^ ^-2.36134 0 0 0 0 1
particle end_rod ^-4.5835 ^ ^-2.55567 0 0 0 0 1
particle end_rod ^-4.76314 ^ ^-2.75 0 0 0 0 1
# 線 C-D
particle end_rod ^0 ^ ^-5.5 0 0 0 0 1
particle end_rod ^0.07848 ^ ^-5.24726 0 0 0 0 1
particle end_rod ^0.15695 ^ ^-4.99452 0 0 0 0 1
particle end_rod ^0.23543 ^ ^-4.74178 0 0 0 0 1
particle end_rod ^0.3139 ^ ^-4.48904 0 0 0 0 1
particle end_rod ^4.76314 ^ ^-2.75 0 0 0 0 1
particle end_rod ^4.5835 ^ ^-2.55567 0 0 0 0 1
particle end_rod ^4.40386 ^ ^-2.36134 0 0 0 0 1
particle end_rod ^4.22421 ^ ^-2.167 0 0 0 0 1
particle end_rod ^4.04457 ^ ^-1.97267 0 0 0 0 1
particle end_rod ^4.76314 ^ ^2.75 0 0 0 0 1
particle end_rod ^4.50502 ^ ^2.69159 0 0 0 0 1
particle end_rod ^4.2469 ^ ^2.63318 0 0 0 0 1
particle end_rod ^3.98879 ^ ^2.57478 0 0 0 0 1
particle end_rod ^3.73067 ^ ^2.51637 0 0 0 0 1
particle end_rod ^0 ^ ^5.5 0 0 0 0 1
particle end_rod ^-0.07848 ^ ^5.24726 0 0 0 0 1
particle end_rod ^-0.15695 ^ ^4.99452 0 0 0 0 1
particle end_rod ^-0.23543 ^ ^4.74178 0 0 0 0 1
particle end_rod ^-0.3139 ^ ^4.48904 0 0 0 0 1
particle end_rod ^-4.76314 ^ ^2.75 0 0 0 0 1
particle end_rod ^-4.5835 ^ ^2.55567 0 0 0 0 1
particle end_rod ^-4.40386 ^ ^2.36134 0 0 0 0 1
particle end_rod ^-4.22421 ^ ^2.167 0 0 0 0 1
particle end_rod ^-4.04457 ^ ^1.97267 0 0 0 0 1
particle end_rod ^-4.76314 ^ ^-2.75 0 0 0 0 1
particle end_rod ^-4.50502 ^ ^-2.69159 0 0 0 0 1
particle end_rod ^-4.2469 ^ ^-2.63318 0 0 0 0 1
particle end_rod ^-3.98879 ^ ^-2.57478 0 0 0 0 1
particle end_rod ^-3.73067 ^ ^-2.51637 0 0 0 0 1
# 線 D-A
particle end_rod ^0.3139 ^ ^-4.48904 0 0 0 0 1
particle end_rod ^0.23543 ^ ^-4.24178 0 0 0 0 1
particle end_rod ^0.15695 ^ ^-3.99452 0 0 0 0 1
particle end_rod ^0.07848 ^ ^-3.74726 0 0 0 0 1
particle end_rod ^0 ^ ^-3.5 0 0 0 0 1
particle end_rod ^4.04457 ^ ^-1.97267 0 0 0 0 1
particle end_rod ^3.7912 ^ ^-1.917 0 0 0 0 1
particle end_rod ^3.53783 ^ ^-1.86134 0 0 0 0 1
particle end_rod ^3.28446 ^ ^-1.80567 0 0 0 0 1
particle end_rod ^3.03109 ^ ^-1.75 0 0 0 0 1
particle end_rod ^3.73067 ^ ^2.51637 0 0 0 0 1
particle end_rod ^3.55577 ^ ^2.32478 0 0 0 0 1
particle end_rod ^3.38088 ^ ^2.13318 0 0 0 0 1
particle end_rod ^3.20598 ^ ^1.94159 0 0 0 0 1
particle end_rod ^3.03109 ^ ^1.75 0 0 0 0 1
particle end_rod ^-0.3139 ^ ^4.48904 0 0 0 0 1
particle end_rod ^-0.23543 ^ ^4.24178 0 0 0 0 1
particle end_rod ^-0.15695 ^ ^3.99452 0 0 0 0 1
particle end_rod ^-0.07848 ^ ^3.74726 0 0 0 0 1
particle end_rod ^0 ^ ^3.5 0 0 0 0 1
particle end_rod ^-4.04457 ^ ^1.97267 0 0 0 0 1
particle end_rod ^-3.7912 ^ ^1.917 0 0 0 0 1
particle end_rod ^-3.53783 ^ ^1.86134 0 0 0 0 1
particle end_rod ^-3.28446 ^ ^1.80567 0 0 0 0 1
particle end_rod ^-3.03109 ^ ^1.75 0 0 0 0 1
particle end_rod ^-3.73067 ^ ^-2.51637 0 0 0 0 1
particle end_rod ^-3.55577 ^ ^-2.32478 0 0 0 0 1
particle end_rod ^-3.38088 ^ ^-2.13318 0 0 0 0 1
particle end_rod ^-3.20598 ^ ^-1.94159 0 0 0 0 1
particle end_rod ^-3.03109 ^ ^-1.75 0 0 0 0 1


text:
#> asset:mob/0131.haruclaire/tick/skill_ice_area/1.skill_ice_area
#
#
#
# @within function asset:mob/0131.haruclaire/tick/2.2.skill_active

# ポーズ
    execute if score @s 3N.Tick matches 1 run item replace entity @e[type=armor_stand,tag=3N.ArmorStand,distance=..0.01,sort=nearest,limit=1] armor.head with stone{CustomModelData:20060}
    execute if score @s 3N.Tick matches 1 run item replace entity @e[type=armor_stand,tag=3N.ArmorStand,distance=..0.01,sort=nearest,limit=1] weapon with stone{CustomModelData:20057}
    execute if score @s 3N.Tick matches 1 run data modify entity @e[type=armor_stand,tag=3N.ArmorStand,distance=..0.01,sort=nearest,limit=1] Pose.LeftArm set value [30f,360f,28f]
    execute if score @s 3N.Tick matches 1 run data modify entity @e[type=armor_stand,tag=3N.ArmorStand,distance=..0.01,sort=nearest,limit=1] Pose.RightArm set value [205f,44f,0f]

# 演出
    execute if score @s 3N.Tick matches 1 run playsound minecraft:entity.puffer_fish.death hostile @a ~ ~ ~ 1 1
    execute if score @s 3N.Tick matches 1 rotated ~ 0 run function asset:mob/0131.haruclaire/tick/skill_ice_area/particle
# 攻撃
    execute if score @s 3N.Tick matches 30..35 if entity @s[tag=!3N.SkillIceAreaHit] run function asset:mob/0131.haruclaire/tick/skill_ice_area/2.skill_ice_area_attack

# タグを消す
    execute if score @s 3N.Tick matches 60 run tag @s remove 3N.SkillIceArea
    execute if score @s 3N.Tick matches 60 run tag @s remove 3N.SkillIceAreaHit
# スコアを少し進めた状態に戻す
    execute if score @s 3N.Tick matches 60 run scoreboard players set @s 3N.Tick -30


text:
#> asset:mob/0171.lumberjack_of_blue_forest/0.load
#
# MOBに利用するスコアボード等の初期化処理
#
# @within tag/function asset:mob/load

#> 定義類はここに
# @within function asset:mob/0171.lumberjack_of_blue_forest/**
    scoreboard objectives add 4R.Attribute dummy


text:
#> asset:mob/0171.lumberjack_of_blue_forest/rejoin_process
#
# 使い方は必ずwikiを見ること
#
# @within tag/function asset:rejoin

# スケジュールループ再開
    execute if entity @s[tag=4R.HealthDown] run schedule function asset:mob/0171.lumberjack_of_blue_forest/attack/3.schedule_loop 1t replace


text:
#> asset:mob/0171.lumberjack_of_blue_forest/_index.d
# @private
#
#> Tag
# @within function asset:mob/0171.lumberjack_of_blue_forest/**
    #declare tag 4R.HealthDown


text:
#> asset:mob/0171.lumberjack_of_blue_forest/summon/2.summon
#
# Mobの召喚時の処理
#
# @within function asset:mob/0171.lumberjack_of_blue_forest/summon/1.trigger

# 元となるMobを召喚する
    summon skeleton ~ ~ ~ {Silent:1b,Tags:["MobInit","AlwaysInvisible","AntiBurn"],DeathLootTable:"asset:mob/death/0171.lumberjack_of_blue_forest"}
# ID (int)
    data modify storage asset:mob ID set value 171
# Type (string) Wikiを参照
    data modify storage asset:mob Type set value "Enemy"
# 干渉可能か否か (boolean)
    data modify storage asset:mob Interferable set value true
# 名前 (TextComponentString) (オプション)
    data modify storage asset:mob Name set value '{"text":"蒼い森の木こり","color":"dark_aqua"}'
# 武器
    # メインハンド (Compound(Item)) (オプション)
        data modify storage asset:mob Weapon.Mainhand set value {id:"diamond_axe",Count:1b}
    # オフハンド (Compound(Item)) (オプション)
        # data modify storage asset:mob Weapon.Offhand set value
# 武器ドロップ率 ([float, float]) (オプション)
    # data modify storage asset:mob WeaponDropChances set value
# 防具
    # 頭 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Head set value {id:"warped_stem",Count:1b}
    # 胴 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Chest set value {id:"minecraft:leather_chestplate",Count:1b,tag:{display:{color:2658184}}}
    # 脚 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Legs set value {id:"minecraft:leather_leggings",Count:1b,tag:{display:{color:2658184}}}
    # 足 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Feet set value {id:"minecraft:leather_boots",Count:1b,tag:{display:{color:2658184}}}
# 防具ドロップ率 ([float, float]) (オプション)
    data modify storage asset:mob ArmorDropChances set value [0.0f,0.0f,0.f,0.0f]
# 体力 (double) (オプション)
    data modify storage asset:mob Health set value 1000
# 攻撃力 (double) (オプション)
    data modify storage asset:mob AttackDamage set value -5
# 防御力 (double) (オプション) // 被ダメージがある程度大きい場合1ptにつき0.8%カット、小さい場合1ptにつき約4%カット 20pt以上は頭打ち
    data modify storage asset:mob Defense set value -6
# 特殊防御力 (double) (オプション) // 4pointにつきダメージを大きく減らす
    # data modify storage asset:mob SpecialDefense set value
# 移動速度 (double) (オプション)
    data modify storage asset:mob Speed set value 0.2
# 索敵範囲 (double) (オプション)
    data modify storage asset:mob FollowRange set value 32
# ノックバック耐性 (double) (オプション)
    data modify storage asset:mob KnockBackResist set value 0.5
# 属性倍率 // 1.0fで100% 最低でも25%は軽減されずに入る
    # 物理倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Physical set value
    # 魔法倍率 (float) (オプション)
        data modify storage asset:mob Resist.Magic set value 0.25
    # 火倍率 (float) (オプション)
        data modify storage asset:mob Resist.Fire set value 0.4
    # 水倍率 (float) (オプション)
        # data modify storage asset:mob Resist.Water set value
    # 雷倍率 (float) (オプション)
        data modify storage asset:mob Resist.Thunder set value 0.8

# MobInitタグ持ちを対象にして召喚関数呼び出し
    execute as @e[type=skeleton,tag=MobInit,distance=..0.01] run function asset:mob/common/summon


text:
#> asset:mob/0171.lumberjack_of_blue_forest/summon/1.trigger
#
# Mob召喚処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:mob/summon

execute if data storage asset:context {id:171} run function asset:mob/0171.lumberjack_of_blue_forest/summon/2.summon


text:
#> asset:mob/0171.lumberjack_of_blue_forest/hurt/2.hurt
#
# Mobの被ダメージ時の処理
#
# @within function asset:mob/0171.lumberjack_of_blue_forest/hurt/1.trigger

# 演出
    playsound block.stem.break hostile @a ~ ~ ~ 0.7 0 0
    particle block warped_stem ~ ~1.2 ~ 0.4 0.6 0.4 0 40 normal @a

# 加速
    effect give @s speed 1 1 true


text:
#> asset:mob/0171.lumberjack_of_blue_forest/hurt/1.trigger
#
# Mobの被ダメージに実行されるfunction
#
# @within tag/function asset:mob/hurt

execute if data storage asset:context {id:171} run function asset:mob/0171.lumberjack_of_blue_forest/hurt/2.hurt


text:
#> asset:mob/0171.lumberjack_of_blue_forest/attack/3.schedule_loop
#
#
#
# @within function
#   asset:mob/0171.lumberjack_of_blue_forest/attack/2.attack
#   asset:mob/0171.lumberjack_of_blue_forest/attack/3.schedule_loop
#   asset:mob/0171.lumberjack_of_blue_forest/rejoin_process

# スコア減少
    execute as @a[tag=4R.HealthDown] at @s run function asset:mob/0171.lumberjack_of_blue_forest/attack/4.attribute_effect_time

# スケジュールループ
    execute if entity @a[tag=4R.HealthDown,limit=1] run schedule function asset:mob/0171.lumberjack_of_blue_forest/attack/3.schedule_loop 1t replace


text:
#> asset:mob/0171.lumberjack_of_blue_forest/attack/4.attribute_effect_time
#
#
#
# @within function asset:mob/0171.lumberjack_of_blue_forest/attack/3.schedule_loop

# スコア
    scoreboard players add @s 4R.Attribute 1

# 演出
    particle soul ~ ~1.2 ~ 0.3 0.4 0.3 0 1 normal @a

# 稀に悲鳴が聞こえる
    execute if predicate lib:random_pass_per/3 run playsound entity.ghast.hurt hostile @s ~ ~ ~ 0.6 1 0

# 死亡で終了
    execute if entity @s[tag=Death] run function asset:mob/0171.lumberjack_of_blue_forest/attack/5.atribute_remove

# 効果削除
    execute if score @s 4R.Attribute matches 200.. run function asset:mob/0171.lumberjack_of_blue_forest/attack/5.atribute_remove


text:
#> asset:mob/0171.lumberjack_of_blue_forest/attack/1.trigger
#
# Mobの攻撃時に実行されるfunction
#
# @within tag/function asset:mob/attack

execute if data storage asset:context {id:171} run function asset:mob/0171.lumberjack_of_blue_forest/attack/2.attack


text:
#> asset:mob/0171.lumberjack_of_blue_forest/attack/2.attack
#
# Mobの攻撃時の処理
#
# @within function asset:mob/0171.lumberjack_of_blue_forest/attack/1.trigger

# 演出
    execute at @p[tag=Victim,distance=..6] run particle soul ~ ~1.2 ~ 0.5 0.4 0.5 0.05 30 normal @a
    execute at @p[tag=Victim,distance=..6] run particle falling_dust warped_stem ~ ~1.2 ~ 0.6 0.4 0.6 0 40 normal @a
    execute at @p[tag=Victim,distance=..6] run particle block warped_stem ~ ~1.2 ~ 0.5 0.3 0.5 0 30 normal @a
    execute at @p[tag=Victim,distance=..6] run playsound entity.ghast.hurt hostile @a ~ ~ ~ 0.5 0.8 0

# 最大体力-30%
    attribute @p[tag=Victim,distance=..6] generic.max_health modifier add 00000001-0000-0002-0000-00ab00000000 "4R.max_health_down" -0.3 multiply

# 与えるダメージ
    data modify storage lib: Argument.Damage set value 14f
# 属性
    data modify storage lib: Argument.AttackType set value "Physical"
    data modify storage lib: Argument.ElementType set value "None"
# デスログ
    data modify storage lib: Argument.DeathMessage append value '{"translate": "%1$sは%2$sによって蒼い森に取り込まれた","with":[{"selector":"@s"},{"nbt":"Return.AttackerName","storage":"lib:","interpret":true}]}'
    data modify storage lib: Argument.DeathMessage append value '{"translate": "%1$sは%2$sによって魂を伐り取られた","with":[{"selector":"@s"},{"nbt":"Return.AttackerName","storage":"lib:","interpret":true}]}'
# 補正functionを実行
    function lib:damage/modifier
# 対象
    execute as @p[tag=Victim,distance=..6] run function lib:damage/
# リセット
    function lib:damage/reset

# スコア
    scoreboard players set @p[tag=Victim,distance=..6] 4R.Attribute 0

# attribute消しのTagとスケジュールループ
    schedule function asset:mob/0171.lumberjack_of_blue_forest/attack/3.schedule_loop 1t replace
    tag @p[tag=Victim,distance=..6] add 4R.HealthDown


text:
#> asset:mob/0171.lumberjack_of_blue_forest/attack/5.atribute_remove
#
#
#
# @within function asset:mob/0171.lumberjack_of_blue_forest/attack/4.attribute_effect_time

# 効果削除
    attribute @s generic.max_health modifier remove 00000001-0000-0002-0000-00ab00000000
    tag @s remove 4R.HealthDown
    scoreboard players reset @s 4R.Attribute


text:
#> asset:mob/sandbag1a/summon/2.summon
# @private

# 元となるMobを召喚する
    summon skeleton ~ ~ ~ {Tags:["MobInit"],DeathLootTable:"empty"}
# ID (int)
    data modify storage asset:mob ID set value 10010
# Type (string) Wikiを参照
    data modify storage asset:mob Type set value "Enemy.Boss"
# 干渉可能か否か (boolean)
    data modify storage asset:mob Interferable set value true
# 名前 (TextComponentString) (オプション)
    data modify storage asset:mob Name set value '{"text":"天使サンドバッグ1"}'
# 武器
    # メインハンド (Compound(Item)) (オプション)
        # data modify storage asset:mob Weapon.Mainhand set value
    # オフハンド (Compound(Item)) (オプション)
        # data modify storage asset:mob Weapon.Offhand set value
# 武器ドロップ率 ([float, float]) (オプション)
    # data modify storage asset:mob WeaponDropChances set value
# 防具
    # 頭 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Head set value {id:"minecraft:glass",Count:1b}
    # 胴 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Chest set value
    # 脚 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Legs set value
    # 足 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Feet set value
# 防具ドロップ率 ([float, float]) (オプション)
    # data modify storage asset:mob ArmorDropChances set value
# 体力 (double) (オプション)
    data modify storage asset:mob Health set value 3100
# 攻撃力 (double) (オプション)
    data modify storage asset:mob AttackDamage set value 6.8
# 防御力 (double) (オプション) // 被ダメージがある程度大きい場合1ptにつき0.8%カット、小さい場合1ptにつき約4%カット 20pt以上は頭打ち
    data modify storage asset:mob Defense set value 0
# 特殊防御力 (double) (オプション) // 4pointにつきダメージを大きく減らす
    data modify storage asset:mob SpecialDefense set value 0
# 移動速度 (double) (オプション)
    data modify storage asset:mob Speed set value 0
# 索敵範囲 (double) (オプション)
    # data modify storage asset:mob FollowRange set value
# ノックバック耐性 (double) (オプション)
    # data modify storage asset:mob KnockBackResist set value
# 属性倍率 // 1.0fで100% 最低でも25%は軽減されずに入る
    # 物理倍率 (float) (オプション)
        data modify storage asset:mob Resist.Physical set value 1.0
    # 魔法倍率 (float) (オプション)
        data modify storage asset:mob Resist.Magic set value 1.0
    # 火倍率 (float) (オプション)
        data modify storage asset:mob Resist.Fire set value 1.0
    # 水倍率 (float) (オプション)
        data modify storage asset:mob Resist.Water set value 1.0
    # 雷倍率 (float) (オプション)
        data modify storage asset:mob Resist.Thunder set value 1.0

# MobInitタグ持ちを対象にして召喚関数呼び出し
    execute as @e[type=skeleton,tag=MobInit,distance=..0.01] run function asset:mob/common/summon


text:
#> asset:mob/0186.ferocious_bee/0.load
#
# MOBに利用するスコアボード等の初期化処理
#
# @within tag/function asset:mob/load

#> 定義類はここに
# @within function asset:mob/0186.ferocious_bee/**
    scoreboard objectives add 56.HurtTime dummy
    scoreboard objectives add 56.MoveTime dummy
    scoreboard objectives add 56.AttackCT dummy


text:
#> asset:mob/0186.ferocious_bee/death/2.death
#
# Mobの死亡時の処理
#
# @within function asset:mob/0186.ferocious_bee/death/1.trigger

# 演出
    playsound entity.bee.death hostile @a ~ ~ ~ 1 1


text:
#> asset:mob/0186.ferocious_bee/death/1.trigger
#
# Mobの死亡時に実行されるfunction
#
# @within tag/function asset:mob/death

execute if data storage asset:context {id:186} run function asset:mob/0186.ferocious_bee/death/2.death


text:
#> asset:mob/0186.ferocious_bee/summon/2.summon
#
# Mobの召喚時の処理
#
# @within function asset:mob/0186.ferocious_bee/summon/1.trigger

# 元となるMobを召喚する
    summon zombie ~ ~ ~ {Tags:["MobInit","AlwaysInvisible"],NoGravity:1b,NoAI:1b,Silent:1b,IsBaby:1b,DeathLootTable:"asset:mob/death/0186.ferocious_bee"}
# ID (int)
    data modify storage asset:mob ID set value 186
# Type (string) Wikiを参照
    data modify storage asset:mob Type set value "Enemy"
# 干渉可能か否か (boolean)
    data modify storage asset:mob Interferable set value true
# 名前 (TextComponentString) (オプション)
    data modify storage asset:mob Name set value '{"text":"凶暴なハチ","color":"yellow"}'
# 武器
    # メインハンド (Compound(Item)) (オプション)
        # data modify storage asset:mob Weapon.Mainhand set value
    # オフハンド (Compound(Item)) (オプション)
        # data modify storage asset:mob Weapon.Offhand set value
# 武器ドロップ率 ([float, float]) (オプション)
    # data modify storage asset:mob WeaponDropChances set value
# 防具
    # 頭 (Compound(Item)) (オプション)
        data modify storage asset:mob Armor.Head set value {id:"minecraft:stone",Count:1b,tag:{CustomModelData:20054}}
    # 胴 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Chest set value
    # 脚 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Legs set value
    # 足 (Compound(Item)) (オプション)
        # data modify storage asset:mob Armor.Feet set value
# 防具ドロップ率 ([float, float]) (オプション)
    # data modify storage asset:mob ArmorDropChances set value
# 体力 (double) (オプション)
    data modify storage asset:mob Health set value 700
# 攻撃力 (double) (オプション)
    data modify storage asset:mob AttackDamage set value 1
# 防御力 (double) (オプション) // 被ダメージがある程度大きい場合1ptにつき0.8%カット、小さい場合1ptにつき約4%カット 20pt以上は頭打ち
    data modify storage asset:mob Defense set value 0
# 特殊防御力 (double) (オプション) // 4pointにつきダメージを大きく減らす
    # data modify storage asset:mob SpecialDefense set value
# 移動速度 (double) (オプション)
    # data modify storage asset:mob Speed set value
# 索敵範囲 (double) (オプション)
    data modify storage asset:mob FollowRange set value 50
# ノックバック耐性 (double) (オプション)
    # data modify storage asset:mob KnockBackResist set value
# 属性倍率 // 1.0fで100% 最低でも25%は軽減されずに入る
    # 物理倍率 (float) (オプション)
        data modify storage asset:mob Resist.Physical set value 1
    # 魔法倍率 (float) (オプション)
        data modify storage asset:mob Resist.Magic set value 0.7
    # 火倍率 (float) (オプション)
        data modify storage asset:mob Resist.Fire set value 1
    # 水倍率 (float) (オプション)
        data modify storage asset:mob Resist.Water set value 0.7
    # 雷倍率 (float) (オプション)
        data modify storage asset:mob Resist.Thunder set value 1

# MobInitタグ持ちを対象にして召喚関数呼び出し
    execute as @e[type=zombie,tag=MobInit,distance=..0.01] run function asset:mob/common/summon


text:
#> asset:mob/0186.ferocious_bee/summon/1.trigger
#
# Mob召喚処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:mob/summon

execute if data storage asset:context {id:186} run function asset:mob/0186.ferocious_bee/summon/2.summon


text:
#> asset:mob/0186.ferocious_bee/hurt/2.hurt
#
# Mobの被ダメージ時の処理
#
# @within function asset:mob/0186.ferocious_bee/hurt/1.trigger

# 演出
    playsound entity.bee.hurt hostile @a ~ ~ ~ 1 1

# HurtTimeをスコア化
    scoreboard players set @s 56.HurtTime 20
    data modify entity @s[scores={56.MoveTime=..179}] NoAI set value 0b