Great Lulz

Weapons to make you laugh

This will turn you into a rotating blade of DEATH!
Just gotta get close to them..

function fireD1_OnStart()
setPower(0.5)
local angle = getAngle()+90
addMover(0,1,MOVER_SETANGLE,angle)
end
function fireD1_OnStep()
local cnt = getv(0)
setAngle(getAngle(iSelf())+30)
setPos( getX(iMaster())+(getv(0)*0.1)*math.cos(math.rad(getAngle())) , getY(iMaster())+(getv(0)*0.1)*math.sin(math.rad(getAngle())) )
setv(0,cnt+1)
end
function fireD1_OnVanish()
fire4Count=fire4Count+1
end
function fireD_OnStart(level)
if fire4Count<8 then
release()
else
fire_interval=0
local VanishTime = 60
local i=1
for i=1 , 4 , 1 do
local angle = getAngle() + (90*i)
uid=createBullet( -135 , angle , 3.5 , 0 ,"fireD1")
addMoverTo(uid,VanishTime,0,MOVER_VANISH)
end
fire4Count=fire4Count-4
playSound(25)
end
end
function fireD_OnStep()
fire_interval=fire_interval+1
if fire_interval==16 then
release()
end
end
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.