-
-
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.
GH-605 Modify 特殊デバフ付与の中断条件を各apply内に移動
- Loading branch information
Showing
11 changed files
with
45 additions
and
13 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
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#> effect:confuse/apply | ||
### 混乱 | ||
|
||
# 効果中なら中断 | ||
execute if score @s ConfuseCount matches 0.. run return fail | ||
|
||
scoreboard players set @s ConfuseCount 10 | ||
function makeup:effect/confuse/apply |
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 |
---|---|---|
@@ -1,5 +1,9 @@ | ||
#> effect:curse/apply | ||
### 呪詛 | ||
|
||
# 効果中なら中断 | ||
execute if entity @s[tag=Curse] run return fail | ||
|
||
tag @s add Curse | ||
effect give @s bad_omen infinite 0 false | ||
function makeup:effect/curse/apply |
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#> effect:doom/apply | ||
### 死の宣告 | ||
|
||
# 効果中なら中断 | ||
execute if score @s DoomCount matches 1..31 run return fail | ||
|
||
scoreboard players set @s DoomCount 31 | ||
execute if entity @s run function makeup:effect/doom/apply | ||
function makeup:effect/doom/apply |
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
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
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
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
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
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
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#> effect:virus/apply | ||
### 病気 | ||
|
||
# 効果中なら中断 | ||
execute if score @s VirusCount matches 0.. run return fail | ||
|
||
scoreboard players set @s VirusCount 90 | ||
function makeup:effect/virus/apply |