-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
increase weight we decrease previously ran attack by from
1
to 2
- compensate base weights by adding 1 - i.e. base weight: 2 -> 3, reducer: 1 -> 2 - see #29 for math details
- Loading branch information
1 parent
c9cc377
commit cc2881a
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
...flowey/data/entity/functions/hostile/omega-flowey/attack/random/attack_phase/0.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,10 +1,10 @@ | ||
## Initializes a random attack for entities (`boss_fight`) with `boss-fight.attack.phase.i` == 0 | ||
|
||
# Set influences to defaults for attack_phase 0 | ||
scoreboard players set #attack-friendliness-pellets attack.weight 2 | ||
scoreboard players set #attack-homing-vines attack.weight 2 | ||
scoreboard players set #attack-x-bullets-lower attack.weight 2 | ||
scoreboard players set #attack-x-bullets-upper attack.weight 2 | ||
scoreboard players set #attack-friendliness-pellets attack.weight 3 | ||
scoreboard players set #attack-homing-vines attack.weight 3 | ||
scoreboard players set #attack-x-bullets-lower attack.weight 3 | ||
scoreboard players set #attack-x-bullets-upper attack.weight 3 | ||
|
||
# Run base `start` function | ||
function entity:hostile/omega-flowey/attack/random/start |
2 changes: 1 addition & 1 deletion
2
...flowey/data/entity/functions/hostile/omega-flowey/attack/random/reduce_weights.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