mirror of
				https://github.com/LDDestroier/CC/
				synced 2025-11-04 01:13:01 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			691 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			691 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
local stage, players, objects, projectiles, act, images = ...
 | 
						|
return {
 | 
						|
	info = {
 | 
						|
		name = "SuperVulcan",
 | 
						|
		description = "Fires twelve shots that damages panel behind!",
 | 
						|
		cooldown = {
 | 
						|
			shoot = 6,
 | 
						|
			move = 4
 | 
						|
		}
 | 
						|
	},
 | 
						|
	logic = function(info)
 | 
						|
		if info.frame == 0 then
 | 
						|
			info.player.canMove = false
 | 
						|
			info.player.canShoot = false
 | 
						|
		else
 | 
						|
			if info.frame == 12 * 2 + 1 then
 | 
						|
				info.player.canMove = true
 | 
						|
				info.player.canShoot = true
 | 
						|
				info.player.cooldown.shoot = 6
 | 
						|
				info.player.cooldown.shoot = 4
 | 
						|
				return false
 | 
						|
			elseif info.frame % 2 == 0 then
 | 
						|
				act.projectile.newProjectile(info.x, info.y, info.player, "vulcan_internal", frame < 12 * 2)
 | 
						|
			end
 | 
						|
		end
 | 
						|
		return true
 | 
						|
	end
 | 
						|
}
 |