-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
data/skill/functions/act/white_mage/sacred_pillar/player_damage.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# 代償ダメージ | ||
execute store result score _ Calc run attribute @s minecraft:generic.max_health get 25 | ||
execute store result score _ _ run data get entity @s AbsorptionAmount 25 | ||
scoreboard players operation _ Calc += _ _ | ||
|
||
data modify storage score_damage: Argument set value {Damage:6,BypassArmor:true,BypassResistance:true,DeathCause:'[{"translate":"聖域を生み出すために%1$sはチリとなった","with":[{"selector":"@s"}]}]'} | ||
execute store result storage score_damage: Argument.Damage double 0.01 run scoreboard players get _ Calc | ||
|
||
function score_damage:api/attack |