# wind_power: lower values are stronger (cannot be negative)

execute if score #wind_direction temp matches 1 run function pctf:logic/items/lucky_block/outcomes/global/wind_storm/direction/n {wind_power: "9.5"}
execute if score #wind_direction temp matches 2 run function pctf:logic/items/lucky_block/outcomes/global/wind_storm/direction/e {wind_power: "9.5"}
execute if score #wind_direction temp matches 3 run function pctf:logic/items/lucky_block/outcomes/global/wind_storm/direction/s {wind_power: "9.5"}
execute if score #wind_direction temp matches 4 run function pctf:logic/items/lucky_block/outcomes/global/wind_storm/direction/w {wind_power: "9.5"}

scoreboard players set .wind_time2 temp 0