Skip to content

Commit

Permalink
👔 change special reward hat from <= 3 hits to <= 7 hits (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAfroOfDoom authored Oct 27, 2024
1 parent 603de7e commit 0d2aaea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ execute unless score @s omegaflowey.player.summit.has_survived_flowey matches 1
scoreboard players add #omegaflowey.telemetry.stats.total_distinct_wins omegaflowey.global.flag 1

# Split rewards based on how many hits the player took
execute if score #omegaflowey.bossfight.player_hit_count omegaflowey.global.flag matches ..3 run \
execute if score #omegaflowey.bossfight.player_hit_count omegaflowey.global.flag matches ..7 run \
function omegaflowey.entity:directorial/boss_fight/shared/stop/as_active_player/won/give_reward_hat_low_hits

execute if score #omegaflowey.bossfight.player_hit_count omegaflowey.global.flag matches 4.. run \
execute unless score #omegaflowey.bossfight.player_hit_count omegaflowey.global.flag matches ..7 run \
function omegaflowey.entity:directorial/boss_fight/shared/stop/as_active_player/won/give_reward_hat

# Play custom item pickup sound
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ give @s carved_pumpkin[ \
minecraft:rarity=epic, \
minecraft:enchantment_glint_override=true, \
minecraft:fire_resistant={}, \
minecraft:item_name='[ { "text": "Survived Omega Flowey in 3 hits or less" } ]', \
minecraft:item_name='[ { "text": "Survived Omega Flowey in 7 hits or less" } ]', \
minecraft:lore=['[ { "text": "Try wearing me as a hat!", "color": "yellow" } ]'], \
minecraft:max_stack_size=99, \
]
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ summon minecraft:text_display -124.01 43.375 36.3125 { \
line_width: 200, \
see_through: 0b, \
shadow: 0b, \
text: '{ "text": "Get hit 3 times\\nor less", "color": "aqua" }', \
text: '{ "text": "Get hit 7 times\\nor less", "color": "aqua" }', \
text_opacity: 255, \
transformation: { \
left_rotation: [0.0f, -0.7071068f, 0.0f, 0.7071068f], \
Expand Down

0 comments on commit 0d2aaea

Please sign in to comment.