Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

セイクリッドピラーの倍率を制限 #664

Open
wants to merge 2 commits into
base: update/v13-2-5-alpha2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ scoreboard players operation @s _ /= _ _
scoreboard players operation _ SpecialAttack = @s _
scoreboard players operation _ SpecialAttack += _ Calc

# 倍率制限
execute if score _ SpecialAttack matches 3001.. run scoreboard players set _ SpecialAttack 3000

#ダメージあれば成功
execute if score _ SpecialAttack matches ..0 run function makeup:skill/act/white_mage/sacred_pillar/failure
execute if score _ SpecialAttack matches ..0 run data modify storage skill: Success set value 0b
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ scoreboard players operation _ Calc += _ _
data modify storage score_damage: Argument set value {Damage:6,EPF:0,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
function score_damage:api/attack
Loading