Add version to battlesuits

This commit is contained in:
Sakura Knoll
2021-12-30 14:18:29 +09:00 Unverified
parent f604dad3e7
commit f3a2347d48
52 changed files with 114 additions and 169 deletions
+1
View File
@@ -1,5 +1,6 @@
{
"id": "6s",
"version": "2.5",
"name": "Sixth Serenade",
"type": "psychic",
"valkyrie": "kallen",
+1
View File
@@ -1,5 +1,6 @@
{
"id": "ae",
"version": "3.7",
"name": "Azure Empyrea",
"type": "psychic",
"valkyrie": "fuhua",
+1
View File
@@ -1,5 +1,6 @@
{
"id": "aka",
"version": "2.9",
"name": "Argent Knight: Artemis",
"type": "biologic",
"valkyrie": "rita",
+3 -5
View File
@@ -1,12 +1,10 @@
{
"id": "bb",
"version": "3.1",
"name": "Blueberry Blitz",
"type": "mecha",
"valkyrie": "olenyevas",
"strengths": [
"physical",
"freeze"
],
"strengths": ["physical", "freeze"],
"leader": {
"core": {
"name": "Vstavai!",
@@ -108,4 +106,4 @@
}
]
}
}
}
+1
View File
@@ -1,5 +1,6 @@
{
"id": "bh",
"version": "4.5",
"name": "Blazing Hope",
"type": "biologic",
"valkyrie": "asuka",
+3 -7
View File
@@ -1,14 +1,10 @@
{
"id": "bke",
"version": "3.9",
"name": "Bright Knight: Excelsis",
"type": "mecha",
"valkyrie": "durandal",
"strengths": [
"physical",
"burst",
"time mastery",
"heavy atk"
],
"strengths": ["physical", "burst", "time mastery", "heavy atk"],
"leader": {
"core": {
"name": "Horns of Jericho",
@@ -126,4 +122,4 @@
}
]
}
}
}
+1
View File
@@ -1,5 +1,6 @@
{
"id": "bn",
"version": "2.1",
"name": "Black Nucleus",
"type": "biologic",
"valkyrie": "bronya",
+3 -7
View File
@@ -1,14 +1,10 @@
{
"id": "ch",
"version": "2.2",
"name": "Celestial Hymn",
"type": "biologic",
"valkyrie": "theresa",
"strengths": [
"physical",
"impair",
"gather",
"fast atk"
],
"strengths": ["physical", "impair", "gather", "fast atk"],
"leader": {
"core": {
"name": "Sacred Arias",
@@ -131,4 +127,4 @@
}
]
}
}
}
+3 -7
View File
@@ -1,14 +1,10 @@
{
"id": "da",
"version": "4.4",
"name": "Dea Anchora",
"type": "biologic",
"valkyrie": "durandal",
"strengths": [
"fire dmg",
"time mastery",
"gather",
"ignite"
],
"strengths": ["fire dmg", "time mastery", "gather", "ignite"],
"leader": {
"core": {
"name": "Crux Galactica",
@@ -116,4 +112,4 @@
}
]
}
}
}
+1
View File
@@ -1,5 +1,6 @@
{
"id": "dk",
"version": "3.0",
"name": "Drive Kometa",
"type": "psychic",
"valkyrie": "bronya",
+2 -1
View File
@@ -1,5 +1,6 @@
{
"id": "ds",
"version": "4.2",
"name": "Danzai Spectramancer",
"type": "mecha",
"valkyrie": "mei",
@@ -122,4 +123,4 @@
}
]
}
}
}
+3 -7
View File
@@ -1,14 +1,10 @@
{
"id": "fr",
"version": "4.2",
"name": "Fallen Rosemary",
"type": "quantum",
"valkyrie": "rita",
"strengths": [
"lightning dmg",
"time mastery",
"gather",
"paralyze"
],
"strengths": ["lightning dmg", "time mastery", "gather", "paralyze"],
"leader": {
"core": {
"name": "Tonight or Never",
@@ -131,4 +127,4 @@
}
]
}
}
}
+2 -1
View File
@@ -1,5 +1,6 @@
{
"id": "ft",
"version": "4.3",
"name": "Fervent Tempo Δ",
"type": "psychic",
"valkyrie": "olenyevas",
@@ -115,4 +116,4 @@
}
]
}
}
}
+3 -6
View File
@@ -1,13 +1,10 @@
{
"id": "hb",
"version": "4.7",
"name": "Haxxor Bunny",
"type": "psychic",
"valkyrie": "bronya",
"strengths": [
"ice dmg",
"time mastery",
"fast atk"
],
"strengths": ["ice dmg", "time mastery", "fast atk"],
"leader": {
"core": {
"name": "H-T-T-P-S",
@@ -131,4 +128,4 @@
}
]
}
}
}
+2 -1
View File
@@ -1,5 +1,6 @@
{
"id": "hf",
"version": "3.5",
"name": "Hawk of the Fog",
"type": "psychic",
"valkyrie": "fuhua",
@@ -126,4 +127,4 @@
}
]
}
}
}
+3 -7
View File
@@ -1,14 +1,10 @@
{
"id": "hfs",
"version": "5.0",
"name": "Herrscher of Flamescion",
"type": "psychic",
"valkyrie": "kiana",
"strengths": [
"fire dmg",
"heal",
"time mastery",
"gather"
],
"strengths": ["fire dmg", "heal", "time mastery", "gather"],
"leader": {
"core": {
"name": "Nameless Knight-Errant's Path",
@@ -125,4 +121,4 @@
}
]
}
}
}
+1
View File
@@ -1,5 +1,6 @@
{
"id": "hor",
"version": "3.3",
"name": "Herrscher of Reason",
"type": "mecha",
"valkyrie": "bronya",
+1
View File
@@ -1,5 +1,6 @@
{
"id": "hos",
"version": "4.6",
"name": "Herrscher of Sentience",
"type": "biologic",
"valkyrie": "fuhua",
+1
View File
@@ -1,5 +1,6 @@
{
"id": "hot",
"version": "4.1",
"name": "Herrscher of Thunder",
"type": "psychic",
"valkyrie": "mei",
+1
View File
@@ -1,5 +1,6 @@
{
"id": "hov",
"version": "2.6",
"name": "Herrscher of the Void",
"type": "biologic",
"valkyrie": "kiana",
+3 -5
View File
@@ -1,12 +1,10 @@
{
"id": "io",
"version": "5.2",
"name": "Infinite Ouroboros",
"type": "mecha",
"valkyrie": "mobius",
"strengths": [
"lightning dmg",
"time mastery"
],
"strengths": ["lightning dmg", "time mastery"],
"leader": {
"core": {
"name": "Infinite Fate",
@@ -119,4 +117,4 @@
}
]
}
}
}
+3 -6
View File
@@ -1,13 +1,10 @@
{
"id": "kasumi",
"version": "3.6",
"name": "Darkbolt Jonin",
"type": "biologic",
"valkyrie": "sakura",
"strengths": [
"lightning dmg",
"time mastery",
"paralyze"
],
"strengths": ["lightning dmg", "time mastery", "paralyze"],
"leader": {
"core": {
"name": "The Sahā World",
@@ -141,4 +138,4 @@
}
]
}
}
}
+1
View File
@@ -1,5 +1,6 @@
{
"id": "kriegs",
"version": "2.6",
"name": "Kriegsmesser",
"type": "psychic",
"valkyrie": "himeko",
+1
View File
@@ -1,5 +1,6 @@
{
"id": "lk",
"version": "2.4",
"name": "Luna Kindred",
"type": "biologic",
"valkyrie": "theresa",
+3 -5
View File
@@ -1,12 +1,10 @@
{
"id": "ma",
"version": "5.2",
"name": "Midnight Absinthe",
"type": "imaginary",
"valkyrie": "raven",
"strengths": [
"fire dmg",
"time mastery"
],
"strengths": ["fire dmg", "time mastery"],
"leader": {
"core": {
"name": "Midnight Gathering",
@@ -127,4 +125,4 @@
}
]
}
}
}
+3 -6
View File
@@ -1,13 +1,10 @@
{
"id": "mc",
"version": "3.1",
"name": "Molotov Cherry",
"type": "psychic",
"valkyrie": "olenyevas",
"strengths": [
"physical",
"time mastery",
"gather"
],
"strengths": ["physical", "time mastery", "gather"],
"leader": {
"core": {
"name": "SHOWTIME!",
@@ -113,4 +110,4 @@
}
]
}
}
}
+3 -6
View File
@@ -1,13 +1,10 @@
{
"id": "mpe",
"version": "5.1",
"name": "Miss Pink Elf♪",
"type": "psychic",
"valkyrie": "elysia",
"strengths": [
"physical",
"time mastery",
"fast atk"
],
"strengths": ["physical", "time mastery", "fast atk"],
"leader": {
"core": {
"name": "An Ode to Love and Compassion",
@@ -125,4 +122,4 @@
}
]
}
}
}
+3 -8
View File
@@ -1,15 +1,10 @@
{
"id": "ns",
"version": "2.5",
"name": "Night Squire",
"type": "biologic",
"valkyrie": "fuhua",
"strengths": [
"physical",
"burst",
"time mastery",
"fast atk",
"bleed"
],
"strengths": ["physical", "burst", "time mastery", "fast atk", "bleed"],
"leader": {
"core": {
"name": "Night Squire",
@@ -128,4 +123,4 @@
}
]
}
}
}
+3 -7
View File
@@ -1,14 +1,10 @@
{
"id": "nyx",
"version": "4.8",
"name": "Starchasm Nyx",
"type": "quantum",
"valkyrie": "seele",
"strengths": [
"ice dmg",
"burst",
"time mastery",
"freeze"
],
"strengths": ["ice dmg", "burst", "time mastery", "freeze"],
"leader": {
"core": {
"name": "A Torn Heart",
@@ -121,4 +117,4 @@
}
]
}
}
}
+3 -5
View File
@@ -1,12 +1,10 @@
{
"id": "pi",
"version": "2.8",
"name": "Phantom Iron",
"type": "mecha",
"valkyrie": "rita",
"strengths": [
"lightning dmg",
"paralyze"
],
"strengths": ["lightning dmg", "paralyze"],
"leader": {
"core": {
"name": "Ex Machina",
@@ -123,4 +121,4 @@
}
]
}
}
}
+3 -6
View File
@@ -1,13 +1,10 @@
{
"id": "pv",
"version": "4.9",
"name": "Prinzessin der Verurteilung!",
"type": "biologic",
"valkyrie": "fischl",
"strengths": [
"lightning dmg",
"time mastery",
"fast atk"
],
"strengths": ["lightning dmg", "time mastery", "fast atk"],
"leader": {
"core": {
"name": "Evernight Suite",
@@ -127,4 +124,4 @@
}
]
}
}
}
+3 -6
View File
@@ -1,13 +1,10 @@
{
"id": "px",
"version": "2.4",
"name": "Phoenix",
"type": "psychic",
"valkyrie": "fuhua",
"strengths": [
"fire dmg",
"time mastery",
"weaken"
],
"strengths": ["fire dmg", "time mastery", "weaken"],
"leader": {
"core": {
"name": "Flaming Heart",
@@ -120,4 +117,4 @@
}
]
}
}
}
+1
View File
@@ -1,5 +1,6 @@
{
"id": "ri",
"version": "2.2",
"name": "Ritual Imayoh",
"type": "mecha",
"valkyrie": "kallen",
+3 -8
View File
@@ -1,15 +1,10 @@
{
"id": "sa",
"version": "4.0",
"name": "Starlit Astrologos",
"type": "biologic",
"valkyrie": "theresa",
"strengths": [
"physical",
"heal",
"time mastery",
"stun",
"gather"
],
"strengths": ["physical", "heal", "time mastery", "stun", "gather"],
"leader": {
"core": {
"name": "Nine Palaces",
@@ -145,4 +140,4 @@
}
]
}
}
}
+1
View File
@@ -1,5 +1,6 @@
{
"id": "sj",
"version": "2.7",
"name": "Sündenjäger",
"type": "mecha",
"valkyrie": "kallen",
+1
View File
@@ -1,5 +1,6 @@
{
"id": "sk",
"version": "2.3",
"name": "Shadow Knight",
"type": "mecha",
"valkyrie": "fuhua",
+3 -6
View File
@@ -1,13 +1,10 @@
{
"id": "sn",
"version": "3.5",
"name": "Stygian Nymph",
"type": "quantum",
"valkyrie": "seele",
"strengths": [
"physical",
"time mastery",
"heavy atk"
],
"strengths": ["physical", "time mastery", "heavy atk"],
"leader": {
"core": {
"name": "Cursed Blessing",
@@ -126,4 +123,4 @@
}
]
}
}
}
+1
View File
@@ -1,5 +1,6 @@
{
"id": "sns",
"version": "5.3",
"name": "Sweet 'n' Spicy",
"type": "mecha",
"valkyrie": "carole",
+3 -5
View File
@@ -1,12 +1,10 @@
{
"id": "sp",
"version": "3.2",
"name": "Swallowtail Phantasm",
"type": "quantum",
"valkyrie": "seele",
"strengths": [
"physical",
"burst"
],
"strengths": ["physical", "burst"],
"leader": {
"core": {
"name": "Azure Nymph",
@@ -121,4 +119,4 @@
}
]
}
}
}
+3 -7
View File
@@ -1,14 +1,10 @@
{
"id": "sr",
"version": "2.1",
"name": "Sakuno Rondo",
"type": "psychic",
"valkyrie": "theresa",
"strengths": [
"fire dmg",
"burst",
"fast atk",
"ignite"
],
"strengths": ["fire dmg", "burst", "fast atk", "ignite"],
"leader": {
"core": {
"name": "Ritual Dance",
@@ -125,4 +121,4 @@
}
]
}
}
}
+1
View File
@@ -1,5 +1,6 @@
{
"id": "stfu",
"version": "2.9",
"name": "Striker Fulminata",
"type": "biologic",
"valkyrie": "mei",
+1
View File
@@ -1,5 +1,6 @@
{
"id": "sw",
"version": "5.4",
"name": "Silverwing:N-EX",
"type": "biologic",
"valkyrie": "bronya",
+2 -1
View File
@@ -1,5 +1,6 @@
{
"id": "tp",
"version": "3.4",
"name": "Twilight Paladin",
"type": "mecha",
"valkyrie": "theresa",
@@ -104,4 +105,4 @@
}
]
}
}
}
+3 -5
View File
@@ -1,12 +1,10 @@
{
"id": "ur",
"version": "2.7",
"name": "Umbral Rose",
"type": "psychic",
"valkyrie": "rita",
"strengths": [
"physical",
"time mastery"
],
"strengths": ["physical", "time mastery"],
"leader": {
"core": {
"name": "Rosette Runners",
@@ -120,4 +118,4 @@
}
]
}
}
}
+3 -7
View File
@@ -1,14 +1,10 @@
{
"id": "va",
"version": "2.3",
"name": "Valkyrie Accipiter",
"type": "psychic",
"valkyrie": "fuhua",
"strengths": [
"physical",
"heal",
"time mastery",
"stun"
],
"strengths": ["physical", "heal", "time mastery", "stun"],
"leader": {
"core": {
"name": "Chelonic Unity",
@@ -126,4 +122,4 @@
}
]
}
}
}
+3 -6
View File
@@ -1,13 +1,10 @@
{
"id": "vd",
"version": "3.3",
"name": "Void Drifter",
"type": "mecha",
"valkyrie": "kiana",
"strengths": [
"physical",
"gather",
"bleed"
],
"strengths": ["physical", "gather", "bleed"],
"leader": {
"core": {
"name": "Flying Comet",
@@ -116,4 +113,4 @@
}
]
}
}
}
+3 -8
View File
@@ -1,15 +1,10 @@
{
"id": "ve",
"version": "2.0",
"name": "Violet Executer",
"type": "mecha",
"valkyrie": "theresa",
"strengths": [
"physical",
"burst",
"fast atk",
"bleed",
"heavy atk"
],
"strengths": ["physical", "burst", "fast atk", "bleed", "heavy atk"],
"leader": {
"core": {
"name": "Execution Time",
@@ -126,4 +121,4 @@
}
]
}
}
}
+3 -6
View File
@@ -1,13 +1,10 @@
{
"id": "vg",
"version": "3.8",
"name": "Valkyrie Gloria",
"type": "quantum",
"valkyrie": "durandal",
"strengths": [
"fire dmg",
"time mastery",
"ignite"
],
"strengths": ["fire dmg", "time mastery", "ignite"],
"leader": {
"core": {
"name": "Praefect Equites",
@@ -122,4 +119,4 @@
}
]
}
}
}
+1
View File
@@ -1,5 +1,6 @@
{
"id": "vke",
"version": "2.7",
"name": "Vermilion Knight: Eclipse",
"type": "mecha",
"valkyrie": "himeko",
+1
View File
@@ -1,5 +1,6 @@
{
"id": "vp",
"version": "2.0",
"name": "Valkyrie Pledge",
"type": "psychic",
"valkyrie": "theresa",
+1
View File
@@ -1,5 +1,6 @@
{
"id": "wd",
"version": "2.1",
"name": "Wolf's Dawn",
"type": "psychic",
"valkyrie": "bronya",
+7 -1
View File
@@ -1,4 +1,5 @@
import { readdirSync, readJsonFileSync } from '../../lib/data'
import { compareVersion } from '../../lib/string'
export interface BattlesuitSkill {
name: string
@@ -12,6 +13,7 @@ export interface BattlesuitSkillGroup {
export interface BattlesuitData {
id: string
version?: string
name: string
type: string
valkyrie: string
@@ -34,7 +36,11 @@ const battlesuitDataList = battlesuitsFileNameList
return data
})
.sort((a, b) => {
let compareResult = a.name
let compareResult = compareVersion(b.version || '0.0', a.version || '0.0')
if (compareResult !== 0) {
return compareResult
}
compareResult = a.name
.replace(/ \(.\)/, '')
.localeCompare(b.name.replace(/ \(.\)/, ''))