text:
#> asset:artifact/0672.aurora_blade/give/2.give
#
# 神器の作成部 ここでID等を定義する
#
# @user
# @within function asset:artifact/0672.aurora_blade/give/1.trigger

# 神器の説明や消費MPなどをここで設定する。
# 最後にasset:artifact/common/giveを実行することで入手可能。

# 神器のID (int) スプレッドシートの値を入れる
    data modify storage asset:artifact ID set value 672
# 神器のベースアイテム
    data modify storage asset:artifact Item set value "minecraft:stick"
# 神器の名前 (TextComponentString)
    data modify storage asset:artifact Name set value '{"text":"オーロラブレード","color":"#00ffe2"}'
# 神器の説明文 (TextComponentString[])
    data modify storage asset:artifact Lore set value ['{"text":"オーロラの刃を持つ剣","color":"#00cedd"}','{"text":"天使に対して攻撃したとき、","color":"#00acf6"}','{"text":"ダメージが1.5倍になる","color":"#008bff"}']
# MP以外の消費物 (TextComponentString) (オプション)
    # data modify storage asset:artifact CostText set value
# 使用回数 (int) (オプション)
    # data modify storage asset:artifact RemainingCount set value
# 神器を発動できるスロット (string) Wikiを参照
    data modify storage asset:artifact Slot set value "mainhand"
# 神器のトリガー (string) Wikiを参照
    data modify storage asset:artifact Trigger set value "onAttackByMelee"
# 神器の発動条件 (TextComponentString) (オプション)
    # data modify storage asset:artifact Condition set value
# 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.Damage set value [150,450]
# 攻撃に関する情報 -攻撃タイプ (string[]) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.AttackType set value [Magic]
# 攻撃に関する情報 -攻撃属性 (string[]) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.ElementType set value [Thunder]
# 攻撃に関する情報 -防御無視 (boolean) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.BypassResist set value
# 攻撃に関する情報 -範囲攻撃 (string) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.IsRangeAttack set value "never"
# 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.AttackRange set value
# MP消費量 (int)
    data modify storage asset:artifact MPCost set value 11
# MP必要量 (int) (オプション)
    # data modify storage asset:artifact MPRequire set value
# 神器のクールダウン (int) (オプション)
    data modify storage asset:artifact LocalCooldown set value 20
# グローバルクールダウン (int) (オプション)
    # data modify storage asset:artifact SpecialCooldown set value
# クールダウンによる使用不可のメッセージを非表示にするか否か (boolean) (オプション)
    # data modify storage asset:artifact DisableCooldownMessage set value
# MP不足による使用不可のメッセージを非表示にするか否か (boolean) (オプション)
    # data modify storage asset:artifact DisableMPMessage set value
# 扱える神 (string[]) Wikiを参照
    data modify storage asset:artifact CanUsedGod set value ["Flora", "Urban", "Rumor"]
# カスタムNBT (NBTCompound) 追加で指定したいNBT (オプション)
    # data modify storage asset:artifact CustomNBT set value {}

# 神器の入手用function
    function asset:artifact/common/give


text:
#> asset:artifact/0672.aurora_blade/trigger/4.sweeping_particle
#
#
#
# @within function asset:artifact/0672.aurora_blade/trigger/3.main

# [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkmAEYDsADJQGwCGAjCwLS0AsAHA+13r8epHj3YBWFCwDMAJhmUAnEwBmpOWAIA7JgFsEyQADmgNE0tYGEwz6AzknAoA9oW0QkDWgRRxXcDPbAANyZsQkNwAA8kTzAoaIBfeIJrUjRCO0Q5AhsIKzdEGLhsbDQYG0MWWhiMR1yIQxi0GwBRYtLy5oBHQhDsKABlS29yRFUQ8sS8cGh4CnQsXHNiMgo4BjZaUhQmdiU4FAkBCVpVdiZaOSV2VTgWODguLhQZXmpzXQMKI0BQxXNLaz0GQczlcSGOXh89X8iHAwVC4TAUQKBDiiE4ADoJJMwCk0hksmAcnlogQiiUyoYeCxkrUmPUSWAmq1yR1ur0BkM4CMIBgwpNprBDKhMDh8EQSCMwDwuHJqDxKLRqOw4JRLkc4HJ2Dw5EwuJwmCgUKoeEojXcWO99EKTJoCP9bAEnC58uDUJC-AE4WEAkiYqiMSw5NjcekkASiRh8oU2hSkEouDS6g0CEyY6yesUOQauUgxtgJkkBbNkPNRUsJRQGCg5JdqA92NQmJQdrxvFqZLItUoqZRjjLKqpLZ9kCYZH8rA6YagQS6Yt5fNDYSFvVPfSikAGZMGmKlQ5lsrlIwyye1KQxE3Tk4yWmm4F0M31BtmRnmC1NIIK5iLFgRlpKlAODxVuwKDUDIVyCGwuyqHItCcNQNxyGIqgMDcbw6FaFAmFw44AkC07OmCc7uouQTLgia6xButDoiwDDbru+IHsSyJgCesaINQEgXvSrGpiyd5spmT7DLm4xwIkAC6QA_3

# 最外
particle dust 0.000 1.000 0.949 1.3 ^1.98904 ^ ^-0.20906 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^2 ^ ^0 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^1.98904 ^ ^0.20906 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^1.9563 ^ ^0.41582 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^1.90211 ^ ^0.61803 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^1.82709 ^ ^0.81347 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^1.73205 ^ ^1 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^1.61803 ^ ^1.17557 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^1.48629 ^ ^1.33826 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^1.33826 ^ ^1.48629 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^1.17557 ^ ^1.61803 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^1 ^ ^1.73205 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^0.81347 ^ ^1.82709 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^0.61803 ^ ^1.90211 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^0.41582 ^ ^1.9563 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^0.20906 ^ ^1.98904 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^0 ^ ^2 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-0.20906 ^ ^1.98904 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-0.41582 ^ ^1.9563 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-0.61803 ^ ^1.90211 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-0.81347 ^ ^1.82709 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-1 ^ ^1.73205 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-1.17557 ^ ^1.61803 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-1.33826 ^ ^1.48629 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-1.48629 ^ ^1.33826 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-1.61803 ^ ^1.17557 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-1.73205 ^ ^1 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-1.82709 ^ ^0.81347 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-1.90211 ^ ^0.61803 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-1.9563 ^ ^0.41582 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-1.98904 ^ ^0.20906 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-2 ^ ^0 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-1.98904 ^ ^-0.20906 0 0 0 0 1
particle dust 0.000 1.000 0.949 1.3 ^-1.9563 ^ ^-0.41582 0 0 0 0 1

# 外2
particle dust 0.000 0.867 0.918 1.3 ^1.96457 ^ ^0.23228 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^1.90211 ^ ^0.46095 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^1.80965 ^ ^0.68047 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^1.68866 ^ ^0.88735 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^1.54103 ^ ^1.07836 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^1.36909 ^ ^1.25046 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^1.17557 ^ ^1.40095 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^0.96351 ^ ^1.52746 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^0.73625 ^ ^1.62798 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^0.49738 ^ ^1.70094 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^0.25067 ^ ^1.74518 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^0 ^ ^1.76 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^-0.25067 ^ ^1.74518 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^-0.49738 ^ ^1.70094 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^-0.73625 ^ ^1.62798 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^-0.96351 ^ ^1.52746 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^-1.17557 ^ ^1.40095 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^-1.36909 ^ ^1.25046 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^-1.54103 ^ ^1.07836 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^-1.68866 ^ ^0.88735 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^-1.80965 ^ ^0.68047 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^-1.90211 ^ ^0.46095 0 0 0 0 1
particle dust 0.000 0.867 0.918 1.3 ^-1.96457 ^ ^0.23228 0 0 0 0 1

# 外3
particle dust 0.000 0.804 0.933 1.3 ^1.96457 ^ ^0.1923 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^1.90211 ^ ^0.40151 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^1.80965 ^ ^0.60234 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^1.68866 ^ ^0.79162 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^1.54103 ^ ^0.96637 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^1.36909 ^ ^1.12383 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^1.17557 ^ ^1.26151 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^0.96351 ^ ^1.37725 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^0.73625 ^ ^1.46922 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^0.49738 ^ ^1.53596 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^0.25067 ^ ^1.57644 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^0 ^ ^1.59 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^-0.25067 ^ ^1.57644 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^-0.49738 ^ ^1.53596 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^-0.73625 ^ ^1.46922 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^-0.96351 ^ ^1.37725 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^-1.17557 ^ ^1.26151 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^-1.36909 ^ ^1.12383 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^-1.54103 ^ ^0.96637 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^-1.68866 ^ ^0.79162 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^-1.80965 ^ ^0.60234 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^-1.90211 ^ ^0.40151 0 0 0 0 1
particle dust 0.000 0.804 0.933 1.3 ^-1.96457 ^ ^0.1923 0 0 0 0 1

# 外4
particle dust 0.000 0.675 1.000 1.3 ^1.96457 ^ ^0.12107 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^1.90211 ^ ^0.30353 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^1.80965 ^ ^0.47867 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^1.68866 ^ ^0.64374 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^1.54103 ^ ^0.79614 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^1.36909 ^ ^0.93345 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^1.17557 ^ ^1.05353 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^0.96351 ^ ^1.15446 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^0.73625 ^ ^1.23466 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^0.49738 ^ ^1.29287 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^0.25067 ^ ^1.32817 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^0 ^ ^1.34 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^-0.25067 ^ ^1.32817 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^-0.49738 ^ ^1.29287 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^-0.73625 ^ ^1.23466 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^-0.96351 ^ ^1.15446 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^-1.17557 ^ ^1.05353 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^-1.36909 ^ ^0.93345 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^-1.54103 ^ ^0.79614 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^-1.68866 ^ ^0.64374 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^-1.80965 ^ ^0.47867 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^-1.90211 ^ ^0.30353 0 0 0 0 1
particle dust 0.000 0.675 1.000 1.3 ^-1.96457 ^ ^0.12107 0 0 0 0 1

# 最内
particle dust 0.000 0.545 1.000 1.3 ^1.95543 ^ ^-0.1618 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^1.87964 ^ ^0.053 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^1.77049 ^ ^0.25297 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^1.6329 ^ ^0.43457 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^1.47224 ^ ^0.59614 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^1.29222 ^ ^0.7359 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^1.09734 ^ ^0.85406 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^0.89058 ^ ^0.95 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^0.67527 ^ ^1.02484 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^0.45344 ^ ^1.07737 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^0.2277 ^ ^1.10904 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^0 ^ ^1.12 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^-0.2277 ^ ^1.10904 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^-0.45344 ^ ^1.07737 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^-0.67527 ^ ^1.02484 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^-0.89058 ^ ^0.95 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^-1.09734 ^ ^0.85406 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^-1.29222 ^ ^0.7359 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^-1.47224 ^ ^0.59614 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^-1.6329 ^ ^0.43457 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^-1.77049 ^ ^0.25297 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^-1.87964 ^ ^0.053 0 0 0 0 1
particle dust 0.000 0.545 1.000 1.3 ^-1.95543 ^ ^-0.1618 0 0 0 0 1

repo_name: ProjectTSB/TheSkyBlessing

repo_language: mcfunction

mime_type: text/plain


text:
#> asset:artifact/0672.aurora_blade/trigger/2.check_condition
#
# 神器の発動条件をチェックします
#
# @within function asset:artifact/0672.aurora_blade/trigger/1.trigger

# 神器の基本的な条件の確認を行うfunction、成功している場合CanUsedタグが付く
    function asset:artifact/common/check_condition/mainhand
# 他にアイテム等確認する場合はここに書く

# CanUsedタグをチェックして3.main.mcfunctionを実行する
    execute if entity @s[tag=CanUsed] run function asset:artifact/0672.aurora_blade/trigger/3.main


text:
#> asset:artifact/0672.aurora_blade/trigger/3.main
#
# 神器のメイン処理部
#
# @within function asset:artifact/0672.aurora_blade/trigger/2.check_condition

#> Private
# @private function asset:artifact/0672.aurora_blade/trigger/**
    #declare score_holder $RandomDamage
    #declare score_holder $CalcRandom

# 基本的な使用時の処理(MP消費や使用回数の処理など)を行う
    function asset:artifact/common/use/mainhand

# ここから先は神器側の効果の処理を書く

# 演出
    execute positioned ^ ^1.2 ^0.6 rotated ~ ~-4 run function asset:artifact/0672.aurora_blade/trigger/4.sweeping_particle
    playsound entity.player.attack.sweep player @a ~ ~ ~ 0.4 1 0
    playsound entity.evoker.prepare_summon player @a ~ ~ ~ 0.8 2 0

