Skip to content

Commit

Permalink
fix: add skirmish & volatile fissures (#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno committed Nov 17, 2021
1 parent aa299f0 commit 874f42b
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/Notifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,10 @@ const makeNotification = (type, data) => {
type: 'news',
};
case 'invasions':
var rewards = `${data.attackerReward.asString.length ? `${data.attackerReward.asString} vs ` : ''}${
data.defenderReward.asString
}`;

return {
head: rewards,
head: `${data.attackerReward.asString.length ? `${data.attackerReward.asString} vs ` : ''}${
data.defenderReward.asString
}`,
body: {
body: `${data.desc}${data.node}\n${data.eta
.replace('-Infinityd', '??')
Expand Down
40 changes: 40 additions & 0 deletions src/assets/json/trackables.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,16 @@
"value": "fissures.t1.disruption",
"text": "Lith Disruption Fissure"
},
"fissures.t1.volatile": {
"state": false,
"value": "fissures.t1.volatile",
"text": "Lith Volatile Storm"
},
"fissures.t1.skirmish": {
"state": false,
"value": "fissures.t1.skirmish",
"text": "Lith Skirmish Storm"
},
"fissures.t2.excavation": {
"state": false,
"value": "fissures.t2.excavation",
Expand Down Expand Up @@ -302,6 +312,16 @@
"value": "fissures.t2.disruption",
"text": "Meso Disruption Fissure"
},
"fissures.t2.volatile": {
"state": false,
"value": "fissures.t2.volatile",
"text": "Meso Volatile Storm"
},
"fissures.t2.skirmish": {
"state": false,
"value": "fissures.t2.skirmish",
"text": "Meso Skirmish Storm"
},
"fissures.t3.excavation": {
"state": false,
"value": "fissures.t3.excavation",
Expand Down Expand Up @@ -367,6 +387,16 @@
"value": "fissures.t3.disruption",
"text": "Neo Disruption Fissure"
},
"fissures.t3.volatile": {
"state": false,
"value": "fissures.t3.volatile",
"text": "Neo Volatile Storm"
},
"fissures.t3.skirmish": {
"state": false,
"value": "fissures.t3.skirmish",
"text": "Neo Skirmish Storm"
},
"fissures.t4.excavation": {
"state": false,
"value": "fissures.t4.excavation",
Expand Down Expand Up @@ -432,6 +462,16 @@
"value": "fissures.t4.disruption",
"text": "Axi Disruption Fissure"
},
"fissures.t4.volatile": {
"state": false,
"value": "fissures.t4.volatile",
"text": "Axi Volatile Storm"
},
"fissures.t4.skirmish": {
"state": false,
"value": "fissures.t4.skirmish",
"text": "Axi Skirmish Storm"
},
"fissures.t5.exterminate": {
"state": false,
"value": "fissures.t5.exterminate",
Expand Down

1 comment on commit 874f42b

@vercel
Copy link

@vercel vercel bot commented on 874f42b Nov 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.