Skip to content

Commit

Permalink
⚖️ [神器664-667] 魂炎纏のフルセット効果の発動条件を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
haiiro2gou committed Dec 28, 2023
1 parent 8f8442f commit f5defad
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# 神器の名前 (TextComponentString)
data modify storage asset:artifact Name set value '{"text":"魂炎纏","color":"#01A7AC","bold":true}'
# 神器の説明文 (TextComponentString[])
data modify storage asset:artifact Lore set value ['{"text":"魂炎を纏う者に代償を。","color":"aqua"}','{"text":"代償背負いし者へ力を。","color":"aqua"}','[{"text":"物理攻撃+5% ","color":"dark_green"},{"text":"火耐性+10% 火攻撃+10% ","color":"red"}]','[{"text":"MP回復量+8% ","color":"green"},{"text":"最大体力-10%","color":"dark_red"}]']
data modify storage asset:artifact Lore set value ['[{"text":"物理攻撃+5% ","color":"dark_green"},{"text":"火耐性+10% 火攻撃+10% ","color":"red"}]','[{"text":"MP回復量+8% ","color":"green"},{"text":"最大体力-10%","color":"dark_red"}]','{"text":"魂炎を纏う者に代償を。","color":"#017C80","italic":"true"}','{"text":"代償背負いし者へ力を。","color":"#017C80","italic":"true"}']
# MP以外の消費物 (TextComponentString) (オプション)
# data modify storage asset:artifact CostText set value
# 使用回数 (int) (オプション)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
#> asset:artifact/0664.soul_fire_armor/trigger/fullset/melee
#> asset:artifact/0664.soul_fire_armor/trigger/fullset/attack
#
# フルセット時の近接攻撃
#
# @within function asset:artifact/0664.soul_fire_armor/trigger/fullset/melee_trigger
# @within function asset:artifact/0664.soul_fire_armor/trigger/fullset/attack_trigger

