diff --git a/CHANGELOG.md b/CHANGELOG.md index df885c50..8960d207 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,12 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Moved the login page demo to a new info tab, increased the speed of demo and it now creates random combos +- Banish + - Cooldown reduced to 2T (was 3T) + +- Bash + - Skill multiplier reduced from 65/95/140 -> 45/65/100 + - Blast - Damage multiplier reduced 110/145/210 -> 105/140/200 @@ -42,6 +48,11 @@ This project adheres to [Semantic Versioning](http://semver.org/). - CounterAttack multiplier increased from 70/95/120 -> 120/160/230 - Will now animate an attack animation on counter attack +- Curse + - Now created by combining Debuff + RB was Debuff + RG + - Fixed issue where curse was only increasing blue damage taken instead of red and blue + - Fixed an issue where the animation would not display if it occured already + - Haste - Cooldown reduced to 1T (was 2T) - Duration increased from 2/3/4T -> 3/4/5T @@ -52,33 +63,24 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Duration increased from 2/3/4T -> 3/4/5T - HybridBlast damage multiplier changed from 25% -> 50% +- Invert + - Now created by combining Debuff + RG was debuff + RB + - Silence - Cooldown reduced to 2T (was 3T) +- Siphon + - Skill multiplier increased from 20/25/30 -> 25/30/40 + - Reworded part of description "Construct heals self for 100% of damage dealt to target construct GreenLife." + - Slay - Self healing is now 50% of damage dealt to green life (was 100%) - - Damage multiplier increased from (40/60/90)% -> (45/65/100%)% + - Damage multiplier increased from (40/60/90)% -> (45/65/100)% - Sleep - Cooldown reduced to 2T (was 3T) - Skill multiplier reduced from 240/300/400 -> 200/290/400 -- Banish - - Cooldown reduced to 2T (was 3T) - -- Siphon - - Skill multiplier increased from 20/25/30 -> 25/30/40 - -- Bash - - Skill multiplier reduced from 65/95/140 -> 45/65/100 - -- Curse - - Now created by combining Debuff + RB was Debuff + RG - - Fixed issue where curse was only increasing blue damage taken instead of red and blue - - Fixed an issue where the animation would not display if it occured already - -- Invert - - Now created by combining Debuff + RG was debuff + RB ## [1.6.6] - 2019-10-27 # Added diff --git a/client/src/components/info.component.jsx b/client/src/components/info.component.jsx index 6a1689dd..8bb4b5db 100644 --- a/client/src/components/info.component.jsx +++ b/client/src/components/info.component.jsx @@ -204,7 +204,10 @@ class InfoComponent extends preact.Component { ); } const cost = fullInfo.cost ? `- ${fullInfo.cost}b` : false; - const infoDescription = reactStringReplace(fullInfo.description, '\n', () =>
); + + const regEx = /(RedPower|BluePower|GreenPower|RedLife|BlueLife|GreenLife|SpeedStat|POWER|SPEED|LIFE)/; + let infoDescription = reactStringReplace(fullInfo.description, regEx, match => shapes[match]()); + infoDescription = reactStringReplace(infoDescription, '\n', () =>
); return (

{fullInfo.item} {cost}

diff --git a/client/src/components/shapes.jsx b/client/src/components/shapes.jsx index a8a20ed8..454e51fe 100644 --- a/client/src/components/shapes.jsx +++ b/client/src/components/shapes.jsx @@ -35,7 +35,9 @@ module.exports = { BluePower: () => circle(['blue']), SpeedStat: () => triangle(['white']), - + POWER: () => circle(['white']), + LIFE: () => square(['white']), + SPEED: () => triangle(['white']), // specs // Base diff --git a/client/src/constants.jsx b/client/src/constants.jsx index afc53c74..bf370e14 100644 --- a/client/src/constants.jsx +++ b/client/src/constants.jsx @@ -60,30 +60,23 @@ module.exports = { }, constructSkills: { item: 'SKILLS', - description:

Skills are used by constructs in the game phase.
- Base skills can be bought from the VBOX.
- Equip skills from the inventory. Double-click to unequip.

, + description: 'Skills are used by constructs in the game phase.\nBase skills can be bought from the VBOX.\nEquip skills from the inventory. Double-click to unequip.', }, constructSpecs: { item: 'SPECS', - description:

Specialisations increase the stats of a construct.
- Increased effect when your team meets the colour threshold.
Double-click to unequip.

, + description: 'Specialisations increase the stats of a construct.\nIncreased effect when your team meets the colour threshold.\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.

, + description: 'Power determines the damage and healing of your construct skills.\nRed power RedPower is used by red skills.\nGreen power GreenPower is used by green skills.\nBlue power BluePower is used by blue skills.\nCombine coloured POWER specs to increase specific construct power.', }, lifeStat: { item: 'LIFE', - description:

The life of your construct.
- When your construct reaches 0 green life it is knocked out and cannot cast skills.
- Red life mitigates red damage and blue life mitigates blue damage.
- Combine LIFE specs to increase life totals.

, + description: 'The life of your construct.\nWhen your construct reaches 0 GreenLife it is knocked out.\nRed life RedLife mitigates red damage.\nBlue life BlueLife mitigates blue damage.\nCombine coloured LIFE specs to increase specific construct life.', }, speedStat: { item: 'SPEED', - description:

Speed determines the order in which skills resolve.
Combine SPEED specs to increase speed.

, + description: 'Speed determines the order in which skills resolve.\nCombine SPEED specs to increase speed.', }, }, }; diff --git a/client/src/tutorial.utils.jsx b/client/src/tutorial.utils.jsx index a8c45b94..7f6bb854 100644 --- a/client/src/tutorial.utils.jsx +++ b/client/src/tutorial.utils.jsx @@ -124,7 +124,7 @@ function tutorialStage(tutorial, ws, clearTutorial, instance) {

In a normal game you start with three base Attack skill items.

The Attack item can be combined with colours to create a new skill.

Select the Attack item along with two colours.
- When all three items are selected you can then press combine. + Once selected press COMBINE to create a new combo.

);