Shockwave

It uh, yeah

playerAddSubWeapon("Shockwave","fireC")
fire3Count=1

function fireC1_OnStart()
setPower(0.2)
end
function fireC1_OnStep()
end
function fireC1_OnVanish()
end
function fireC_OnStart(level)
if fire3Count<1 then
release()
else
fire_interval=0
createEffect(1,getX(iSelf()),getY(iSelf()))
local tbl = createCircle(-29,0,0,-90,2.25,0,36,"fireC1")
for index, uID in tbl do
addMoverTo(uID,40,0,MOVER_VANISH)
addMoverTo(uID,20,15,MOVER_ACCEL,0.06)
addMoverTo(uID,20,15,MOVER_ADDALPHA,-4)
addMoverTo(uID,0,0,MOVER_SETALPHA,65)
addMoverTo(uID,0,0,MOVER_CHANGEBLEND, 2)
end
fire3Count=fire3Count-1
playSound(1)
end
end
function fireC_OnStep()
fire_interval=fire_interval+1
if fire_interval==45 then
fire3Count=fire3Count+1
release()
end
end
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.