More deaths

This commit is contained in:
zenoamaro committed 2019-06-29 23:04:51 +02:00
1 parent c58749e30f
commit ab629dede4
2 files changed
+13 -7

No files matched your search

+3 -3
View File
@@ -46,12 +46,12 @@ for (let color of PLAYER_COLORS) {
c: color,
p: PLAYER_INITIAL_POWER,
weapons: [
{type: 'baby-missile', ammo:Infinity},
{type: 'babyMissile', ammo:Infinity},
{type: 'missile', ammo:5},
{type: 'baby-nuke', ammo:3},
{type: 'babyNuke', ammo:3},
{type: 'nuke', ammo:1},
{type: 'dirt', ammo:3},
{type: 'large-dirt', ammo:1},
{type: 'largeDirt', ammo:1},
],
currentWeapon: 0,
energy: PLAYER_MAX_ENERGY,
+10 -4
View File
@@ -13,18 +13,24 @@ export function drawDirt(ctx, x, y, r, c) {
}
export const WEAPON_TYPES = [
{id:'baby-missile', name:'Baby Missile', explosion:{type:'blast', r:5}},
{id:'babyMissile', name:'Baby Missile', explosion:{type:'blast', r:5}},
{id:'missile', name:'Missile', explosion:{type:'blast', r:20}},
{id:'baby-nuke', name:'Baby Nuke', explosion:{type:'blast', r:50}},
{id:'babyNuke', name:'Baby Nuke', explosion:{type:'blast', r:50}},
{id:'nuke', name:'Nuke', explosion:{type:'blast', r:100}},
{id:'dirt', name:'Dirt', explosion:{type:'dirt', r:25}},
{id:'large-dirt', name:'Ton of Dirt', explosion:{type:'dirt', r:75}},
{id:'largeDirt', name:'Ton of Dirt', explosion:{type:'dirt', r:75}},
];
export const DEATH_SPECS = [
{type: 'blast', r: 35},
{type: 'blast', r: 15},
{type: 'blast', r: 30},
{type: 'blast', r: 60},
{type: 'dirt', r: 25},
{type: 'dirt', r: 50},
{type: 'dirt', r: 75},
{type: 'dirtCone', r: 50},
{type: 'dirtCone', r: 100},
{type: 'dirtCone', r: 150},
];
export const EXPLOSION_TYPES = {