diff --git a/data/PowerSystem.cakedata b/data/PowerSystem.cakedata index 94e4e2a..0cb1deb 100644 --- a/data/PowerSystem.cakedata +++ b/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