diff --git a/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_non-player/as_target.mcfunction b/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_non-player/as_target.mcfunction index e59ef5b2c3..aa625c5493 100644 --- a/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_non-player/as_target.mcfunction +++ b/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_non-player/as_target.mcfunction @@ -14,6 +14,7 @@ data modify storage api: Argument.Damage set from storage asset:context this.Damage data modify storage api: Argument.AttackType set from storage asset:context this.AttackType data modify storage api: Argument.ElementType set from storage asset:context this.ElementType + execute if data storage asset:context this.Metadata run data modify storage api: Argument.Metadata set from storage asset:context this.Metadata # execute if data storage asset:context this.AdditionalMPHeal run data modify storage api: Argument.AdditionalMPHeal set from storage asset:context this.AdditionalMPHeal # modifier をかける data modify storage api: Argument.MobUUID set from storage asset:context this.MobUUID diff --git a/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_player/as_target.mcfunction b/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_player/as_target.mcfunction index 45cf9e608e..56b9460b2b 100644 --- a/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_player/as_target.mcfunction +++ b/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_player/as_target.mcfunction @@ -19,6 +19,7 @@ data modify storage api: Argument.Damage set from storage asset:context this.Damage data modify storage api: Argument.AttackType set from storage asset:context this.AttackType data modify storage api: Argument.ElementType set from storage asset:context this.ElementType + execute if data storage asset:context this.Metadata run data modify storage api: Argument.Metadata set from storage asset:context this.Metadata execute if data storage asset:context this.AdditionalMPHeal run data modify storage api: Argument.AdditionalMPHeal set from storage asset:context this.AdditionalMPHeal # modifier をかける execute as @a[tag=1009.Player] run function api:damage/modifier diff --git a/Asset/data/asset/functions/object/1009.arrow/register.mcfunction b/Asset/data/asset/functions/object/1009.arrow/register.mcfunction index f589fccdb0..b841828ed5 100644 --- a/Asset/data/asset/functions/object/1009.arrow/register.mcfunction +++ b/Asset/data/asset/functions/object/1009.arrow/register.mcfunction @@ -24,6 +24,7 @@ data modify storage asset:object Field.Damage set value 1 data modify storage asset:object Field.AttackType set value "Physical" data modify storage asset:object Field.ElementType set value "None" + # data modify storage asset:object Field.Metadata set value # data modify storage asset:object Field.AdditionalMPHeal set value # data modify storage asset:object Field.UserID set value # data modify storage asset:object Field.MobUUID set value