-
-
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
4 changed files
with
17 additions
and
10 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
data/skill/functions/act/black_mage/mana_refresh/act0.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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
|
||
### マナリフレッシュ発動 | ||
|
||
execute if score _ Level matches 1 run scoreboard players set _ ManaRefresh 601 | ||
execute if score _ Level matches 2 run scoreboard players set _ ManaRefresh 901 | ||
execute if score _ Level matches 3 run scoreboard players set _ ManaRefresh 602 | ||
execute if score _ Level matches 1 run scoreboard players set _ ManaRefresh 602 | ||
execute if score _ Level matches 2 run scoreboard players set _ ManaRefresh 902 | ||
execute if score _ Level matches 3 run scoreboard players set _ ManaRefresh 603 | ||
|
||
function skill:act/black_mage/mana_refresh/apply | ||
execute if score @s SneakTime matches 1.. if score _ Level matches 1 run scoreboard players set _ ManaRefresh 201 | ||
execute if score @s SneakTime matches 1.. if score _ Level matches 2 run scoreboard players set _ ManaRefresh 301 | ||
execute if score @s SneakTime matches 1.. if score _ Level matches 3 run scoreboard players set _ ManaRefresh 202 | ||
execute if score @s SneakTime matches 1.. if score _ Level matches 1 run scoreboard players set _ ManaRefresh 202 | ||
execute if score @s SneakTime matches 1.. if score _ Level matches 2 run scoreboard players set _ ManaRefresh 302 | ||
execute if score @s SneakTime matches 1.. if score _ Level matches 3 run scoreboard players set _ ManaRefresh 203 | ||
execute if score @s SneakTime matches 1.. as @a[distance=0.1..15] at @s run function skill:act/black_mage/mana_refresh/apply |
5 changes: 5 additions & 0 deletions
5
data/skill/functions/act/black_mage/mana_refresh/mp_acceleration.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,5 @@ | ||
|
||
# MP回復速度が最遅なら加速スタート | ||
execute if score @s MPAcceleration matches ..-1 run scoreboard players set @s MPAcceleration 0 | ||
# MP回復速度が加速中なら維持 | ||
# execute if score @s MPAcceleration matches 1.. run |
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