# ダメージ
    #ダメージブレのための処理
        # 疑似乱数取得
            execute store result score $RandomDamage Temporary run function lib:random/
        # 剰余算する。0~300の追加ダメージ
            scoreboard players set $CalcRandom Temporary 301
            scoreboard players operation $RandomDamage Temporary %= $CalcRandom Temporary
        # 最低ダメージ設定
            scoreboard players add $RandomDamage Temporary 150
    #ダメージセット 天使なら1.5倍
        execute store result storage lib: Argument.Damage float 1 run scoreboard players get $RandomDamage Temporary
        execute if entity @e[type=#lib:living,tag=Victim,tag=Enemy.Boss,tag=!Uninterferable,distance=..6] store result storage lib: Argument.Damage float 1.5 run scoreboard players get $RandomDamage Temporary
    # 第一属性
        data modify storage lib: Argument.AttackType set value "Magic"
    # 第二属性
        data modify storage lib: Argument.ElementType set value "Thunder"

# 補正functionを実行
    function lib:damage/modifier
# ダメージを与える
    execute as @e[type=#lib:living,type=!player,tag=Victim,distance=..6] run function lib:damage/

# リセット
    function lib:damage/reset
    scoreboard players reset $CalcRandom Temporary
    scoreboard players reset $RandomDamage Temporary


text:
#> asset:artifact/0672.aurora_blade/trigger/1.trigger
#
# 指定したイベントタイミングで実行されるfunction
#
# @within tag/function asset:artifact/**

# storage asset:idのmainhandに装備している神器のIDが入っているので比較し、~/2.check_condition.mcfunctionを実行する
    execute if data storage asset:context id{mainhand:672} run function asset:artifact/0672.aurora_blade/trigger/2.check_condition


text:
#> asset:artifact/0907.rod_of_rain/register
#
# 神器プールへの登録処理
#
# @within tag/function asset:artifact/register

data modify storage asset:artifact RarityRegistry[4] append value 907


text:
#> asset:artifact/0907.rod_of_rain/give/1.trigger
#
# 神器の取得処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:artifact/give

execute if data storage asset:context {id:907} run function asset:artifact/0907.rod_of_rain/give/2.give


text:
#> asset:artifact/0907.rod_of_rain/give/2.give
#
# 神器の作成部 ここでID等を定義する
#
# @user
# @within function asset:artifact/0907.rod_of_rain/give/1.trigger

# 神器の説明や消費MPなどをここで設定する。
# 最後にasset:artifact/common/giveを実行することで入手可能。

# 神器のID (int) スプレッドシートの値を入れる
    data modify storage asset:artifact ID set value 907
# 神器のベースアイテム
    data modify storage asset:artifact Item set value "minecraft:carrot_on_a_stick"
# 神器の名前 (TextComponentString)
    data modify storage asset:artifact Name set value '{"text":"彩雨の杖","color":"blue"}'
# 神器の説明文 (TextComponentString[])
    data modify storage asset:artifact Lore set value ['{"text":"鮮やかに彩られた雨乞いに使われた杖。","color":"aqua","italic":"true"}','{"text":"ひとたび振るえば辺りに祝福の雨を降らすという。","color":"aqua","italic":"true"}','{"text":"雨は癒やしをもたらし、時には罪を洗い流す。","color":"aqua","italic":"true"}','{"text":"使用時、雨の降るエリアを設置する。","color":"blue"}','{"text":"エリアは定期的に敵Mobにはダメージを与え","color":"blue"}','{"text":"プレイヤーなら体力を12.0回復する。","color":"blue"}','{"text":"この回復には水攻撃補正が追加で乗る。","color":"blue"}']
# MP以外の消費物 (TextComponentString) (オプション)
    # data modify storage asset:artifact CostText set value
# 使用回数 (int) (オプション)
    # data modify storage asset:artifact RemainingCount set value
# 神器を発動できるスロット (string) Wikiを参照
    data modify storage asset:artifact Slot set value "auto"
# 神器のトリガー (string) Wikiを参照
    data modify storage asset:artifact Trigger set value "onClick"
# 神器の発動条件 (TextComponentString) (オプション)
    # data modify storage asset:artifact Condition set value
# 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.Damage set value [1200]
# 攻撃に関する情報 -攻撃タイプ (string[]) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.AttackType set value [Magic]
# 攻撃に関する情報 -攻撃属性 (string[]) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.ElementType set value [Water]
# 攻撃に関する情報 -防御無視 (boolean) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.BypassResist set value
# 攻撃に関する情報 -範囲攻撃 (string) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.IsRangeAttack set value "every"
# 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.AttackRange set value 9
# MP消費量 (int)
    data modify storage asset:artifact MPCost set value 180
# MP必要量 (int) (オプション)
    # data modify storage asset:artifact MPRequire set value
# 神器のクールダウン (int) (オプション)
    # data modify storage asset:artifact LocalCooldown set value
# グローバルクールダウン (int) (オプション)
    data modify storage asset:artifact SpecialCooldown set value 2400
# クールダウンによる使用不可のメッセージを非表示にするか否か (boolean) (オプション)
    # data modify storage asset:artifact DisableCooldownMessage set value
# MP不足による使用不可のメッセージを非表示にするか否か (boolean) (オプション)
    # data modify storage asset:artifact DisableMPMessage set value
# 扱える神 (string[]) Wikiを参照
    data modify storage asset:artifact CanUsedGod set value ["Flora", "Nyaptov", "Wi-ki", "Rumor"]
# カスタムNBT (NBTCompound) 追加で指定したいNBT (オプション)
    # data modify storage asset:artifact CustomNBT set value {}

# 神器の入手用function
    function asset:artifact/common/give


text:
#> asset:artifact/0907.rod_of_rain/trigger/2.check_condition
#
# 神器の発動条件をチェックします
#
# @within function asset:artifact/0907.rod_of_rain/trigger/1.trigger

# 神器の基本的な条件の確認を行うfunction、成功している場合CanUsedタグが付く
    function asset:artifact/common/check_condition/auto
# 他にアイテム等確認する場合はここに書く

# CanUsedタグをチェックして3.main.mcfunctionを実行する
    execute if entity @s[tag=CanUsed] run function asset:artifact/0907.rod_of_rain/trigger/3.main


text:
#> asset:artifact/0907.rod_of_rain/trigger/3.main
#
# 神器のメイン処理部
#
# @within function asset:artifact/0907.rod_of_rain/trigger/2.check_condition

# 基本的な使用時の処理(MP消費や使用回数の処理など)を行う
    function asset:artifact/common/use/auto

# ここから先は神器側の効果の処理を書く

# 雨雲を召喚
    summon marker ~ ~6 ~ {Tags:["P8.RainCloud","Object","Uninterferable"]}
    execute positioned ~ ~6 ~ run scoreboard players operation @e[type=marker,tag=P8.RainCloud,distance=..0.01] P8.UserID = @s UserID

# スケジュールループスタート
    schedule function asset:artifact/0907.rod_of_rain/trigger/rain_cloud/01.schedule_loop 1t replace


text:
#> asset:artifact/0907.rod_of_rain/trigger/0.load
#
# 神器に利用するスコアボード等の初期化処理
#
# @within tag/function asset:artifact/load

#> 定義類はここに
# @within function asset:artifact/0907.rod_of_rain/trigger/**
    scoreboard objectives add P8.Tick dummy
    scoreboard objectives add P8.UserID dummy


text:
#> asset:artifact/0907.rod_of_rain/trigger/rejoin_process
#
# 使い方は必ずwikiを見ること
#
# @within tag/function asset:rejoin

# スケジュールループ再開
    execute if entity @e[type=marker,tag=P8.RainCloud,limit=1] run schedule function asset:artifact/0907.rod_of_rain/trigger/rain_cloud/01.schedule_loop 1t replace


text:
#> asset:artifact/0907.rod_of_rain/trigger/1.trigger
#
# 指定したイベントタイミングで実行されるfunction
#
# @within tag/function asset:artifact/**

# storage asset:idのautoに装備している神器のIDが入っているので比較し、~/2.check_condition.mcfunctionを実行する
    execute if data storage asset:context id{auto:907} run function asset:artifact/0907.rod_of_rain/trigger/2.check_condition


text:
#> asset:artifact/0907.rod_of_rain/trigger/_index.d
# @private

#> tag
# @within function asset:artifact/0907.rod_of_rain/trigger/**
    #declare tag P8.RainCloud
    #declare tag P8.TargetEntity
    #declare tag P8.This
    #declare tag P8.Owner


text:
#> asset:artifact/0907.rod_of_rain/trigger/rain_cloud/04.effect
#
# 雨のダメージ処理と回復処理
#
# @within function asset:artifact/0907.rod_of_rain/trigger/rain_cloud/02.main

#> Private
# @private
    #declare score_holder $AttackWater

# 演出
    playsound entity.dolphin.swim player @a ~ ~ ~ 0.7 1.5 0
    playsound entity.dolphin.swim player @a ~ ~ ~ 0.7 1.8 0
    playsound ogg:ambient.underwater.additions.bubbles6 player @a ~ ~ ~ 0.5 1.5 0
    execute positioned ~ ~0.25 ~ run function asset:artifact/0907.rod_of_rain/trigger/rain_cloud/05.effect_vfx
    execute positioned ~ ~0.8 ~ run function asset:artifact/0907.rod_of_rain/trigger/rain_cloud/05.effect_vfx

# 自身を判別するTagを自身に付与
    tag @s add P8.This
    execute as @a if score @s UserID = @e[type=marker,tag=P8.This,limit=1] P8.UserID run tag @s add P8.Owner

# ダメージ
    data modify storage lib: Argument.Damage set value 1200.0f
    data modify storage lib: Argument.AttackType set value "Magic"
    data modify storage lib: Argument.ElementType set value "Water"
    execute as @p[tag=P8.Owner] run function lib:damage/modifier
    execute as @e[type=#lib:living,tag=Enemy,tag=P8.TargetEntity,distance=..10] run function lib:damage/
    function lib:damage/reset

# 回復
    # 水攻撃補正をstorageに入れる (補正1.2の場合、0.2になるように計算)
        execute as @p[tag=P8.Owner] run function api:modifier/attack/water/get
        execute store result score $AttackWater Temporary run data get storage api: Return.Attack.Water 100
        scoreboard players operation $AttackWater Temporary -= $100 Const
        execute store result storage api: Argument.Amount double 0.01 run scoreboard players get $AttackWater Temporary

    # 体力回復量補正に水攻撃補正を掛ける
        data modify storage api: Argument.UUID set value [I;1,1,907,0]
        data modify storage api: Argument.Operation set value "multiply"
        execute as @p[tag=P8.Owner] run function api:modifier/heal/add

    # 範囲内のプレイヤーを回復
        data modify storage lib: Argument.Heal set value 12.0f
        execute as @p[tag=P8.Owner] run function lib:heal/modifier
        execute as @a[tag=P8.TargetEntity,distance=..10] run function lib:heal/

    # 体力回復補正から水攻撃補正を取り除く
        data modify storage api: Argument.UUID set value [I;1,1,907,0]
        execute as @p[tag=P8.Owner] run function api:modifier/heal/remove

# リセット
    tag @e[type=#lib:living,tag=P8.TargetEntity,distance=..10] remove P8.TargetEntity
    tag @s remove P8.This
    tag @p[tag=P8.Owner] remove P8.Owner
    function lib:heal/reset
    scoreboard players reset $AttackWater Temporary


text:
#> asset:artifact/0907.rod_of_rain/trigger/rain_cloud/05.effect_vfx
#
# 効果発動時の演出
#
# @within function asset:artifact/0907.rod_of_rain/trigger/rain_cloud/04.effect

# [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkmACwDsARrQEwCGtKAtAMyUCsADG5RQBGdrTgdubAJwAzXqV6061JtyFgCAOyYBbBMkBhigAJ1BGEwy6AzknAoA9oU0QkQ3rwIo4zuBltgANyZsQn1wAA8kDzAoKIBfOIJLUjRCG0RKADpuAisICxdEaLhsbDQYK303aIx7fIh9aLQrAFFS8sqWgEdCYOwoAGVzL3JEGWDKhIBdIA_3
# 円 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^0 ^ ^-4.5 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^0.28256 ^ ^-4.49112 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^0.564 ^ ^-4.46452 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^0.84322 ^ ^-4.42029 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^1.1191 ^ ^-4.35862 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^1.39058 ^ ^-4.27975 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^1.65656 ^ ^-4.18399 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^1.91601 ^ ^-4.07172 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^2.16789 ^ ^-3.94338 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^2.41122 ^ ^-3.79948 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^2.64503 ^ ^-3.64058 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^2.86841 ^ ^-3.46731 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^3.08046 ^ ^-3.28036 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^3.28036 ^ ^-3.08046 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^3.46731 ^ ^-2.86841 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^3.64058 ^ ^-2.64503 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^3.79948 ^ ^-2.41122 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^3.94338 ^ ^-2.16789 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^4.07172 ^ ^-1.91601 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^4.18399 ^ ^-1.65656 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^4.27975 ^ ^-1.39058 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^4.35862 ^ ^-1.1191 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^4.42029 ^ ^-0.84322 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^4.46452 ^ ^-0.564 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^4.49112 ^ ^-0.28256 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^4.5 ^ ^0 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^4.49112 ^ ^0.28256 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^4.46452 ^ ^0.564 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^4.42029 ^ ^0.84322 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^4.35862 ^ ^1.1191 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^4.27975 ^ ^1.39058 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^4.18399 ^ ^1.65656 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^4.07172 ^ ^1.91601 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^3.94338 ^ ^2.16789 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^3.79948 ^ ^2.41122 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^3.64058 ^ ^2.64503 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^3.46731 ^ ^2.86841 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^3.28036 ^ ^3.08046 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^3.08046 ^ ^3.28036 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^2.86841 ^ ^3.46731 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^2.64503 ^ ^3.64058 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^2.41122 ^ ^3.79948 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^2.16789 ^ ^3.94338 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^1.91601 ^ ^4.07172 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^1.65656 ^ ^4.18399 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^1.39058 ^ ^4.27975 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^1.1191 ^ ^4.35862 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^0.84322 ^ ^4.42029 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^0.564 ^ ^4.46452 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^0.28256 ^ ^4.49112 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^0 ^ ^4.5 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-0.28256 ^ ^4.49112 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-0.564 ^ ^4.46452 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-0.84322 ^ ^4.42029 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-1.1191 ^ ^4.35862 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-1.39058 ^ ^4.27975 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-1.65656 ^ ^4.18399 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-1.91601 ^ ^4.07172 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-2.16789 ^ ^3.94338 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-2.41122 ^ ^3.79948 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-2.64503 ^ ^3.64058 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-2.86841 ^ ^3.46731 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-3.08046 ^ ^3.28036 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-3.28036 ^ ^3.08046 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-3.46731 ^ ^2.86841 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-3.64058 ^ ^2.64503 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-3.79948 ^ ^2.41122 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-3.94338 ^ ^2.16789 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-4.07172 ^ ^1.91601 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-4.18399 ^ ^1.65656 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-4.27975 ^ ^1.39058 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-4.35862 ^ ^1.1191 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-4.42029 ^ ^0.84322 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-4.46452 ^ ^0.564 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-4.49112 ^ ^0.28256 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-4.5 ^ ^0 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-4.49112 ^ ^-0.28256 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-4.46452 ^ ^-0.564 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-4.42029 ^ ^-0.84322 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-4.35862 ^ ^-1.1191 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-4.27975 ^ ^-1.39058 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-4.18399 ^ ^-1.65656 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-4.07172 ^ ^-1.91601 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-3.94338 ^ ^-2.16789 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-3.79948 ^ ^-2.41122 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-3.64058 ^ ^-2.64503 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-3.46731 ^ ^-2.86841 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-3.28036 ^ ^-3.08046 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-3.08046 ^ ^-3.28036 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-2.86841 ^ ^-3.46731 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-2.64503 ^ ^-3.64058 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-2.41122 ^ ^-3.79948 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-2.16789 ^ ^-3.94338 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-1.91601 ^ ^-4.07172 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-1.65656 ^ ^-4.18399 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-1.39058 ^ ^-4.27975 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-1.1191 ^ ^-4.35862 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-0.84322 ^ ^-4.42029 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-0.564 ^ ^-4.46452 0 0 0 0 1
particle dust_color_transition 0 1 1 1.5 0 0 1 ^-0.28256 ^ ^-4.49112 0 0 0 0 1


text:
#> asset:artifact/0907.rod_of_rain/trigger/rain_cloud/01.schedule_loop
#
# スケジュールループだよ
#
# @within function
#   asset:artifact/0907.rod_of_rain/trigger/3.main
#   asset:artifact/0907.rod_of_rain/trigger/rejoin_process
#   asset:artifact/0907.rod_of_rain/trigger/rain_cloud/02.main

# メイン処理
    execute as @e[type=marker,tag=P8.RainCloud] at @s run function asset:artifact/0907.rod_of_rain/trigger/rain_cloud/02.main


text:
#> asset:artifact/0907.rod_of_rain/trigger/rain_cloud/03.shapes
#
# 当たり判定の表示だよ
#
# @within function asset:artifact/0907.rod_of_rain/trigger/rain_cloud/02.main

# [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkmHAKwBmNA7KQEYDMAtHAEymlsAsATgCMNNgEMAbKTgcBYoaRYsaLMUxRgCAOzEBbBMkBhigAIhmsDDEY9AZyTgUAe0JaISFgAYCKOK7gZ7MAA3MWxCA3AADyQvMCgYgF8EgmtSNEI7RD4AOioCGwgrN0RYuGxsNBgbAyEPWIxHQogDWLQbAFFyyur2gEdCUOwoAGVLH3JEGlDqpIBdIA_3
# 円 1
particle dust_color_transition 0 1 1 1 0 0 1 ^0 ^ ^-4.5 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^0.9356 ^ ^-4.40166 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^1.83031 ^ ^-4.11095 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^2.64503 ^ ^-3.64058 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^3.34415 ^ ^-3.01109 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^3.89711 ^ ^-2.25 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^4.27975 ^ ^-1.39058 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^4.47535 ^ ^-0.47038 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^4.47535 ^ ^0.47038 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^4.27975 ^ ^1.39058 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^3.89711 ^ ^2.25 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^3.34415 ^ ^3.01109 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^2.64503 ^ ^3.64058 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^1.83031 ^ ^4.11095 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^0.9356 ^ ^4.40166 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^0 ^ ^4.5 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^-0.9356 ^ ^4.40166 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^-1.83031 ^ ^4.11095 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^-2.64503 ^ ^3.64058 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^-3.34415 ^ ^3.01109 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^-3.89711 ^ ^2.25 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^-4.27975 ^ ^1.39058 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^-4.47535 ^ ^0.47038 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^-4.47535 ^ ^-0.47038 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^-4.27975 ^ ^-1.39058 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^-3.89711 ^ ^-2.25 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^-3.34415 ^ ^-3.01109 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^-2.64503 ^ ^-3.64058 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^-1.83031 ^ ^-4.11095 0 0 0 0 1
particle dust_color_transition 0 1 1 1 0 0 1 ^-0.9356 ^ ^-4.40166 0 0 0 0 1


text:
#> asset:artifact/0907.rod_of_rain/trigger/rain_cloud/02.main
#
# 雨雲のメイン処理
#
# @within function asset:artifact/0907.rod_of_rain/trigger/rain_cloud/01.schedule_loop

#> Private
# @private
    #declare score_holder $Temp

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

# 回転
    tp @s ~ ~ ~ ~2 ~

# 演出
    particle minecraft:rain ~ ~ ~ 1.8 0 1.8 0 40 normal @a
    particle dolphin ~ ~-3 ~ 2.4 2 2.4 0 20 normal @a
    particle dolphin ~ ~-5.7 ~ 2.4 0.1 2.4 0 20 normal @a
    particle dust 0 5000000 100000000 2 ~ ~ ~ 1.5 0.2 1.5 0 8

# 音
    scoreboard players operation $Temp Temporary = @s P8.Tick
    scoreboard players operation $Temp Temporary %= $22 Const
    execute if score $Temp Temporary matches 0 run playsound weather.rain player @a ~ ~ ~ 0.5 1.5 0

# 当たり判定の演出
    scoreboard players operation $Temp Temporary = @s P8.Tick
    scoreboard players operation $Temp Temporary %= $3 Const
    execute if score $Temp Temporary matches 0 positioned ~ ~-5.8 ~ run function asset:artifact/0907.rod_of_rain/trigger/rain_cloud/03.shapes

# 効果発動処理
    scoreboard players operation $Temp Temporary = @s P8.Tick
    scoreboard players operation $Temp Temporary %= $40 Const
    execute if score $Temp Temporary matches 0 positioned ~ ~-6 ~ run tag @e[type=#lib:living,tag=!Uninterferable,tag=!Object,distance=..4.5] add P8.TargetEntity
    execute if score $Temp Temporary matches 0 positioned ~ ~-3 ~ run tag @e[type=#lib:living,tag=!Uninterferable,tag=!Object,distance=..4.5] add P8.TargetEntity
    execute if score $Temp Temporary matches 0 positioned ~ ~-6 ~ run function asset:artifact/0907.rod_of_rain/trigger/rain_cloud/04.effect

# 雨雲用スケジュールループ
    execute if entity @s[scores={P8.Tick=..400}] run schedule function asset:artifact/0907.rod_of_rain/trigger/rain_cloud/01.schedule_loop 1t replace

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

# リセット
    scoreboard players reset $Temp Temporary


text:
#> asset:artifact/0106.stone_cutter_blade/register
#
# 神器プールへの登録処理
#
# @within tag/function asset:artifact/register

data modify storage asset:artifact RarityRegistry[1] append value 106


text:
#> asset:artifact/0106.stone_cutter_blade/give/1.trigger
#
# 神器の取得処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:artifact/give

execute if data storage asset:context {id:106} run function asset:artifact/0106.stone_cutter_blade/give/2.give


text:
#> asset:artifact/0106.stone_cutter_blade/give/2.give
#
# 神器の作成部 ここでID等を定義する
#
# @user
# @within function asset:artifact/0106.stone_cutter_blade/give/1.trigger

# 神器の説明や消費MPなどをここで設定する。
# 最後にasset:artifact/common/giveを実行することで入手可能。

# 神器のID (int) スプレッドシートの値を入れる
    data modify storage asset:artifact ID set value 106
# 神器のベースアイテム
    data modify storage asset:artifact Item set value "minecraft:stick"
# 神器の名前 (TextComponentString)
    data modify storage asset:artifact Name set value '[{"text":"イシキリブレード","color":"yellow"}]'
# 神器の説明文 (TextComponentString[])
    data modify storage asset:artifact Lore set value ['[{"text":"痛そう"}]']
# MP以外の消費物 (TextComponentString) (オプション)
    # data modify storage asset:artifact CostText set value
# 使用回数 (int) (オプション)
    # data modify storage asset:artifact RemainingCount set value
# 神器を発動できるスロット (string) Wikiを参照
    data modify storage asset:artifact Slot set value "mainhand"
# 神器のトリガー (string) Wikiを参照
    data modify storage asset:artifact Trigger set value "onAttackByMelee"
# 神器の発動条件 (TextComponentString) (オプション)
    # data modify storage asset:artifact Condition set value
# 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.Damage set value [28]
# 攻撃に関する情報 -攻撃タイプ (string[]) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.AttackType set value [Physical]
# 攻撃に関する情報 -攻撃属性 (string[]) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.ElementType set value [None]
# 攻撃に関する情報 -防御無視 (boolean) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.BypassResist set value
# 攻撃に関する情報 -範囲攻撃 (string) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.IsRangeAttack set value "never"
# 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.AttackRange set value
# MP消費量 (int)
    data modify storage asset:artifact MPCost set value 5
# MP必要量 (int) (オプション)
    # data modify storage asset:artifact MPRequire set value
# 神器のクールダウン (int) (オプション)
    # data modify storage asset:artifact LocalCooldown set value
# グローバルクールダウン (int) (オプション)
    # data modify storage asset:artifact SpecialCooldown set value
# クールダウンによる使用不可のメッセージを非表示にするか否か (boolean) (オプション)
    # data modify storage asset:artifact DisableCooldownMessage set value
# MP不足による使用不可のメッセージを非表示にするか否か (boolean) (オプション)
    # data modify storage asset:artifact DisableMPMessage set value
# 扱える神 (string[]) Wikiを参照
    data modify storage asset:artifact CanUsedGod set value ["Flora", "Urban", "Rumor"]
# カスタムNBT (NBTCompound) 追加で指定したいNBT (オプション)
    # data modify storage asset:artifact CustomNBT set value {}

# 神器の入手用function
    function asset:artifact/common/give


text:
#> asset:artifact/0106.stone_cutter_blade/trigger/2.check_condition
#
# 神器の発動条件をチェックします
#
# @within function asset:artifact/0106.stone_cutter_blade/trigger/1.trigger

# 神器の基本的な条件の確認を行うfunction、成功している場合CanUsedタグが付く auto/feet/legs/chest/head/mainhand/offhandを記載してね
    function asset:artifact/common/check_condition/mainhand
# 他にアイテム等確認する場合はここに書く

# CanUsedタグをチェックして3.main.mcfunctionを実行する
    execute if entity @s[tag=CanUsed] run function asset:artifact/0106.stone_cutter_blade/trigger/3.main


text:
#> asset:artifact/0106.stone_cutter_blade/trigger/3.main
#
# 神器のメイン処理部
#
# @within function asset:artifact/0106.stone_cutter_blade/trigger/2.check_condition

# 基本的な使用時の処理(MP消費や使用回数の処理など)を行う auto/feet/legs/chest/head/mainhand/offhandを記載してね
    function asset:artifact/common/use/mainhand

# ここから先は神器側の効果の処理を書く
    # 攻撃先のエンティティで実行
        execute as @e[type=#lib:living,type=!player,tag=Victim,distance=..15] at @s run function asset:artifact/0106.stone_cutter_blade/trigger/3.1.entity.main


text:
#> asset:artifact/0106.stone_cutter_blade/trigger/1.trigger
#
# 指定したイベントタイミングで実行されるfunction
#
# @within tag/function asset:artifact/**

# storage asset:idのauto/feet/legs/chest/head/mainhand/offhandに装備している神器のIDが入っているので比較し、~/2.check_condition.mcfunctionを実行する
    execute if data storage asset:context id{mainhand:106} run function asset:artifact/0106.stone_cutter_blade/trigger/2.check_condition


text:
#> asset:artifact/0106.stone_cutter_blade/trigger/3.1.entity.main
#
# 攻撃先のエンティティに対する処理
#
# @within function asset:artifact/0106.stone_cutter_blade/trigger/3.main

# 演出など
    particle block redstone_block ~ ~1 ~ 0.1 0 0.1 4.2 80
    playsound minecraft:item.totem.use player @a ~ ~ ~ 1 2
    playsound minecraft:entity.blaze.hurt player @a ~ ~ ~ 0.2 0.1

# ダメージ処理
    # 引数の設定
    # 与えるダメージ: 8
        data modify storage lib: Argument.Damage set value 28.0f
    # 第一属性
        data modify storage lib: Argument.AttackType set value "Physical"
# 補正
    execute as @p[tag=this,distance=..15] run function lib:damage/modifier
# 実行
    function lib:damage/
# 開放
    function lib:damage/reset


text:
#> asset:artifact/0270.angel_ray_lv.10/register
#
# 神器プールへの登録処理
#
# @within tag/function asset:artifact/register

data modify storage asset:artifact RarityRegistry[4] append value 270


text:
#> asset:artifact/0270.angel_ray_lv.10/give/1.trigger
#
# 神器の取得処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:artifact/give

execute if data storage asset:context {id:270} run function asset:artifact/0270.angel_ray_lv.10/give/2.give


text:
#> asset:artifact/0270.angel_ray_lv.10/give/2.give
#
# 神器の作成部 ここでID等を定義する
#
# @user
# @within function asset:artifact/0270.angel_ray_lv.10/give/1.trigger

# 神器の説明や消費MPなどをここで設定する。
# 最後にasset:artifact/common/giveを実行することで入手可能。

# 神器のID (int) スプレッドシートの値を入れる
    data modify storage asset:artifact ID set value 270
# 神器のベースアイテム
    data modify storage asset:artifact Item set value "minecraft:carrot_on_a_stick"
# 神器の名前 (TextComponentString)
    data modify storage asset:artifact Name set value '{"text":"エンジェルレイ レベル10"}'
# 神器の説明文 (TextComponentString[])
    data modify storage asset:artifact Lore set value ['{"text":"聖霊のオーラに満ちた強烈な光芒を前方に放ち、"}','{"text":"対象にダメージを与え、味方は回復させる。"}','""','{"text":"[詳細]","color":"#ffde6e"}','[{"text":"対象:攻撃が命中すると","color":"white"},{"text":"1171.3","color":"#6e99ff"},{"text":"の魔法ダメージを与える。","color":"white"}]','[{"text":"味方:体力を","color":"white"},{"text":"53.1","color":"#6e99ff"},{"text":"回復する。","color":"white"}]']
# MP以外の消費物 (TextComponentString) (オプション)
    # data modify storage asset:artifact CostText set value
# 使用回数 (int) (オプション)
    # data modify storage asset:artifact RemainingCount set value
# 神器を発動できるスロット (string) Wikiを参照
    data modify storage asset:artifact Slot set value "auto"
# 神器のトリガー (string) Wikiを参照
    data modify storage asset:artifact Trigger set value "onClick"
# 神器の発動条件 (TextComponentString) (オプション)
    # data modify storage asset:artifact Condition set value
# 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.Damage set value ["1171.3"]
# 攻撃に関する情報 -攻撃タイプ (string[]) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.AttackType set value [Magic]
# 攻撃に関する情報 -攻撃属性 (string[]) Wikiを参照 (オプション)
    data modify storage asset:artifact AttackInfo.ElementType set value [None]
# 攻撃に関する情報 -防御無視 (boolean) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.BypassResist set value
# 攻撃に関する情報 -範囲攻撃 (string) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.IsRangeAttack set value
# 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.AttackRange set value
# MP消費量 (int)
    data modify storage asset:artifact MPCost set value 30
# MP必要量 (int) (オプション)
    # data modify storage asset:artifact MPRequire set value
# 神器のクールダウン (int) (オプション)
    data modify storage asset:artifact LocalCooldown set value 600
# グローバルクールダウン (int) (オプション)
    # data modify storage asset:artifact SpecialCooldown set value
# クールダウンによる使用不可のメッセージを非表示にするか否か (boolean) (オプション)
    # data modify storage asset:artifact DisableCooldownMessage set value
# MP不足による使用不可のメッセージを非表示にするか否か (boolean) (オプション)
    # data modify storage asset:artifact DisableMPMessage set value
# 扱える神 (string[]) Wikiを参照
    data modify storage asset:artifact CanUsedGod set value ["Nyaptov", "Wi-ki", "Rumor"]
# カスタムNBT (NBTCompound) 追加で指定したいNBT (オプション)
    # data modify storage asset:artifact CustomNBT set value {}

# 神器の入手用function
    function asset:artifact/common/give


text:
#> asset:artifact/0270.angel_ray_lv.10/trigger/2.check_condition
#
# 神器の発動条件をチェックします
#
# @within function asset:artifact/0270.angel_ray_lv.10/trigger/1.trigger

# 神器の基本的な条件の確認を行うfunction、成功している場合CanUsedタグが付く
    function asset:artifact/common/check_condition/auto
# 他にアイテム等確認する場合はここに書く

# CanUsedタグをチェックして3.main.mcfunctionを実行する
    execute if entity @s[tag=CanUsed] run function asset:artifact/0270.angel_ray_lv.10/trigger/3.main


text:
#> asset:artifact/0270.angel_ray_lv.10/trigger/ray
#
#
#
# @within function
#   asset:artifact/0270.angel_ray_lv.10/trigger/3.main
#   asset:artifact/0270.angel_ray_lv.10/trigger/recursive

# 経過tickの加算
    scoreboard players add @s 7I.AngelRay 1
# VFX
    function asset:artifact/0270.angel_ray_lv.10/trigger/vfx/
# 10tickで消える
    execute if score @s 7I.AngelRay matches 8.. run kill @s


text:
#> asset:artifact/0270.angel_ray_lv.10/trigger/3.main
#
# 神器のメイン処理部
#
# @within function asset:artifact/0270.angel_ray_lv.10/trigger/2.check_condition

# 基本的な使用時の処理(MP消費や使用回数の処理など)を行う
    function asset:artifact/common/use/auto

# ここから先は神器側の効果の処理を書く
# レイ用Entityの初期化
    summon minecraft:area_effect_cloud ~ ~1.4 ~ {Age:-2147483648,Duration:-1,WaitTime:-2147483648,Tags:["7I.AngelRay","Init","Object","Uninterferable"]}
    execute positioned ~ ~1.4 ~ run tp @e[type=area_effect_cloud,tag=Init,distance=..0.01] ~ ~ ~ ~ ~
# 初回演出
    summon area_effect_cloud ~ ~ ~ {Duration:6,Age:4,Effects:[{Id:2,Amplifier:5b,Duration:13,ShowParticles:0b}]}
    playsound entity.blaze.shoot player @a ~ ~ ~ 1 0.7
# レイ処理
    # 処理
        execute positioned ~ ~1.4 ~ as @e[type=area_effect_cloud,tag=Init,distance=..0.01] run function asset:artifact/0270.angel_ray_lv.10/trigger/ray
    # 次tick以降用にschedule予約
        schedule function asset:artifact/0270.angel_ray_lv.10/trigger/recursive 1t
# 効果処理
    execute positioned ~ ~1.4 ~ run function asset:artifact/0270.angel_ray_lv.10/trigger/effect/
# リセット
    execute positioned ~ ~1.4 ~ run tag @e[type=area_effect_cloud,tag=Init,distance=..0.01] remove Init


text:
#> asset:artifact/0270.angel_ray_lv.10/trigger/0.load
#
# 神器に利用するスコアボード等の初期化処理
#
# @within tag/function asset:artifact/load

#> 定義類はここに
# @within function asset:artifact/0270.angel_ray_lv.10/trigger/**
    scoreboard objectives add 7I.AngelRay dummy


text:
#> asset:artifact/0270.angel_ray_lv.10/trigger/1.trigger
#
# 指定したイベントタイミングで実行されるfunction
#
# @within tag/function asset:artifact/**

# storage asset:idのautoに装備している神器のIDが入っているので比較し、~/2.check_condition.mcfunctionを実行する
    execute if data storage asset:context id{auto:270} run function asset:artifact/0270.angel_ray_lv.10/trigger/2.check_condition


text:
#> asset:artifact/0270.angel_ray_lv.10/trigger/_index.d
# @private

#> 定義類はここに
# @within function asset:artifact/0270.angel_ray_lv.10/trigger/**
    #declare tag 7I.AngelRay
    #declare tag Init
    #declare tag TargetCandidate


text:
#> asset:artifact/0270.angel_ray_lv.10/trigger/recursive
#
#
#
# @within function
#   asset:artifact/0270.angel_ray_lv.10/trigger/3.main
#   asset:artifact/0270.angel_ray_lv.10/trigger/recursive

# 処理
    execute as @e[type=area_effect_cloud,tag=7I.AngelRay] at @s run function asset:artifact/0270.angel_ray_lv.10/trigger/ray
# Entityが残ってるならループ予約
    execute if entity @e[type=area_effect_cloud,tag=7I.AngelRay,limit=1] run schedule function asset:artifact/0270.angel_ray_lv.10/trigger/recursive 1t


text:
#> asset:artifact/0270.angel_ray_lv.10/trigger/effect/find_target
#
#
#
# @within function asset:artifact/0270.angel_ray_lv.10/trigger/effect/*

execute positioned ~-0.5 ~-0.5 ~-0.5 run tag @e[type=#lib:living,tag=!Uninterferable,dx=0] add TargetCandidate
execute if entity @s[distance=..12] positioned ^ ^ ^0.5 run function asset:artifact/0270.angel_ray_lv.10/trigger/effect/find_target


text:
#> asset:artifact/0270.angel_ray_lv.10/trigger/vfx/ripple_small
#
#
#
# @within function asset:artifact/0270.angel_ray_lv.10/trigger/vfx/

particle electric_spark ^0 ^-0.2 ^ ^0 ^-250 ^ 0.02 0
particle electric_spark ^0.021 ^-0.199 ^ ^26.132 ^-248.63 ^ 0.02 0
particle electric_spark ^0.042 ^-0.196 ^ ^51.978 ^-244.537 ^ 0.02 0
particle electric_spark ^0.062 ^-0.19 ^ ^77.254 ^-237.764 ^ 0.02 0
particle electric_spark ^0.081 ^-0.183 ^ ^101.684 ^-228.386 ^ 0.02 0
particle electric_spark ^0.1 ^-0.173 ^ ^125 ^-216.506 ^ 0.02 0
particle electric_spark ^0.118 ^-0.162 ^ ^146.946 ^-202.254 ^ 0.02 0
particle electric_spark ^0.134 ^-0.149 ^ ^167.283 ^-185.786 ^ 0.02 0
particle electric_spark ^0.149 ^-0.134 ^ ^185.786 ^-167.283 ^ 0.02 0
particle electric_spark ^0.162 ^-0.118 ^ ^202.254 ^-146.946 ^ 0.02 0
particle electric_spark ^0.173 ^-0.1 ^ ^216.506 ^-125 ^ 0.02 0
particle electric_spark ^0.183 ^-0.081 ^ ^228.386 ^-101.684 ^ 0.02 0
particle electric_spark ^0.19 ^-0.062 ^ ^237.764 ^-77.254 ^ 0.02 0
particle electric_spark ^0.196 ^-0.042 ^ ^244.537 ^-51.978 ^ 0.02 0
particle electric_spark ^0.199 ^-0.021 ^ ^248.63 ^-26.132 ^ 0.02 0
particle electric_spark ^0.2 ^0 ^ ^250 ^0 ^ 0.02 0
particle electric_spark ^0.199 ^0.021 ^ ^248.63 ^26.132 ^ 0.02 0
particle electric_spark ^0.196 ^0.042 ^ ^244.537 ^51.978 ^ 0.02 0
particle electric_spark ^0.19 ^0.062 ^ ^237.764 ^77.254 ^ 0.02 0
particle electric_spark ^0.183 ^0.081 ^ ^228.386 ^101.684 ^ 0.02 0
particle electric_spark ^0.173 ^0.1 ^ ^216.506 ^125 ^ 0.02 0
particle electric_spark ^0.162 ^0.118 ^ ^202.254 ^146.946 ^ 0.02 0
particle electric_spark ^0.149 ^0.134 ^ ^185.786 ^167.283 ^ 0.02 0
particle electric_spark ^0.134 ^0.149 ^ ^167.283 ^185.786 ^ 0.02 0
particle electric_spark ^0.118 ^0.162 ^ ^146.946 ^202.254 ^ 0.02 0
particle electric_spark ^0.1 ^0.173 ^ ^125 ^216.506 ^ 0.02 0
particle electric_spark ^0.081 ^0.183 ^ ^101.684 ^228.386 ^ 0.02 0
particle electric_spark ^0.062 ^0.19 ^ ^77.254 ^237.764 ^ 0.02 0
particle electric_spark ^0.042 ^0.196 ^ ^51.978 ^244.537 ^ 0.02 0
particle electric_spark ^0.021 ^0.199 ^ ^26.132 ^248.63 ^ 0.02 0
particle electric_spark ^0 ^0.2 ^ ^0 ^250 ^ 0.02 0
particle electric_spark ^-0.021 ^0.199 ^ ^-26.132 ^248.63 ^ 0.02 0
particle electric_spark ^-0.042 ^0.196 ^ ^-51.978 ^244.537 ^ 0.02 0
particle electric_spark ^-0.062 ^0.19 ^ ^-77.254 ^237.764 ^ 0.02 0
particle electric_spark ^-0.081 ^0.183 ^ ^-101.684 ^228.386 ^ 0.02 0
particle electric_spark ^-0.1 ^0.173 ^ ^-125 ^216.506 ^ 0.02 0
particle electric_spark ^-0.118 ^0.162 ^ ^-146.946 ^202.254 ^ 0.02 0
particle electric_spark ^-0.134 ^0.149 ^ ^-167.283 ^185.786 ^ 0.02 0
particle electric_spark ^-0.149 ^0.134 ^ ^-185.786 ^167.283 ^ 0.02 0
particle electric_spark ^-0.162 ^0.118 ^ ^-202.254 ^146.946 ^ 0.02 0
particle electric_spark ^-0.173 ^0.1 ^ ^-216.506 ^125 ^ 0.02 0
particle electric_spark ^-0.183 ^0.081 ^ ^-228.386 ^101.684 ^ 0.02 0
particle electric_spark ^-0.19 ^0.062 ^ ^-237.764 ^77.254 ^ 0.02 0
particle electric_spark ^-0.196 ^0.042 ^ ^-244.537 ^51.978 ^ 0.02 0
particle electric_spark ^-0.199 ^0.021 ^ ^-248.63 ^26.132 ^ 0.02 0
particle electric_spark ^-0.2 ^0 ^ ^-250 ^0 ^ 0.02 0
particle electric_spark ^-0.199 ^-0.021 ^ ^-248.63 ^-26.132 ^ 0.02 0
particle electric_spark ^-0.196 ^-0.042 ^ ^-244.537 ^-51.978 ^ 0.02 0
particle electric_spark ^-0.19 ^-0.062 ^ ^-237.764 ^-77.254 ^ 0.02 0
particle electric_spark ^-0.183 ^-0.081 ^ ^-228.386 ^-101.684 ^ 0.02 0
particle electric_spark ^-0.173 ^-0.1 ^ ^-216.506 ^-125 ^ 0.02 0
particle electric_spark ^-0.162 ^-0.118 ^ ^-202.254 ^-146.946 ^ 0.02 0
particle electric_spark ^-0.149 ^-0.134 ^ ^-185.786 ^-167.283 ^ 0.02 0
particle electric_spark ^-0.134 ^-0.149 ^ ^-167.283 ^-185.786 ^ 0.02 0
particle electric_spark ^-0.118 ^-0.162 ^ ^-146.946 ^-202.254 ^ 0.02 0
particle electric_spark ^-0.1 ^-0.173 ^ ^-125 ^-216.506 ^ 0.02 0
particle electric_spark ^-0.081 ^-0.183 ^ ^-101.684 ^-228.386 ^ 0.02 0
particle electric_spark ^-0.062 ^-0.19 ^ ^-77.254 ^-237.764 ^ 0.02 0
particle electric_spark ^-0.042 ^-0.196 ^ ^-51.978 ^-244.537 ^ 0.02 0
particle electric_spark ^-0.021 ^-0.199 ^ ^-26.132 ^-248.63 ^ 0.02 0


text:
#> asset:artifact/0270.angel_ray_lv.10/trigger/vfx/line_2
#
#
#
# @within function asset:artifact/0270.angel_ray_lv.10/trigger/vfx/

particle dust 1 0.7 0.4 0.7 ^ ^ ^00.2 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^00.4 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^00.6 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^00.8 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^01.0 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^01.2 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^01.4 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^01.6 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^01.8 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^02.0 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^02.2 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^02.4 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^02.6 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^02.8 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^03.0 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^03.2 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^03.4 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^03.6 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^03.8 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^04.0 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^04.2 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^04.4 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^04.6 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^04.8 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^05.0 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^05.2 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^05.4 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^05.6 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^05.8 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^06.0 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^06.2 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^06.4 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^06.6 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^06.8 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^07.0 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^07.2 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^07.4 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^07.6 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^07.8 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^08.0 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^08.2 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^08.4 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^08.6 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^08.8 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^09.0 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^09.2 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^09.4 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^09.6 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^09.8 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^10.0 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^10.2 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^10.4 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^10.6 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^10.8 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^11.0 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^11.2 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^11.4 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^11.6 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^11.8 0.19 0.19 0.19 0 1
particle dust 1 0.7 0.4 0.7 ^ ^ ^12.0 0.19 0.19 0.19 0 1


text:
#> asset:artifact/0270.angel_ray_lv.10/trigger/vfx/ripple_large
#
#
#
# @within function asset:artifact/0270.angel_ray_lv.10/trigger/vfx/

particle electric_spark ^0 ^-0.2 ^ ^0 ^-500 ^ 0.01 0
particle electric_spark ^0.016 ^-0.199 ^ ^39.23 ^-498.459 ^ 0.01 0
particle electric_spark ^0.031 ^-0.198 ^ ^78.217 ^-493.844 ^ 0.01 0
particle electric_spark ^0.047 ^-0.194 ^ ^116.723 ^-486.185 ^ 0.01 0
particle electric_spark ^0.062 ^-0.19 ^ ^154.508 ^-475.528 ^ 0.01 0
particle electric_spark ^0.077 ^-0.185 ^ ^191.342 ^-461.94 ^ 0.01 0
particle electric_spark ^0.091 ^-0.178 ^ ^226.995 ^-445.503 ^ 0.01 0
particle electric_spark ^0.104 ^-0.171 ^ ^261.249 ^-426.32 ^ 0.01 0
particle electric_spark ^0.118 ^-0.162 ^ ^293.893 ^-404.508 ^ 0.01 0
particle electric_spark ^0.13 ^-0.152 ^ ^324.724 ^-380.203 ^ 0.01 0
particle electric_spark ^0.141 ^-0.141 ^ ^353.553 ^-353.553 ^ 0.01 0
particle electric_spark ^0.152 ^-0.13 ^ ^380.203 ^-324.724 ^ 0.01 0
particle electric_spark ^0.162 ^-0.118 ^ ^404.508 ^-293.893 ^ 0.01 0
particle electric_spark ^0.171 ^-0.104 ^ ^426.32 ^-261.249 ^ 0.01 0
particle electric_spark ^0.178 ^-0.091 ^ ^445.503 ^-226.995 ^ 0.01 0
particle electric_spark ^0.185 ^-0.077 ^ ^461.94 ^-191.342 ^ 0.01 0
particle electric_spark ^0.19 ^-0.062 ^ ^475.528 ^-154.508 ^ 0.01 0
particle electric_spark ^0.194 ^-0.047 ^ ^486.185 ^-116.723 ^ 0.01 0
particle electric_spark ^0.198 ^-0.031 ^ ^493.844 ^-78.217 ^ 0.01 0
particle electric_spark ^0.199 ^-0.016 ^ ^498.459 ^-39.23 ^ 0.01 0
particle electric_spark ^0.2 ^0 ^ ^500 ^0 ^ 0.01 0
particle electric_spark ^0.199 ^0.016 ^ ^498.459 ^39.23 ^ 0.01 0
particle electric_spark ^0.198 ^0.031 ^ ^493.844 ^78.217 ^ 0.01 0
particle electric_spark ^0.194 ^0.047 ^ ^486.185 ^116.723 ^ 0.01 0
particle electric_spark ^0.19 ^0.062 ^ ^475.528 ^154.508 ^ 0.01 0
particle electric_spark ^0.185 ^0.077 ^ ^461.94 ^191.342 ^ 0.01 0
particle electric_spark ^0.178 ^0.091 ^ ^445.503 ^226.995 ^ 0.01 0
particle electric_spark ^0.171 ^0.104 ^ ^426.32 ^261.249 ^ 0.01 0
particle electric_spark ^0.162 ^0.118 ^ ^404.508 ^293.893 ^ 0.01 0
particle electric_spark ^0.152 ^0.13 ^ ^380.203 ^324.724 ^ 0.01 0
particle electric_spark ^0.141 ^0.141 ^ ^353.553 ^353.553 ^ 0.01 0
particle electric_spark ^0.13 ^0.152 ^ ^324.724 ^380.203 ^ 0.01 0
particle electric_spark ^0.118 ^0.162 ^ ^293.893 ^404.508 ^ 0.01 0
particle electric_spark ^0.104 ^0.171 ^ ^261.249 ^426.32 ^ 0.01 0
particle electric_spark ^0.091 ^0.178 ^ ^226.995 ^445.503 ^ 0.01 0
particle electric_spark ^0.077 ^0.185 ^ ^191.342 ^461.94 ^ 0.01 0
particle electric_spark ^0.062 ^0.19 ^ ^154.508 ^475.528 ^ 0.01 0
particle electric_spark ^0.047 ^0.194 ^ ^116.723 ^486.185 ^ 0.01 0
particle electric_spark ^0.031 ^0.198 ^ ^78.217 ^493.844 ^ 0.01 0
particle electric_spark ^0.016 ^0.199 ^ ^39.23 ^498.459 ^ 0.01 0
particle electric_spark ^0 ^0.2 ^ ^0 ^500 ^ 0.01 0
particle electric_spark ^-0.016 ^0.199 ^ ^-39.23 ^498.459 ^ 0.01 0
particle electric_spark ^-0.031 ^0.198 ^ ^-78.217 ^493.844 ^ 0.01 0
particle electric_spark ^-0.047 ^0.194 ^ ^-116.723 ^486.185 ^ 0.01 0
particle electric_spark ^-0.062 ^0.19 ^ ^-154.508 ^475.528 ^ 0.01 0
particle electric_spark ^-0.077 ^0.185 ^ ^-191.342 ^461.94 ^ 0.01 0
particle electric_spark ^-0.091 ^0.178 ^ ^-226.995 ^445.503 ^ 0.01 0
particle electric_spark ^-0.104 ^0.171 ^ ^-261.249 ^426.32 ^ 0.01 0
particle electric_spark ^-0.118 ^0.162 ^ ^-293.893 ^404.508 ^ 0.01 0
particle electric_spark ^-0.13 ^0.152 ^ ^-324.724 ^380.203 ^ 0.01 0
particle electric_spark ^-0.141 ^0.141 ^ ^-353.553 ^353.553 ^ 0.01 0
particle electric_spark ^-0.152 ^0.13 ^ ^-380.203 ^324.724 ^ 0.01 0
particle electric_spark ^-0.162 ^0.118 ^ ^-404.508 ^293.893 ^ 0.01 0
particle electric_spark ^-0.171 ^0.104 ^ ^-426.32 ^261.249 ^ 0.01 0
particle electric_spark ^-0.178 ^0.091 ^ ^-445.503 ^226.995 ^ 0.01 0
particle electric_spark ^-0.185 ^0.077 ^ ^-461.94 ^191.342 ^ 0.01 0
particle electric_spark ^-0.19 ^0.062 ^ ^-475.528 ^154.508 ^ 0.01 0
particle electric_spark ^-0.194 ^0.047 ^ ^-486.185 ^116.723 ^ 0.01 0
particle electric_spark ^-0.198 ^0.031 ^ ^-493.844 ^78.217 ^ 0.01 0
particle electric_spark ^-0.199 ^0.016 ^ ^-498.459 ^39.23 ^ 0.01 0
particle electric_spark ^-0.2 ^0 ^ ^-500 ^0 ^ 0.01 0
particle electric_spark ^-0.199 ^-0.016 ^ ^-498.459 ^-39.23 ^ 0.01 0
particle electric_spark ^-0.198 ^-0.031 ^ ^-493.844 ^-78.217 ^ 0.01 0
particle electric_spark ^-0.194 ^-0.047 ^ ^-486.185 ^-116.723 ^ 0.01 0
particle electric_spark ^-0.19 ^-0.062 ^ ^-475.528 ^-154.508 ^ 0.01 0
particle electric_spark ^-0.185 ^-0.077 ^ ^-461.94 ^-191.342 ^ 0.01 0
particle electric_spark ^-0.178 ^-0.091 ^ ^-445.503 ^-226.995 ^ 0.01 0
particle electric_spark ^-0.171 ^-0.104 ^ ^-426.32 ^-261.249 ^ 0.01 0
particle electric_spark ^-0.162 ^-0.118 ^ ^-404.508 ^-293.893 ^ 0.01 0
particle electric_spark ^-0.152 ^-0.13 ^ ^-380.203 ^-324.724 ^ 0.01 0
particle electric_spark ^-0.141 ^-0.141 ^ ^-353.553 ^-353.553 ^ 0.01 0
particle electric_spark ^-0.13 ^-0.152 ^ ^-324.724 ^-380.203 ^ 0.01 0
particle electric_spark ^-0.118 ^-0.162 ^ ^-293.893 ^-404.508 ^ 0.01 0
particle electric_spark ^-0.104 ^-0.171 ^ ^-261.249 ^-426.32 ^ 0.01 0
particle electric_spark ^-0.091 ^-0.178 ^ ^-226.995 ^-445.503 ^ 0.01 0
particle electric_spark ^-0.077 ^-0.185 ^ ^-191.342 ^-461.94 ^ 0.01 0
particle electric_spark ^-0.062 ^-0.19 ^ ^-154.508 ^-475.528 ^ 0.01 0
particle electric_spark ^-0.047 ^-0.194 ^ ^-116.723 ^-486.185 ^ 0.01 0
particle electric_spark ^-0.031 ^-0.198 ^ ^-78.217 ^-493.844 ^ 0.01 0
particle electric_spark ^-0.016 ^-0.199 ^ ^-39.23 ^-498.459 ^ 0.01 0


text:
#> asset:artifact/0270.angel_ray_lv.10/trigger/vfx/line
#
#
#
# @within function asset:artifact/0270.angel_ray_lv.10/trigger/vfx/
particle dust 1 0.9 0.6 0.7 ^ ^ ^00.2 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^00.4 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^00.6 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^00.8 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^01.0 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^01.2 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^01.4 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^01.6 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^01.8 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^02.0 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^02.2 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^02.4 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^02.6 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^02.8 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^03.0 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^03.2 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^03.4 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^03.6 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^03.8 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^04.0 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^04.2 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^04.4 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^04.6 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^04.8 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^05.0 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^05.2 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^05.4 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^05.6 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^05.8 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^06.0 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^06.2 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^06.4 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^06.6 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^06.8 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^07.0 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^07.2 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^07.4 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^07.6 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^07.8 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^08.0 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^08.2 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^08.4 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^08.6 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^08.8 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^09.0 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^09.2 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^09.4 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^09.6 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^09.8 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^10.0 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^10.2 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^10.4 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^10.6 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^10.8 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^11.0 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^11.2 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^11.4 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^11.6 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^11.8 0.1 0.1 0.1 0 1
particle dust 1 0.9 0.6 0.7 ^ ^ ^12.0 0.1 0.1 0.1 0 1


text:
#> asset:artifact/0192.falcios_wand/register
#
# 神器プールへの登録処理
#
# @within tag/function asset:artifact/register

data modify storage asset:artifact RarityRegistry[4] append value 192


text:
#> asset:artifact/0192.falcios_wand/give/1.trigger
#
# 神器の取得処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:artifact/give

execute if data storage asset:context {id:192} run function asset:artifact/0192.falcios_wand/give/2.give


text:
#> asset:artifact/0192.falcios_wand/give/2.give
#
# 神器の作成部 ここでID等を定義する
#
# @user
# @within function asset:artifact/0192.falcios_wand/give/1.trigger

# 神器の説明や消費MPなどをここで設定する。
# 最後にasset:artifact/common/giveを実行することで入手可能。

# 神器のID (int) スプレッドシートの値を入れる
    data modify storage asset:artifact ID set value 192
# 神器のベースアイテム
    data modify storage asset:artifact Item set value "minecraft:carrot_on_a_stick"
# 神器の名前 (TextComponentString)
    data modify storage asset:artifact Name set value '{"text":"ファルシオスの杖","color":"white","bold":true}'
# 神器の説明文 (TextComponentString[])
    data modify storage asset:artifact Lore set value ['{"text":"周囲のプレイヤーの体力を大きく回復する"}']
# MP以外の消費物 (TextComponentString) (オプション)
    # data modify storage asset:artifact CostText set value
# 使用回数 (int) (オプション)
    # data modify storage asset:artifact RemainingCount set value
# 神器を発動できるスロット (string) Wikiを参照
    data modify storage asset:artifact Slot set value "auto"
# 神器のトリガー (string) Wikiを参照
    data modify storage asset:artifact Trigger set value "onClick"
# 神器の発動条件 (TextComponentString) (オプション)
    # data modify storage asset:artifact Condition set value
# 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.Damage set value [0,0]
# 攻撃に関する情報 -攻撃タイプ (string[]) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.AttackType set value [Physical,Magic]
# 攻撃に関する情報 -攻撃属性 (string[]) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.ElementType set value [Fire,Water,Thunder,None]
# 攻撃に関する情報 -防御無視 (boolean) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.BypassResist set value
# 攻撃に関する情報 -範囲攻撃 (string) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.IsRangeAttack set value
# 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.AttackRange set value
# MP消費量 (int)
    data modify storage asset:artifact MPCost set value 30
# MP必要量 (int) (オプション)
    # data modify storage asset:artifact MPRequire set value
# 神器のクールダウン (int) (オプション)
    data modify storage asset:artifact LocalCooldown set value 8
# グローバルクールダウン (int) (オプション)
    # data modify storage asset:artifact SpecialCooldown set value
# クールダウンによる使用不可のメッセージを非表示にするか否か (boolean) (オプション)
    data modify storage asset:artifact DisableCooldownMessage set value true
# MP不足による使用不可のメッセージを非表示にするか否か (boolean) (オプション)
    # data modify storage asset:artifact DisableMPMessage set value
# 扱える神 (string[]) Wikiを参照
    data modify storage asset:artifact CanUsedGod set value ["Flora", "Nyaptov", "Wi-ki", "Rumor"]
# カスタムNBT (NBTCompound) 追加で指定したいNBT (オプション)
    # data modify storage asset:artifact CustomNBT set value {}

# 神器の入手用function
    function asset:artifact/common/give


text:
#> asset:artifact/0192.falcios_wand/trigger/2.check_condition
#
# 神器の発動条件をチェックします
#
# @within function asset:artifact/0192.falcios_wand/trigger/1.trigger

# 神器の基本的な条件の確認を行うfunction、成功している場合CanUsedタグが付く auto/feet/legs/chest/head/mainhand/offhandを記載してね
    function asset:artifact/common/check_condition/auto
# 他にアイテム等確認する場合はここに書く

# CanUsedタグをチェックして3.main.mcfunctionを実行する
    execute if entity @s[tag=CanUsed] run function asset:artifact/0192.falcios_wand/trigger/3.main


text:
#> asset:artifact/0192.falcios_wand/trigger/3.main
#
# 神器のメイン処理部
#
# @within function asset:artifact/0192.falcios_wand/trigger/2.check_condition

# 基本的な使用時の処理(MP消費や使用回数の処理など)を行う auto/feet/legs/chest/head/mainhand/offhandを記載してね
    function asset:artifact/common/use/auto

# ここから先は神器側の効果の処理を書く

# 演出
    execute at @a[distance=..15] run particle minecraft:heart ~ ~0.5 ~ 0.3 0.5 0.3 1 5 force @a[distance=..30]
    playsound minecraft:entity.arrow.hit_player player @a[distance=..15] ~ ~ ~ 20 1
    execute positioned ~ ~4 ~ run function asset:artifact/0192.falcios_wand/trigger/vfx/

# 回復
    data modify storage lib: Argument.Heal set value 16
    function lib:heal/modifier
    execute as @a[distance=..15] run function lib:heal/
    effect give @a[distance=..15] regeneration 8 2 true

# リセット
    function lib:heal/reset


text:
#> asset:artifact/0192.falcios_wand/trigger/0.load
#
# 神器に利用するスコアボード等の初期化処理
#
# @within tag/function asset:artifact/load

#> 定義類はここに
# @within function asset:artifact/0192.falcios_wand/trigger/**
    scoreboard objectives add 5C.Age dummy


text:
#> asset:artifact/0192.falcios_wand/trigger/1.trigger
#
# 指定したイベントタイミングで実行されるfunction
#
# @within tag/function asset:artifact/**

# storage asset:context idのauto/feet/legs/chest/head/mainhand/offhandに装備している神器のIDが入っているので比較し、~/2.check_condition.mcfunctionを実行する
    execute if data storage asset:context id{auto:192} run function asset:artifact/0192.falcios_wand/trigger/2.check_condition


text:
#> asset:artifact/0192.falcios_wand/trigger/_index.d
# @private

#> Val
# @within function asset:artifact/0192.falcios_wand/trigger/**
#declare tag 5C.VFX


text:
#> asset:artifact/0192.falcios_wand/trigger/vfx/task
#
#
#
# @within function asset:artifact/0192.falcios_wand/trigger/vfx/*

execute as @e[type=marker,tag=5C.VFX] at @s run function asset:artifact/0192.falcios_wand/trigger/vfx/main

execute if entity @e[type=marker,tag=5C.VFX,limit=1] run schedule function asset:artifact/0192.falcios_wand/trigger/vfx/task 1t


text:
#> asset:artifact/0192.falcios_wand/trigger/vfx/particle
#
#
#
# @within function asset:artifact/0192.falcios_wand/trigger/vfx/main

# [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkmKQCwCMADAGykCGVAtFQEamcel0BWNpwBMKAJwdxAZhENZAdgBmVOCjAEAdswC2CZIDDFAAQ0NYGMwy6AzknAoA9oU0QkNEXQIo4LuBjtgAG7M2IT64AAeSJ5gUNEAvvEEVqRohLaINAB0AgTWEJauiDFw2NhoMNb69DEYDgUQ+jFo1gCiZRVVrQCOhCHYUADKFt7kiEohVYkAukA_3
# 円 1
particle end_rod ^0 ^ ^-1.5 ^-34202014 ^ ^93969262 0.000000015 0
particle end_rod ^0.0785 ^ ^-1.49794 ^-39073112 ^ ^92050485 0.000000015 0
particle end_rod ^0.15679 ^ ^-1.49178 ^-43837114 ^ ^89879404 0.000000015 0
particle end_rod ^0.23465 ^ ^-1.48153 ^-48480962 ^ ^87461970 0.000000015 0
particle end_rod ^0.31187 ^ ^-1.46722 ^-52991926 ^ ^84804809 0.000000015 0
particle end_rod ^0.38823 ^ ^-1.44889 ^-57357643 ^ ^81915204 0.000000015 0
particle end_rod ^0.46353 ^ ^-1.42658 ^-61566147 ^ ^78801075 0.000000015 0
particle end_rod ^0.53755 ^ ^-1.40037 ^-65605902 ^ ^75470958 0.000000015 0
particle end_rod ^0.6101 ^ ^-1.37032 ^-69465837 ^ ^71933980 0.000000015 0
particle end_rod ^0.68099 ^ ^-1.33651 ^-73135370 ^ ^68199836 0.000000015 0
particle end_rod ^0.75 ^ ^-1.29904 ^-76604444 ^ ^64278760 0.000000015 0
particle end_rod ^0.81696 ^ ^-1.25801 ^-79863551 ^ ^60181502 0.000000015 0
particle end_rod ^0.88168 ^ ^-1.21353 ^-82903757 ^ ^55919290 0.000000015 0
particle end_rod ^0.94398 ^ ^-1.16572 ^-85716730 ^ ^51503807 0.000000015 0
particle end_rod ^1.0037 ^ ^-1.11472 ^-88294759 ^ ^46947156 0.000000015 0
particle end_rod ^1.06066 ^ ^-1.06066 ^-90630778 ^ ^42261826 0.000000015 0
particle end_rod ^1.11472 ^ ^-1.0037 ^-92718385 ^ ^37460659 0.000000015 0
particle end_rod ^1.16572 ^ ^-0.94398 ^-94551857 ^ ^32556815 0.000000015 0
particle end_rod ^1.21353 ^ ^-0.88168 ^-96126169 ^ ^27563735 0.000000015 0
particle end_rod ^1.25801 ^ ^-0.81696 ^-97437006 ^ ^22495105 0.000000015 0
particle end_rod ^1.29904 ^ ^-0.75 ^-98480775 ^ ^17364817 0.000000015 0
particle end_rod ^1.33651 ^ ^-0.68099 ^-99254615 ^ ^12186934 0.000000015 0
particle end_rod ^1.37032 ^ ^-0.6101 ^-99756405 ^ ^6975647 0.000000015 0
particle end_rod ^1.40037 ^ ^-0.53755 ^-99984769 ^ ^1745240 0.000000015 0
particle end_rod ^1.42658 ^ ^-0.46353 ^-99939082 ^ ^-3489949 0.000000015 0
particle end_rod ^1.44889 ^ ^-0.38823 ^-99619469 ^ ^-8715574 0.000000015 0
particle end_rod ^1.46722 ^ ^-0.31187 ^-99026806 ^ ^-13917310 0.000000015 0
particle end_rod ^1.48153 ^ ^-0.23465 ^-98162718 ^ ^-19080899 0.000000015 0
particle end_rod ^1.49178 ^ ^-0.15679 ^-97029572 ^ ^-24192189 0.000000015 0
particle end_rod ^1.49794 ^ ^-0.0785 ^-95630475 ^ ^-29237170 0.000000015 0
particle end_rod ^1.5 ^ ^0 ^-93969262 ^ ^-34202014 0.000000015 0
particle end_rod ^1.49794 ^ ^0.0785 ^-92050485 ^ ^-39073112 0.000000015 0
particle end_rod ^1.49178 ^ ^0.15679 ^-89879404 ^ ^-43837114 0.000000015 0
particle end_rod ^1.48153 ^ ^0.23465 ^-87461970 ^ ^-48480962 0.000000015 0
particle end_rod ^1.46722 ^ ^0.31187 ^-84804809 ^ ^-52991926 0.000000015 0
particle end_rod ^1.44889 ^ ^0.38823 ^-81915204 ^ ^-57357643 0.000000015 0
particle end_rod ^1.42658 ^ ^0.46353 ^-78801075 ^ ^-61566147 0.000000015 0
particle end_rod ^1.40037 ^ ^0.53755 ^-75470958 ^ ^-65605902 0.000000015 0
particle end_rod ^1.37032 ^ ^0.6101 ^-71933980 ^ ^-69465837 0.000000015 0
particle end_rod ^1.33651 ^ ^0.68099 ^-68199836 ^ ^-73135370 0.000000015 0
particle end_rod ^1.29904 ^ ^0.75 ^-64278760 ^ ^-76604444 0.000000015 0
particle end_rod ^1.25801 ^ ^0.81696 ^-60181502 ^ ^-79863551 0.000000015 0
particle end_rod ^1.21353 ^ ^0.88168 ^-55919290 ^ ^-82903757 0.000000015 0
particle end_rod ^1.16572 ^ ^0.94398 ^-51503807 ^ ^-85716730 0.000000015 0
particle end_rod ^1.11472 ^ ^1.0037 ^-46947156 ^ ^-88294759 0.000000015 0
particle end_rod ^1.06066 ^ ^1.06066 ^-42261826 ^ ^-90630778 0.000000015 0
particle end_rod ^1.0037 ^ ^1.11472 ^-37460659 ^ ^-92718385 0.000000015 0
particle end_rod ^0.94398 ^ ^1.16572 ^-32556815 ^ ^-94551857 0.000000015 0
particle end_rod ^0.88168 ^ ^1.21353 ^-27563735 ^ ^-96126169 0.000000015 0
particle end_rod ^0.81696 ^ ^1.25801 ^-22495105 ^ ^-97437006 0.000000015 0
particle end_rod ^0.75 ^ ^1.29904 ^-17364817 ^ ^-98480775 0.000000015 0
particle end_rod ^0.68099 ^ ^1.33651 ^-12186934 ^ ^-99254615 0.000000015 0
particle end_rod ^0.6101 ^ ^1.37032 ^-6975647 ^ ^-99756405 0.000000015 0
particle end_rod ^0.53755 ^ ^1.40037 ^-1745240 ^ ^-99984769 0.000000015 0
particle end_rod ^0.46353 ^ ^1.42658 ^3489949 ^ ^-99939082 0.000000015 0
particle end_rod ^0.38823 ^ ^1.44889 ^8715574 ^ ^-99619469 0.000000015 0
particle end_rod ^0.31187 ^ ^1.46722 ^13917310 ^ ^-99026806 0.000000015 0
particle end_rod ^0.23465 ^ ^1.48153 ^19080899 ^ ^-98162718 0.000000015 0
particle end_rod ^0.15679 ^ ^1.49178 ^24192189 ^ ^-97029572 0.000000015 0
particle end_rod ^0.0785 ^ ^1.49794 ^29237170 ^ ^-95630475 0.000000015 0
particle end_rod ^0 ^ ^1.5 ^34202014 ^ ^-93969262 0.000000015 0
particle end_rod ^-0.0785 ^ ^1.49794 ^39073112 ^ ^-92050485 0.000000015 0
particle end_rod ^-0.15679 ^ ^1.49178 ^43837114 ^ ^-89879404 0.000000015 0
particle end_rod ^-0.23465 ^ ^1.48153 ^48480962 ^ ^-87461970 0.000000015 0
particle end_rod ^-0.31187 ^ ^1.46722 ^52991926 ^ ^-84804809 0.000000015 0
particle end_rod ^-0.38823 ^ ^1.44889 ^57357643 ^ ^-81915204 0.000000015 0
particle end_rod ^-0.46353 ^ ^1.42658 ^61566147 ^ ^-78801075 0.000000015 0
particle end_rod ^-0.53755 ^ ^1.40037 ^65605902 ^ ^-75470958 0.000000015 0
particle end_rod ^-0.6101 ^ ^1.37032 ^69465837 ^ ^-71933980 0.000000015 0
particle end_rod ^-0.68099 ^ ^1.33651 ^73135370 ^ ^-68199836 0.000000015 0
particle end_rod ^-0.75 ^ ^1.29904 ^76604444 ^ ^-64278760 0.000000015 0
particle end_rod ^-0.81696 ^ ^1.25801 ^79863551 ^ ^-60181502 0.000000015 0
particle end_rod ^-0.88168 ^ ^1.21353 ^82903757 ^ ^-55919290 0.000000015 0
particle end_rod ^-0.94398 ^ ^1.16572 ^85716730 ^ ^-51503807 0.000000015 0
particle end_rod ^-1.0037 ^ ^1.11472 ^88294759 ^ ^-46947156 0.000000015 0
particle end_rod ^-1.06066 ^ ^1.06066 ^90630778 ^ ^-42261826 0.000000015 0
particle end_rod ^-1.11472 ^ ^1.0037 ^92718385 ^ ^-37460659 0.000000015 0
particle end_rod ^-1.16572 ^ ^0.94398 ^94551857 ^ ^-32556815 0.000000015 0
particle end_rod ^-1.21353 ^ ^0.88168 ^96126169 ^ ^-27563735 0.000000015 0
particle end_rod ^-1.25801 ^ ^0.81696 ^97437006 ^ ^-22495105 0.000000015 0
particle end_rod ^-1.29904 ^ ^0.75 ^98480775 ^ ^-17364817 0.000000015 0
particle end_rod ^-1.33651 ^ ^0.68099 ^99254615 ^ ^-12186934 0.000000015 0
particle end_rod ^-1.37032 ^ ^0.6101 ^99756405 ^ ^-6975647 0.000000015 0
particle end_rod ^-1.40037 ^ ^0.53755 ^99984769 ^ ^-1745240 0.000000015 0
particle end_rod ^-1.42658 ^ ^0.46353 ^99939082 ^ ^3489949 0.000000015 0
particle end_rod ^-1.44889 ^ ^0.38823 ^99619469 ^ ^8715574 0.000000015 0
particle end_rod ^-1.46722 ^ ^0.31187 ^99026806 ^ ^13917310 0.000000015 0
particle end_rod ^-1.48153 ^ ^0.23465 ^98162718 ^ ^19080899 0.000000015 0
particle end_rod ^-1.49178 ^ ^0.15679 ^97029572 ^ ^24192189 0.000000015 0
particle end_rod ^-1.49794 ^ ^0.0785 ^95630475 ^ ^29237170 0.000000015 0
particle end_rod ^-1.5 ^ ^0 ^93969262 ^ ^34202014 0.000000015 0
particle end_rod ^-1.49794 ^ ^-0.0785 ^92050485 ^ ^39073112 0.000000015 0
particle end_rod ^-1.49178 ^ ^-0.15679 ^89879404 ^ ^43837114 0.000000015 0
particle end_rod ^-1.48153 ^ ^-0.23465 ^87461970 ^ ^48480962 0.000000015 0
particle end_rod ^-1.46722 ^ ^-0.31187 ^84804809 ^ ^52991926 0.000000015 0
particle end_rod ^-1.44889 ^ ^-0.38823 ^81915204 ^ ^57357643 0.000000015 0
particle end_rod ^-1.42658 ^ ^-0.46353 ^78801075 ^ ^61566147 0.000000015 0
particle end_rod ^-1.40037 ^ ^-0.53755 ^75470958 ^ ^65605902 0.000000015 0
particle end_rod ^-1.37032 ^ ^-0.6101 ^71933980 ^ ^69465837 0.000000015 0
particle end_rod ^-1.33651 ^ ^-0.68099 ^68199836 ^ ^73135370 0.000000015 0
particle end_rod ^-1.29904 ^ ^-0.75 ^64278760 ^ ^76604444 0.000000015 0
particle end_rod ^-1.25801 ^ ^-0.81696 ^60181502 ^ ^79863551 0.000000015 0
particle end_rod ^-1.21353 ^ ^-0.88168 ^55919290 ^ ^82903757 0.000000015 0
particle end_rod ^-1.16572 ^ ^-0.94398 ^51503807 ^ ^85716730 0.000000015 0
particle end_rod ^-1.11472 ^ ^-1.0037 ^46947156 ^ ^88294759 0.000000015 0
particle end_rod ^-1.06066 ^ ^-1.06066 ^42261826 ^ ^90630778 0.000000015 0
particle end_rod ^-1.0037 ^ ^-1.11472 ^37460659 ^ ^92718385 0.000000015 0
particle end_rod ^-0.94398 ^ ^-1.16572 ^32556815 ^ ^94551857 0.000000015 0
particle end_rod ^-0.88168 ^ ^-1.21353 ^27563735 ^ ^96126169 0.000000015 0
particle end_rod ^-0.81696 ^ ^-1.25801 ^22495105 ^ ^97437006 0.000000015 0
particle end_rod ^-0.75 ^ ^-1.29904 ^17364817 ^ ^98480775 0.000000015 0
particle end_rod ^-0.68099 ^ ^-1.33651 ^12186934 ^ ^99254615 0.000000015 0
particle end_rod ^-0.6101 ^ ^-1.37032 ^6975647 ^ ^99756405 0.000000015 0
particle end_rod ^-0.53755 ^ ^-1.40037 ^1745240 ^ ^99984769 0.000000015 0
particle end_rod ^-0.46353 ^ ^-1.42658 ^-3489949 ^ ^99939082 0.000000015 0
particle end_rod ^-0.38823 ^ ^-1.44889 ^-8715574 ^ ^99619469 0.000000015 0
particle end_rod ^-0.31187 ^ ^-1.46722 ^-13917310 ^ ^99026806 0.000000015 0
particle end_rod ^-0.23465 ^ ^-1.48153 ^-19080899 ^ ^98162718 0.000000015 0
particle end_rod ^-0.15679 ^ ^-1.49178 ^-24192189 ^ ^97029572 0.000000015 0
particle end_rod ^-0.0785 ^ ^-1.49794 ^-29237170 ^ ^95630475 0.000000015 0

# [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkmKQCwCMADAGykCGVAtFQEamcel0BWNpwBMKAJwdxAZhENZAdgBmVOCjAEAdswC2CZIDDFAAQ0NYGMwy6AzknAoA9oU0QkNEXQIo4LuBjtgAG7M2IT64AAeSJ5gUNEAvvEEVqRohLaINAB0IgIE1hCWrpkEcNjYaDDW+vQxGA6FEPoxaNYAouWV1W0AjoQh2FAAyhbe5IhKIdWJALpAA_3
# 円 1
particle firework ^0.02182 ^ ^-1.24981 ^-30070579 ^ ^95371695 0.000000008 0
particle firework ^0.0872 ^ ^-1.24696 ^-35020738 ^ ^93667218 0.000000008 0
particle firework ^0.15234 ^ ^-1.24068 ^-39874906 ^ ^91706007 0.000000008 0
particle firework ^0.21706 ^ ^-1.23101 ^-44619781 ^ ^89493436 0.000000008 0
particle firework ^0.28119 ^ ^-1.21796 ^-49242356 ^ ^87035569 0.000000008 0
particle firework ^0.34455 ^ ^-1.20158 ^-53729960 ^ ^84339144 0.000000008 0
particle firework ^0.40696 ^ ^-1.1819 ^-58070295 ^ ^81411551 0.000000008 0
particle firework ^0.46826 ^ ^-1.15898 ^-62251463 ^ ^78260815 0.000000008 0
particle firework ^0.52827 ^ ^-1.13288 ^-66262004 ^ ^74895572 0.000000008 0
particle firework ^0.58684 ^ ^-1.10368 ^-70090926 ^ ^71325044 0.000000008 0
particle firework ^0.6438 ^ ^-1.07146 ^-73727733 ^ ^67559020 0.000000008 0
particle firework ^0.69899 ^ ^-1.0363 ^-77162458 ^ ^63607822 0.000000008 0
particle firework ^0.75227 ^ ^-0.99829 ^-80385686 ^ ^59482278 0.000000008 0
particle firework ^0.80348 ^ ^-0.95756 ^-83388582 ^ ^55193698 0.000000008 0
particle firework ^0.8525 ^ ^-0.91419 ^-86162916 ^ ^50753836 0.000000008 0
particle firework ^0.89917 ^ ^-0.86832 ^-88701083 ^ ^46174861 0.000000008 0
particle firework ^0.94339 ^ ^-0.82007 ^-90996127 ^ ^41469324 0.000000008 0
particle firework ^0.98501 ^ ^-0.76958 ^-93041756 ^ ^36650122 0.000000008 0
particle firework ^1.02394 ^ ^-0.71697 ^-94832365 ^ ^31730465 0.000000008 0
particle firework ^1.06006 ^ ^-0.6624 ^-96363045 ^ ^26723837 0.000000008 0
particle firework ^1.09327 ^ ^-0.60601 ^-97629600 ^ ^21643961 0.000000008 0
particle firework ^1.12349 ^ ^-0.54796 ^-98628560 ^ ^16504760 0.000000008 0
particle firework ^1.15063 ^ ^-0.48841 ^-99357185 ^ ^11320321 0.000000008 0
particle firework ^1.17462 ^ ^-0.42753 ^-99813479 ^ ^6104853 0.000000008 0
particle firework ^1.19538 ^ ^-0.36546 ^-99996192 ^ ^872653 0.000000008 0
particle firework ^1.21287 ^ ^-0.3024 ^-99904822 ^ ^-4361938 0.000000008 0
particle firework ^1.22703 ^ ^-0.23851 ^-99539619 ^ ^-9584575 0.000000008 0
particle firework ^1.23784 ^ ^-0.17397 ^-98901586 ^ ^-14780941 0.000000008 0
particle firework ^1.24524 ^ ^-0.10894 ^-97992470 ^ ^-19936793 0.000000008 0
particle firework ^1.24924 ^ ^-0.04362 ^-96814764 ^ ^-25038000 0.000000008 0
particle firework ^1.24981 ^ ^0.02182 ^-95371695 ^ ^-30070579 0.000000008 0
particle firework ^1.24696 ^ ^0.0872 ^-93667218 ^ ^-35020738 0.000000008 0
particle firework ^1.24068 ^ ^0.15234 ^-91706007 ^ ^-39874906 0.000000008 0
particle firework ^1.23101 ^ ^0.21706 ^-89493436 ^ ^-44619781 0.000000008 0
particle firework ^1.21796 ^ ^0.28119 ^-87035569 ^ ^-49242356 0.000000008 0
particle firework ^1.20158 ^ ^0.34455 ^-84339144 ^ ^-53729960 0.000000008 0
particle firework ^1.1819 ^ ^0.40696 ^-81411551 ^ ^-58070295 0.000000008 0
particle firework ^1.15898 ^ ^0.46826 ^-78260815 ^ ^-62251463 0.000000008 0
particle firework ^1.13288 ^ ^0.52827 ^-74895572 ^ ^-66262004 0.000000008 0
particle firework ^1.10368 ^ ^0.58684 ^-71325044 ^ ^-70090926 0.000000008 0
particle firework ^1.07146 ^ ^0.6438 ^-67559020 ^ ^-73727733 0.000000008 0
particle firework ^1.0363 ^ ^0.69899 ^-63607822 ^ ^-77162458 0.000000008 0
particle firework ^0.99829 ^ ^0.75227 ^-59482278 ^ ^-80385686 0.000000008 0
particle firework ^0.95756 ^ ^0.80348 ^-55193698 ^ ^-83388582 0.000000008 0
particle firework ^0.91419 ^ ^0.8525 ^-50753836 ^ ^-86162916 0.000000008 0
particle firework ^0.86832 ^ ^0.89917 ^-46174861 ^ ^-88701083 0.000000008 0
particle firework ^0.82007 ^ ^0.94339 ^-41469324 ^ ^-90996127 0.000000008 0
particle firework ^0.76958 ^ ^0.98501 ^-36650122 ^ ^-93041756 0.000000008 0
particle firework ^0.71697 ^ ^1.02394 ^-31730465 ^ ^-94832365 0.000000008 0
particle firework ^0.6624 ^ ^1.06006 ^-26723837 ^ ^-96363045 0.000000008 0
particle firework ^0.60601 ^ ^1.09327 ^-21643961 ^ ^-97629600 0.000000008 0
particle firework ^0.54796 ^ ^1.12349 ^-16504760 ^ ^-98628560 0.000000008 0
particle firework ^0.48841 ^ ^1.15063 ^-11320321 ^ ^-99357185 0.000000008 0
particle firework ^0.42753 ^ ^1.17462 ^-6104853 ^ ^-99813479 0.000000008 0
particle firework ^0.36546 ^ ^1.19538 ^-872653 ^ ^-99996192 0.000000008 0
particle firework ^0.3024 ^ ^1.21287 ^4361938 ^ ^-99904822 0.000000008 0
particle firework ^0.23851 ^ ^1.22703 ^9584575 ^ ^-99539619 0.000000008 0
particle firework ^0.17397 ^ ^1.23784 ^14780941 ^ ^-98901586 0.000000008 0
particle firework ^0.10894 ^ ^1.24524 ^19936793 ^ ^-97992470 0.000000008 0
particle firework ^0.04362 ^ ^1.24924 ^25038000 ^ ^-96814764 0.000000008 0
particle firework ^-0.02182 ^ ^1.24981 ^30070579 ^ ^-95371695 0.000000008 0
particle firework ^-0.0872 ^ ^1.24696 ^35020738 ^ ^-93667218 0.000000008 0
particle firework ^-0.15234 ^ ^1.24068 ^39874906 ^ ^-91706007 0.000000008 0
particle firework ^-0.21706 ^ ^1.23101 ^44619781 ^ ^-89493436 0.000000008 0
particle firework ^-0.28119 ^ ^1.21796 ^49242356 ^ ^-87035569 0.000000008 0
particle firework ^-0.34455 ^ ^1.20158 ^53729960 ^ ^-84339144 0.000000008 0
particle firework ^-0.40696 ^ ^1.1819 ^58070295 ^ ^-81411551 0.000000008 0
particle firework ^-0.46826 ^ ^1.15898 ^62251463 ^ ^-78260815 0.000000008 0
particle firework ^-0.52827 ^ ^1.13288 ^66262004 ^ ^-74895572 0.000000008 0
particle firework ^-0.58684 ^ ^1.10368 ^70090926 ^ ^-71325044 0.000000008 0
particle firework ^-0.6438 ^ ^1.07146 ^73727733 ^ ^-67559020 0.000000008 0
particle firework ^-0.69899 ^ ^1.0363 ^77162458 ^ ^-63607822 0.000000008 0
particle firework ^-0.75227 ^ ^0.99829 ^80385686 ^ ^-59482278 0.000000008 0
particle firework ^-0.80348 ^ ^0.95756 ^83388582 ^ ^-55193698 0.000000008 0
particle firework ^-0.8525 ^ ^0.91419 ^86162916 ^ ^-50753836 0.000000008 0
particle firework ^-0.89917 ^ ^0.86832 ^88701083 ^ ^-46174861 0.000000008 0
particle firework ^-0.94339 ^ ^0.82007 ^90996127 ^ ^-41469324 0.000000008 0
particle firework ^-0.98501 ^ ^0.76958 ^93041756 ^ ^-36650122 0.000000008 0
particle firework ^-1.02394 ^ ^0.71697 ^94832365 ^ ^-31730465 0.000000008 0
particle firework ^-1.06006 ^ ^0.6624 ^96363045 ^ ^-26723837 0.000000008 0
particle firework ^-1.09327 ^ ^0.60601 ^97629600 ^ ^-21643961 0.000000008 0
particle firework ^-1.12349 ^ ^0.54796 ^98628560 ^ ^-16504760 0.000000008 0
particle firework ^-1.15063 ^ ^0.48841 ^99357185 ^ ^-11320321 0.000000008 0
particle firework ^-1.17462 ^ ^0.42753 ^99813479 ^ ^-6104853 0.000000008 0
particle firework ^-1.19538 ^ ^0.36546 ^99996192 ^ ^-872653 0.000000008 0
particle firework ^-1.21287 ^ ^0.3024 ^99904822 ^ ^4361938 0.000000008 0
particle firework ^-1.22703 ^ ^0.23851 ^99539619 ^ ^9584575 0.000000008 0
particle firework ^-1.23784 ^ ^0.17397 ^98901586 ^ ^14780941 0.000000008 0
particle firework ^-1.24524 ^ ^0.10894 ^97992470 ^ ^19936793 0.000000008 0
particle firework ^-1.24924 ^ ^0.04362 ^96814764 ^ ^25038000 0.000000008 0
particle firework ^-1.24981 ^ ^-0.02182 ^95371695 ^ ^30070579 0.000000008 0
particle firework ^-1.24696 ^ ^-0.0872 ^93667218 ^ ^35020738 0.000000008 0
particle firework ^-1.24068 ^ ^-0.15234 ^91706007 ^ ^39874906 0.000000008 0
particle firework ^-1.23101 ^ ^-0.21706 ^89493436 ^ ^44619781 0.000000008 0
particle firework ^-1.21796 ^ ^-0.28119 ^87035569 ^ ^49242356 0.000000008 0
particle firework ^-1.20158 ^ ^-0.34455 ^84339144 ^ ^53729960 0.000000008 0
particle firework ^-1.1819 ^ ^-0.40696 ^81411551 ^ ^58070295 0.000000008 0
particle firework ^-1.15898 ^ ^-0.46826 ^78260815 ^ ^62251463 0.000000008 0
particle firework ^-1.13288 ^ ^-0.52827 ^74895572 ^ ^66262004 0.000000008 0
particle firework ^-1.10368 ^ ^-0.58684 ^71325044 ^ ^70090926 0.000000008 0
particle firework ^-1.07146 ^ ^-0.6438 ^67559020 ^ ^73727733 0.000000008 0
particle firework ^-1.0363 ^ ^-0.69899 ^63607822 ^ ^77162458 0.000000008 0
particle firework ^-0.99829 ^ ^-0.75227 ^59482278 ^ ^80385686 0.000000008 0
particle firework ^-0.95756 ^ ^-0.80348 ^55193698 ^ ^83388582 0.000000008 0
particle firework ^-0.91419 ^ ^-0.8525 ^50753836 ^ ^86162916 0.000000008 0
particle firework ^-0.86832 ^ ^-0.89917 ^46174861 ^ ^88701083 0.000000008 0
particle firework ^-0.82007 ^ ^-0.94339 ^41469324 ^ ^90996127 0.000000008 0
particle firework ^-0.76958 ^ ^-0.98501 ^36650122 ^ ^93041756 0.000000008 0
particle firework ^-0.71697 ^ ^-1.02394 ^31730465 ^ ^94832365 0.000000008 0
particle firework ^-0.6624 ^ ^-1.06006 ^26723837 ^ ^96363045 0.000000008 0
particle firework ^-0.60601 ^ ^-1.09327 ^21643961 ^ ^97629600 0.000000008 0
particle firework ^-0.54796 ^ ^-1.12349 ^16504760 ^ ^98628560 0.000000008 0
particle firework ^-0.48841 ^ ^-1.15063 ^11320321 ^ ^99357185 0.000000008 0
particle firework ^-0.42753 ^ ^-1.17462 ^6104853 ^ ^99813479 0.000000008 0
particle firework ^-0.36546 ^ ^-1.19538 ^872653 ^ ^99996192 0.000000008 0
particle firework ^-0.3024 ^ ^-1.21287 ^-4361938 ^ ^99904822 0.000000008 0
particle firework ^-0.23851 ^ ^-1.22703 ^-9584575 ^ ^99539619 0.000000008 0
particle firework ^-0.17397 ^ ^-1.23784 ^-14780941 ^ ^98901586 0.000000008 0
particle firework ^-0.10894 ^ ^-1.24524 ^-19936793 ^ ^97992470 0.000000008 0
particle firework ^-0.04362 ^ ^-1.24924 ^-25038000 ^ ^96814764 0.000000008 0


text:
#> asset:artifact/0192.falcios_wand/trigger/vfx/main
#
#
#
# @within function asset:artifact/0192.falcios_wand/trigger/vfx/*

tp @s ~ ~ ~ ~0.75 0

scoreboard players add @s 5C.Age 1
execute if score @s 5C.Age matches 1 at @s run function asset:artifact/0192.falcios_wand/trigger/vfx/particle
execute if score @s 5C.Age matches 3 at @s run function asset:artifact/0192.falcios_wand/trigger/vfx/particle
execute if score @s 5C.Age matches 3.. run kill @s


text:
#> asset:artifact/0801.red_secret_stone/register
#
# 神器プールへの登録処理
#
# @within tag/function asset:artifact/register

data modify storage asset:artifact RarityRegistry[2] append value 801


text:
#> asset:artifact/0801.red_secret_stone/give/1.trigger
#
# 神器の取得処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:artifact/give

execute if data storage asset:context {id:801} run function asset:artifact/0801.red_secret_stone/give/2.give


text:
#> asset:artifact/0801.red_secret_stone/give/2.give
#
# 神器の作成部 ここでID等を定義する
#
# @user
# @within function asset:artifact/0801.red_secret_stone/give/1.trigger

# 神器の説明や消費MPなどをここで設定する。
# 最後にasset:artifact/common/giveを実行することで入手可能。

# 神器のID (int) スプレッドシートの値を入れる
    data modify storage asset:artifact ID set value 801
# 神器のベースアイテム
    data modify storage asset:artifact Item set value "minecraft:nether_star"
# 神器の名前 (TextComponentString)
    data modify storage asset:artifact Name set value '{"text":"謎の赤い秘石","color":"red","bold":true,"italic":false}'
# 神器の説明文 (TextComponentString[])
    data modify storage asset:artifact Lore set value ['{"text":"赤い卵型の宝石だ。中に人型の何かが入っているようだ","color":"dark_aqua","italic":false}','{"text":"ダメージを受けた時、回復する","color":"dark_aqua","italic":false}']
# MP以外の消費物 (TextComponentString) (オプション)
    # data modify storage asset:artifact CostText set value
# 使用回数 (int) (オプション)
    data modify storage asset:artifact RemainingCount set value 100
# 神器を発動できるスロット (string) Wikiを参照
    data modify storage asset:artifact Slot set value "offhand"
# 神器のトリガー (string) Wikiを参照
    data modify storage asset:artifact Trigger set value "onDamage"
# 神器の発動条件 (TextComponentString) (オプション)
    # data modify storage asset:artifact Condition set value
# 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.Damage set value [0,0]
# 攻撃に関する情報 -攻撃タイプ (string[]) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.AttackType set value [Physical,Magic]
# 攻撃に関する情報 -攻撃属性 (string[]) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.ElementType set value [Fire,Water,Thunder,None]
# 攻撃に関する情報 -防御無視 (boolean) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.BypassResist set value
# 攻撃に関する情報 -範囲攻撃 (string) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.IsRangeAttack set value
# 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.AttackRange set value
# MP消費量 (int)
    data modify storage asset:artifact MPCost set value 20
# MP必要量 (int) (オプション)
    # data modify storage asset:artifact MPRequire set value
# 神器のクールダウン (int) (オプション)
    data modify storage asset:artifact LocalCooldown set value 60
# グローバルクールダウン (int) (オプション)
    # data modify storage asset:artifact SpecialCooldown set value
# クールダウンによる使用不可のメッセージを非表示にするか否か (boolean) (オプション)
    data modify storage asset:artifact DisableCooldownMessage set value false
# MP不足による使用不可のメッセージを非表示にするか否か (boolean) (オプション)
    # data modify storage asset:artifact DisableMPMessage set value
# 扱える神 (string[]) Wikiを参照
    data modify storage asset:artifact CanUsedGod set value ["Urban", "Wi-ki", "Rumor"]
# カスタムNBT (NBTCompound) 追加で指定したいNBT (オプション)
    # data modify storage asset:artifact CustomNBT set value {}

# 神器の入手用function
    function asset:artifact/common/give


text:
#> asset:artifact/0801.red_secret_stone/trigger/2.check_condition
#
# 神器の発動条件をチェックします
#
# @within function asset:artifact/0801.red_secret_stone/trigger/1.trigger

# 神器の基本的な条件の確認を行うfunction、成功している場合CanUsedタグが付く
    function asset:artifact/common/check_condition/offhand
# 他にアイテム等確認する場合はここに書く

# CanUsedタグをチェックして3.main.mcfunctionを実行する
    execute if entity @s[tag=CanUsed] run function asset:artifact/0801.red_secret_stone/trigger/3.main


text:
#> asset:artifact/0801.red_secret_stone/trigger/3.main
#
# 神器のメイン処理部
#
# @within function asset:artifact/0801.red_secret_stone/trigger/2.check_condition

# 基本的な使用時の処理(MP消費や使用回数の処理など)を行う
    function asset:artifact/common/use/offhand

# ここから先は神器側の効果の処理を書く

# 回復効果
    # 回復する量 = 5
        data modify storage lib: Argument.Heal set value 5f
# 実行者対象
    function lib:heal/modifier
    function lib:heal/
# リセット
    function lib:heal/reset

# 演出
    particle minecraft:happy_villager ~ ~ ~ 1 1 1 1 100 normal @s
    playsound minecraft:entity.arrow.hit_player player @s ~ ~ ~ 1 0.8


text:
#> asset:artifact/0801.red_secret_stone/trigger/1.trigger
#
# 指定したイベントタイミングで実行されるfunction
#
# @within tag/function asset:artifact/**

# storage asset:idのoffhandに装備している神器のIDが入っているので比較し、~/2.check_condition.mcfunctionを実行する
    execute if data storage asset:context id{offhand:801} run function asset:artifact/0801.red_secret_stone/trigger/2.check_condition


text:
#> asset:artifact/0167.blessing_helmet/register
#
# 神器プールへの登録処理
#
# @within tag/function asset:artifact/register

data modify storage asset:artifact RarityRegistry[1] append value 167


text:
#> asset:artifact/0167.blessing_helmet/give/1.trigger
#
# 神器の取得処理の呼び出し時に実行されるfunction
#
# @within tag/function asset:artifact/give

execute if data storage asset:context {id:167} run function asset:artifact/0167.blessing_helmet/give/2.give


text:
#> asset:artifact/0167.blessing_helmet/give/2.give
#
# 神器の作成部 ここでID等を定義する
#
# @user
# @within function asset:artifact/0167.blessing_helmet/give/1.trigger

# 神器の説明や消費MPなどをここで設定する。
# 最後にasset:artifact/common/giveを実行することで入手可能。

# 神器のID (int) スプレッドシートの値を入れる
    data modify storage asset:artifact ID set value 167
# 神器のベースアイテム
    data modify storage asset:artifact Item set value "minecraft:diamond_helmet"
# 神器の名前 (TextComponentString)
    data modify storage asset:artifact Name set value '{"text":"加護のヘルメット","color":"light_purple"}'
# 神器の説明文 (TextComponentString[])
    data modify storage asset:artifact Lore set value ['[{"text":"神々の加護","color":"yellow"},{"text":"を受けたヘルメット","color":"white"}]','[{"text":"奈落","color":"dark_purple"},{"text":"から身を守る機能もあるが、","color":"white"}]','{"text":"実戦向きではない"}']
# MP以外の消費物 (TextComponentString) (オプション)
    # data modify storage asset:artifact CostText set value
# 使用回数 (int) (オプション)
    data modify storage asset:artifact RemainingCount set value 1
# 神器を発動できるスロット (string) Wikiを参照
    data modify storage asset:artifact Slot set value "head"
# 神器のトリガー (string) Wikiを参照
    data modify storage asset:artifact Trigger set value "passive"
# 神器の発動条件 (TextComponentString) (オプション)
    # data modify storage asset:artifact Condition set value
# 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.Damage set value [0,0]
# 攻撃に関する情報 -攻撃タイプ (string[]) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.AttackType set value [Physical,Magic]
# 攻撃に関する情報 -攻撃属性 (string[]) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.ElementType set value [Fire,Water,Thunder,None]
# 攻撃に関する情報 -防御無視 (boolean) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.BypassResist set value
# 攻撃に関する情報 -範囲攻撃 (string) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.IsRangeAttack set value
# 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション)
    # data modify storage asset:artifact AttackInfo.AttackRange set value
# MP消費量 (int)
    data modify storage asset:artifact MPCost set value 0
# MP必要量 (int) (オプション)
    # data modify storage asset:artifact MPRequire set value
# 神器のクールダウン (int) (オプション)
    # data modify storage asset:artifact LocalCooldown set value
# グローバルクールダウン (int) (オプション)
    # data modify storage asset:artifact SpecialCooldown set value
# クールダウンによる使用不可のメッセージを非表示にするか否か (boolean) (オプション)
    # data modify storage asset:artifact DisableCooldownMessage set value
# MP不足による使用不可のメッセージを非表示にするか否か (boolean) (オプション)
    # data modify storage asset:artifact DisableMPMessage set value
# 扱える神 (string[]) Wikiを参照
    data modify storage asset:artifact CanUsedGod set value ["Flora", "Urban", "Nyaptov", "Wi-ki", "Rumor"]
# カスタムNBT (NBTCompound) 追加で指定したいNBT (オプション)
    data modify storage asset:artifact CustomNBT set value {AttributeModifiers:[{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:0.2,Operation:1,UUID:[I;1,1,167,3],Slot:"head"},{AttributeName:"generic.armor",Name:"generic.armor",Amount:-1,Operation:1,UUID:[I;1,1,167,3],Slot:"head"}]}

# 神器の入手用function
    function asset:artifact/common/give


text:
#> asset:artifact/0167.blessing_helmet/trigger/2.check_condition
#
# 神器の発動条件をチェックします
#
# @within function asset:artifact/0167.blessing_helmet/trigger/1.trigger

# 神器の基本的な条件の確認を行うfunction、成功している場合CanUsedタグが付く auto/feet/legs/chest/head/mainhand/offhandを記載してね
    function asset:artifact/common/check_condition/head
# 他にアイテム等確認する場合はここに書く

# Y座標が0未満のみ処理
    execute unless predicate lib:is_void run tag @s remove CanUsed

# CanUsedタグをチェックして3.main.mcfunctionを実行する
    execute if entity @s[tag=CanUsed] run function asset:artifact/0167.blessing_helmet/trigger/3.main


text:
#> asset:artifact/0167.blessing_helmet/trigger/3.main
#
# 神器のメイン処理部
#
# @within function asset:artifact/0167.blessing_helmet/trigger/2.check_condition

# 基本的な使用時の処理(MP消費や使用回数の処理など)を行う auto/feet/legs/chest/head/mainhand/offhandを記載してね
    function asset:artifact/common/use/head

# ここから先は神器側の効果の処理を書く

# 落下速度低下付与
    effect give @s minecraft:slow_falling 1 1

# テレポート
    execute in minecraft:overworld run tp @s 23 3 24

# 演出
    particle portal 23 3 24 0 0 0 2 250 force @a
    particle effect 23 3 24 0 10 0 0.1 250 force @a
    playsound entity.illusioner.prepare_blindness player @s 23 3 24 1 0 1