# 演出
execute as @e[type=#lib:living,type=!player,tag=Victim,distance=..6] at @s run function asset:artifact/0664.soul_fire_armor/trigger/fullset/particle
execute at @e[type=#lib:living,type=!player,tag=Victim,distance=..6] run playsound block.fire.ambient player @a ~ ~ ~ 2 0.8 0
execute at @e[type=#lib:living,type=!player,tag=Victim,distance=..6] run playsound particle.soul_escape player @a ~ ~ ~ 2 0 0
execute at @e[type=#lib:living,type=!player,tag=Victim,distance=..6] run playsound minecraft:block.sculk_sensor.clicking player @a ~ ~ ~ 0.6 0.4 0
execute as @e[type=#lib:living,type=!player,tag=Victim,distance=..64] at @s run function asset:artifact/0664.soul_fire_armor/trigger/fullset/particle
execute at @e[type=#lib:living,type=!player,tag=Victim,distance=..64] run playsound block.fire.ambient player @a ~ ~ ~ 2 0.8 0
execute at @e[type=#lib:living,type=!player,tag=Victim,distance=..64] run playsound particle.soul_escape player @a ~ ~ ~ 2 0 0
execute at @e[type=#lib:living,type=!player,tag=Victim,distance=..64] run playsound minecraft:block.sculk_sensor.clicking player @a ~ ~ ~ 0.6 0.4 0

# ダメージ設定
data modify storage lib: Argument.Damage set value 80.0f
data modify storage lib: Argument.AttackType set value "Physical"
data modify storage lib: Argument.ElementType set value "Fire"
function lib:damage/modifier
execute as @e[type=#lib:living,type=!player,tag=Victim,distance=..6] run function lib:damage/
execute as @e[type=#lib:living,type=!player,tag=Victim,distance=..64] run function lib:damage/
# リセット
function lib:damage/reset

# クールタイム設定
scoreboard players set @s IG.AttackCT 40
scoreboard players set @s IG.AttackCT 20
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#> asset:artifact/0664.soul_fire_armor/trigger/fullset/melee_trigger
#> asset:artifact/0664.soul_fire_armor/trigger/fullset/attack_trigger
#
# フルセット検知して近接攻撃するよ
#
# @within tag/function asset:artifact/attack/melee
# @within tag/function asset:artifact/attack

# 攻撃
execute if entity @s[tag=IG.Fullset] unless entity @s[scores={IG.AttackCT=0..}] run function asset:artifact/0664.soul_fire_armor/trigger/fullset/melee
execute if entity @s[tag=IG.Fullset] unless entity @s[scores={IG.AttackCT=0..}] run function asset:artifact/0664.soul_fire_armor/trigger/fullset/attack
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# @within function
# asset:artifact/0664.soul_fire_armor/trigger/fullset/
# asset:artifact/0664.soul_fire_armor/trigger/fullset/melee
# asset:artifact/0664.soul_fire_armor/trigger/fullset/attack

# 1つ目の円
execute rotated ~0 0 positioned ^ ^0.2 ^0.8 facing entity @s feet rotated ~ ~-5 run particle soul ~ ~ ~ ^ ^ ^300000000 0.0000000001 0 normal @a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# 神器の名前 (TextComponentString)
data modify storage asset:artifact Name set value '{"text":"魂炎纏","color":"#01A7AC","bold":true}'
# 神器の説明文 (TextComponentString[])
data modify storage asset:artifact Lore set value ['[{"text":"魂炎を纏う者に代償を。","color":"aqua"}]','[{"text":"代償背負いし者へ力を。","color":"aqua"}]','[{"text":"物理攻撃+5% ","color":"dark_green"},{"text":"火耐性+10% 火攻撃+10% ","color":"red"}]','[{"text":"MP回復量+8% ","color":"green"},{"text":"最大体力-10%","color":"dark_red"}]','[{"text":"魂炎を完全に纏いし時","color":"#01A7AC"}]','[{"text":"火攻撃+10% ","color":"red"},{"text":"MP回復量+8% ","color":"green"},{"text":"最大体力-10%","color":"dark_red"}]','[{"text":"の効果を追加で得て","color":"#01A7AC"}]','[{"text":"近接攻撃時に魂炎で対象を攻撃する。","color":"#01A7AC"}]']
data modify storage asset:artifact Lore set value ['[{"text":"物理攻撃+5% ","color":"dark_green"},{"text":"火耐性+10% 火攻撃+10% ","color":"red"}]','[{"text":"MP回復量+8% ","color":"green"},{"text":"最大体力-10%","color":"dark_red"}]','[{"text":"魂炎を完全に纏いし時","color":"#01A7AC"}]','[{"text":"火攻撃+10% ","color":"red"},{"text":"MP回復量+8% ","color":"green"},{"text":"最大体力-10%","color":"dark_red"}]','[{"text":"魂炎を纏う者に代償を。","color":"#017C80","italic":"true"}]','[{"text":"代償背負いし者へ力を。","color":"#017C80","italic":"true"}]']
# MP以外の消費物 (TextComponentString) (オプション)
# data modify storage asset:artifact CostText set value
# 使用回数 (int) (オプション)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# 神器の名前 (TextComponentString)
data modify storage asset:artifact Name set value '{"text":"魂炎纏","color":"#01A7AC","bold":true}'
# 神器の説明文 (TextComponentString[])
data modify storage asset:artifact Lore set value ['{"text":"魂炎を纏う者に代償を。","color":"aqua"}','{"text":"代償背負いし者へ力を。","color":"aqua"}','[{"text":"物理攻撃+5% ","color":"dark_green"},{"text":"火耐性+10% 火攻撃+10% ","color":"red"}]','[{"text":"MP回復量+8% ","color":"green"},{"text":"最大体力-10%","color":"dark_red"}]']
data modify storage asset:artifact Lore set value ['[{"text":"物理攻撃+5% ","color":"dark_green"},{"text":"火耐性+10% 火攻撃+10% ","color":"red"}]','[{"text":"MP回復量+8% ","color":"green"},{"text":"最大体力-10%","color":"dark_red"}]','{"text":"魂炎を纏う者に代償を。","color":"#017C80","italic":"true"}','{"text":"代償背負いし者へ力を。","color":"#017C80","italic":"true"}']
# MP以外の消費物 (TextComponentString) (オプション)
# data modify storage asset:artifact CostText set value
# 使用回数 (int) (オプション)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# 神器の名前 (TextComponentString)
data modify storage asset:artifact Name set value '{"text":"魂炎纏","color":"#01A7AC","bold":true}'
# 神器の説明文 (TextComponentString[])
data modify storage asset:artifact Lore set value ['{"text":"魂炎を纏う者に代償を。","color":"aqua"}','{"text":"代償背負いし者へ力を。","color":"aqua"}','[{"text":"物理攻撃+5% ","color":"dark_green"},{"text":"火耐性+10% 火攻撃+10% ","color":"red"}]','[{"text":"MP回復量+8% ","color":"green"},{"text":"最大体力-10%","color":"dark_red"}]']
data modify storage asset:artifact Lore set value ['[{"text":"物理攻撃+5% ","color":"dark_green"},{"text":"火耐性+10% 火攻撃+10% ","color":"red"}]','[{"text":"MP回復量+8% ","color":"green"},{"text":"最大体力-10%","color":"dark_red"}]','{"text":"魂炎を纏う者に代償を。","color":"#017C80","italic":"true"}','{"text":"代償背負いし者へ力を。","color":"#017C80","italic":"true"}']
# MP以外の消費物 (TextComponentString) (オプション)
# data modify storage asset:artifact CostText set value
# 使用回数 (int) (オプション)
Expand Down
1 change: 1 addition & 0 deletions Asset/data/asset/tags/functions/artifact/attack.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"values": [
"asset:artifact/0664.soul_fire_armor/trigger/fullset/attack_trigger",
"asset:artifact/example/trigger/1.trigger"
]
}
3 changes: 1 addition & 2 deletions Asset/data/asset/tags/functions/artifact/attack/melee.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"asset:artifact/0643.raimei_chestplate/trigger/1.1.attacktrigger",
"asset:artifact/0733.percentage_sword/trigger/1.trigger",
"asset:artifact/0672.aurora_blade/trigger/1.trigger",
"asset:artifact/0745.blade_of_whirlwind/trigger/1.trigger",
"asset:artifact/0664.soul_fire_armor/trigger/fullset/melee_trigger"
"asset:artifact/0745.blade_of_whirlwind/trigger/1.trigger"
]
}

0 comments on commit f5defad

Please sign in to comment.