Skip to content

Commit

Permalink
delete laser entity
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAfroOfDoom committed Jan 9, 2024
1 parent 1434a92 commit 3c62233
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ scoreboard players add @s attack.clock.i 1
# Ignore bullet summoning logic while `attack.clock.i` is negative
execute if score @s attack.clock.i matches ..-1 run return 0

# Summon laser after `attack.indicator.clock.delay`
execute if score @s attack.clock.i matches 0 run function entity:hostile/omega-flowey/attack/bomb/indicator/loop/laser/presummon

# Summon a bullet
execute if score @s attack.clock.i matches 5 run function entity:hostile/omega-flowey/attack/bomb/indicator/loop/bullet/presummon

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
execute store result storage attack:bomb x double 0.01 run data get entity @s Pos[0] 100
execute store result storage attack:bomb z double 0.01 run data get entity @s Pos[2] 100

# Terminate associated laser
function entity:hostile/omega-flowey/attack/bomb/indicator/loop/laser/terminate

# Summon bullet
function entity:hostile/omega-flowey/attack/bomb/indicator/loop/bullet/summon with storage attack:bomb

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
scoreboard players set #attack-bomb attack.executor.clock.length 66
scoreboard players set #attack-bomb attack.executor.rate 3
scoreboard players set #attack-bomb attack.indicator.clock.delay 14
# lifespan of indicator after summoning laser
scoreboard players set #attack-bomb attack.indicator.clock.length 40
scoreboard players set #attack-bomb attack.speed.z 110

0 comments on commit 3c62233

Please sign in to comment.