|
|
@ -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 |
|
|
|