89 lines
3.6 KiB
JavaScript
89 lines
3.6 KiB
JavaScript
const preact = require('preact');
|
|
|
|
const SOURCE_DURATION_MS = 1000; // Time for SOURCE ONLY
|
|
const TARGET_DELAY_MS = 500; // Used for Source + Target
|
|
const TARGET_DURATION_MS = 1500; // Time for TARGET ONLY
|
|
const POST_SKILL_DURATION_MS = 1000; // Time for all POST
|
|
const SOURCE_AND_TARGET_TOTAL_DURATION = TARGET_DELAY_MS + TARGET_DURATION_MS; // SOURCE + TARGET time
|
|
|
|
module.exports = {
|
|
TIMES: {
|
|
SOURCE_DURATION_MS,
|
|
TARGET_DELAY_MS,
|
|
TARGET_DURATION_MS,
|
|
POST_SKILL_DURATION_MS,
|
|
SOURCE_AND_TARGET_TOTAL_DURATION,
|
|
},
|
|
|
|
COLOURS: {
|
|
GREEN: '#1FF01F',
|
|
RED: '#a52a2a',
|
|
BLUE: '#3050f8',
|
|
WHITE: '#f5f5f5', // whitesmoke
|
|
PURPLE: '#9355b5', // 6lack - that far cover
|
|
},
|
|
|
|
INFO: {
|
|
vbox: {
|
|
item: 'VBOX',
|
|
description: <p><b>ITEMS</b> that are available to buy.<br />The <b>VBOX</b> is refilled every round.<br />Click <b>REFILL</b> at the bottom to purchase a refill. </p>,
|
|
},
|
|
inventory: {
|
|
item: 'INVENTORY',
|
|
description: <p>Holds <b>ITEMS</b><br /><b>ITEMS</b> carry over each round.</p>,
|
|
},
|
|
bits: {
|
|
item: 'BITS',
|
|
description: 'The VBOX currency.\nColours: 1b\nSkills: 2b\nSpecs: 3b\nAt the beginning of a round you receive 12 + 6 * round_number bits.',
|
|
},
|
|
ready: {
|
|
item: 'READY',
|
|
description: 'Ends the VBOX PHASE. If your opponent is also ready the GAME PHASE begins.',
|
|
},
|
|
lobbyReady: {
|
|
item: 'READY',
|
|
description: 'Ready for the game to begin. When all players are ready the first VBOX PHASE begins.',
|
|
},
|
|
reclaim: {
|
|
item: 'RECLAIM',
|
|
description: 'Reclaim ITEMS for half the purchase cost of their combined ITEMS.\nClick to enable and click ITEM to reclaim.',
|
|
},
|
|
refine: {
|
|
item: 'COMBINE',
|
|
description: <p>combine the selected items.<br />hover over an item to see <b>RECIPES</b>.</p>,
|
|
},
|
|
refill: {
|
|
item: 'REFILL',
|
|
description: 'Refill the VBOX with new items.',
|
|
},
|
|
equipSkills: {
|
|
item: 'QUICK ACCESS - SKILLS',
|
|
description: 'Click to select \nClick target CONSTRUCT to equip',
|
|
},
|
|
equipSpecs: {
|
|
item: 'QUICK ACCESS - SPECS',
|
|
description: 'Click to select \nClick target CONSTRUCT to equip',
|
|
},
|
|
constructSkills: {
|
|
item: 'SKILLS',
|
|
description: 'Skills are used by Constructs in-game.\nClick a SKILL above and select a CONSTRUCT to equip.\nDouble-click to unequip.',
|
|
},
|
|
constructSpecs: {
|
|
item: 'SPECS',
|
|
description: 'SPECS increase the STATS of a CONSTRUCT.\nSPECS have increased effect once they reach a THRESHOLD across your whole team.\nClick a SPEC above and select a CONSTRUCT to equip.\nDouble-click to unequip.',
|
|
},
|
|
powerStat: {
|
|
item: 'POWER',
|
|
description: 'Power determines the base damage and healing of your construct skills. Combine POWER specs to increase construct power.',
|
|
},
|
|
lifeStat: {
|
|
item: 'LIFE',
|
|
description: 'The life of your construct.\n When your construct reaches 0 green life it is knocked out and cannot cast skills.\nRed life mitigates red damage and blue life mitigates blue damage. Combine LIFE specs to increase life totals.',
|
|
},
|
|
speedStat: {
|
|
item: 'SPEED',
|
|
description: 'Speed determines the order in which skills resolve. Combine SPEED specs to increase speed.',
|
|
},
|
|
},
|
|
};
|