-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
k rool nerf for adaptive armor + fix
- Loading branch information
1 parent
41dd7ec
commit 1a91288
Showing
3 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
7 changes: 5 additions & 2 deletions
7
data/ssbrc/function/fighter/king_k_rool/logic/abilities/adaptive_armor/enable.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,6 +1,9 @@ | ||
tag @s add adaptive_armor | ||
|
||
effect clear @s minecraft:absorption | ||
effect give @s minecraft:absorption infinite 2 true | ||
attribute @s minecraft:armor modifier remove ssbrc:adaptive_armor | ||
attribute @s minecraft:knockback_resistance modifier add ssbrc:adaptive_armor 0.5 add_value | ||
|
||
effect clear @s minecraft:absorption | ||
execute if score @s charge.1 matches 1 run return run effect give @s minecraft:absorption infinite 1 true | ||
execute if score @s charge.1 matches 2.. run return run effect give @s minecraft:absorption infinite 0 true | ||
effect give @s minecraft:absorption infinite 2 true |
2 changes: 2 additions & 0 deletions
2
data/ssbrc/function/fighter/king_k_rool/restore_items.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 +1,3 @@ | ||
scoreboard players set @s charge.1 0 | ||
|
||
scoreboard players set @s duration.1 2 |
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