Browse Source

Make basic fireball basic

master
Macoy Madson 5 months ago
parent
commit
c9f766d1c0
  1. 7
      data/PowerSystem.cakedata

7
data/PowerSystem.cakedata

@ -34,12 +34,9 @@
(power
:id "fireball"
:on-create "PlayEffect fireball fireball-idle
SetValue velocityX 15"
SetValue velocityX 35"
:on-update
"IfGreaterThanOrEqual positionX 500
SetValue velocityX 35
End
IfStringEquals currentEffect fireball
"IfStringEquals currentEffect fireball
IfGreaterThanOrEqual positionX enemyX
PlayEffect smoke-explosion smoke-explosion-idle
End

Loading…
Cancel
Save