random fixes
This commit is contained in:
@@ -147,103 +147,58 @@ module.exports = {
|
||||
},
|
||||
|
||||
SKILLS: {
|
||||
LEARNABLE: [
|
||||
{
|
||||
name: 'Attack',
|
||||
description: 'a fast physical attack with phys dmg',
|
||||
},
|
||||
{
|
||||
name: 'Block',
|
||||
description: 'decreases incoming physical damage for 1T',
|
||||
},
|
||||
{
|
||||
name: 'Parry',
|
||||
description: 'prevents all physical damage for 1T',
|
||||
},
|
||||
{
|
||||
name: 'Evade',
|
||||
description: 'gives a chance to evade physical damage for 1T',
|
||||
},
|
||||
{
|
||||
name: 'Snare',
|
||||
description: 'prevents physical skills from being used for 2T',
|
||||
},
|
||||
{
|
||||
name: 'Stun',
|
||||
description: 'physical skill that prevents target cryp from using any skills',
|
||||
},
|
||||
{
|
||||
name: 'Evasion',
|
||||
description: 'grants Evade effect to a cryp',
|
||||
},
|
||||
{
|
||||
name: 'Heal',
|
||||
description: 'heal a cryp with spell dmg',
|
||||
},
|
||||
{
|
||||
name: 'Triage',
|
||||
description: 'grants a spell dmg based healing over time buff',
|
||||
},
|
||||
{
|
||||
name: 'Throw',
|
||||
description: 'stuns and makes the target take increased physical damage',
|
||||
},
|
||||
{
|
||||
name: 'Blast',
|
||||
description: 'blast the target with magic damage',
|
||||
},
|
||||
{
|
||||
name: 'Amplify',
|
||||
description: 'increase the magic damage dealt by a cryp',
|
||||
},
|
||||
{
|
||||
name: 'Decay',
|
||||
description: 'afflict a cryp with a spell damage based damage over time debuff',
|
||||
},
|
||||
{
|
||||
name: 'Drain',
|
||||
description: 'drain hp from target cryp with a spell damage based debuff',
|
||||
},
|
||||
{
|
||||
name: 'Curse',
|
||||
description: 'target cryp takes increased magic damage',
|
||||
},
|
||||
{
|
||||
name: 'Empower',
|
||||
description: 'increase the physical damage dealt by a cryp',
|
||||
},
|
||||
{
|
||||
name: 'Shield',
|
||||
description: 'grants immunity to magical skills to target cryp',
|
||||
},
|
||||
{
|
||||
name: 'Silence',
|
||||
description: 'prevent target cryp from casting magical skills',
|
||||
},
|
||||
{
|
||||
name: 'Purify',
|
||||
description: 'remove magical debuffs from target cryp',
|
||||
},
|
||||
{
|
||||
name: 'Purge',
|
||||
description: 'remove magical buffs from target cryp',
|
||||
},
|
||||
{
|
||||
name: 'Banish',
|
||||
description: 'target cryp is prevented from casting any skills and taking any damage',
|
||||
},
|
||||
{
|
||||
name: 'Hex',
|
||||
description: 'magical based skill that prevents target cryp from using any skills',
|
||||
},
|
||||
{
|
||||
name: 'Haste',
|
||||
description: 'magical skill that increases speed of target cryp',
|
||||
},
|
||||
{
|
||||
name: 'Slow',
|
||||
description: 'magical skill that reduces speed of target cryp',
|
||||
},
|
||||
],
|
||||
LEARNABLE:
|
||||
[ { name: 'Amplify',
|
||||
description: 'increase the magic damage dealt by a cryp' },
|
||||
{ name: 'Attack',
|
||||
description: 'a fast physical attack with phys dmg' },
|
||||
{ name: 'Banish',
|
||||
description:
|
||||
'target cryp is prevented from casting any skills and taking any damage' },
|
||||
{ name: 'Blast',
|
||||
description: 'blast the target with magic damage' },
|
||||
{ name: 'Block',
|
||||
description: 'decreases incoming physical damage for 1T' },
|
||||
{ name: 'Curse',
|
||||
description: 'target cryp takes increased magic damage' },
|
||||
{ name: 'Decay',
|
||||
description:
|
||||
'afflict a cryp with a spell damage based damage over time debuff' },
|
||||
{ name: 'Drain',
|
||||
description: 'drain hp from target cryp with a spell damage based debuff' },
|
||||
{ name: 'Empower',
|
||||
description: 'increase the physical damage dealt by a cryp' },
|
||||
{ name: 'Evade',
|
||||
description: 'gives a chance to evade physical damage for 1T' },
|
||||
{ name: 'Evasion',
|
||||
description: 'grants Evade effect to a cryp' },
|
||||
{ name: 'Haste',
|
||||
description: 'magical skill that increases speed of target cryp' },
|
||||
{ name: 'Heal', description: 'heal a cryp with spell dmg' },
|
||||
{ name: 'Hex',
|
||||
description:
|
||||
'magical based skill that prevents target cryp from using any skills' },
|
||||
{ name: 'Parry',
|
||||
description: 'prevents all physical damage for 1T' },
|
||||
{ name: 'Purge',
|
||||
description: 'remove magical buffs from target cryp' },
|
||||
{ name: 'Purify',
|
||||
description: 'remove magical debuffs from target cryp' },
|
||||
{ name: 'Shield',
|
||||
description: 'grants immunity to magical skills to target cryp' },
|
||||
{ name: 'Silence',
|
||||
description: 'prevent target cryp from casting magical skills' },
|
||||
{ name: 'Slow',
|
||||
description: 'magical skill that reduces speed of target cryp' },
|
||||
{ name: 'Snare',
|
||||
description: 'prevents physical skills from being used for 2T' },
|
||||
{ name: 'Stun',
|
||||
description:
|
||||
'physical skill that prevents target cryp from using any skills' },
|
||||
{ name: 'Throw',
|
||||
description: 'stuns and makes the target take increased physical damage' },
|
||||
{ name: 'Triage',
|
||||
description: 'grants a spell dmg based healing over time buff' }
|
||||
]
|
||||
},
|
||||
};
|
||||
|
||||
@@ -119,20 +119,20 @@ class MenuCrypList extends Phaser.Scene {
|
||||
this.game.events.emit('CRYP_SPAWN');
|
||||
});
|
||||
this.add
|
||||
.text(spawn.getCenter().x, spawn.getCenter().y, 'Spawn Cryp', TEXT.HEADER)
|
||||
.text(spawn.getCenter().x, spawn.getCenter().y, '+', TEXT.HEADER)
|
||||
.setOrigin(0.5, 0.5);
|
||||
// Dialog to view all cryps
|
||||
const crypList = this.add
|
||||
.rectangle(ROW_WIDTH * 0.55, ROW_HEIGHT * 3.5, ROW_WIDTH * 0.4, ROW_HEIGHT, 0xff9215)
|
||||
.setInteractive()
|
||||
.setOrigin(0)
|
||||
.on('pointerdown', () => {
|
||||
// this.game.events.emit('CRYP_LIST');
|
||||
// Placeholder will give a full list of all cryps in the center
|
||||
});
|
||||
this.add
|
||||
.text(crypList.getCenter().x, crypList.getCenter().y, 'Cryp List (soon)', TEXT.NORMAL)
|
||||
.setOrigin(0.5, 0.5);
|
||||
// const crypList = this.add
|
||||
// .rectangle(ROW_WIDTH * 0.55, ROW_HEIGHT * 3.5, ROW_WIDTH * 0.4, ROW_HEIGHT, 0xff9215)
|
||||
// .setInteractive()
|
||||
// .setOrigin(0)
|
||||
// .on('pointerdown', () => {
|
||||
// // this.game.events.emit('CRYP_LIST');
|
||||
// // Placeholder will give a full list of all cryps in the center
|
||||
// });
|
||||
// this.add
|
||||
// .text(crypList.getCenter().x, crypList.getCenter().y, 'Cryp List (soon)', TEXT.NORMAL)
|
||||
// .setOrigin(0.5, 0.5);
|
||||
}
|
||||
|
||||
cleanUp() {
|
||||
|
||||
@@ -63,7 +63,7 @@ class StatSheet extends Phaser.Scene {
|
||||
this.stats.add(this.add
|
||||
.text(STAT_X, STAT_Y, `${stat.stat}: ${stat.base}`, TEXT.NORMAL));
|
||||
};
|
||||
const CRYP_STATS = [cryp.stamina, cryp.phys_dmg, cryp.spell_dmg];
|
||||
const CRYP_STATS = [cryp.stamina, cryp.phys_dmg, cryp.spell_dmg, cryp.speed];
|
||||
CRYP_STATS.forEach(crypStat);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user