Skip to content

Commit

Permalink
Merge pull request #82 from harry0000/feature-1_2_20
Browse files Browse the repository at this point in the history
Update version to 1.2.20: Add unit & rank up & equipment
  • Loading branch information
harry0000 authored Jan 8, 2024
2 parents e00cfc0 + a6be2a4 commit 74fcacb
Show file tree
Hide file tree
Showing 26 changed files with 656 additions and 233 deletions.
182 changes: 69 additions & 113 deletions package-lock.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "last-origin-unit-viewer",
"version": "1.2.19",
"version": "1.2.20",
"private": true,
"license": "UNLICENSED",
"author": "harry0000 <https://github.com/harry0000>",
Expand Down Expand Up @@ -39,27 +39,27 @@
]
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/react": "^11.11.3",
"@types/gtag.js": "^0.0.18",
"@types/node": "^20.10.4",
"@types/node": "^20.10.6",
"@types/react": "^18.2.38",
"@types/react-dom": "^18.2.17",
"@types/react-dom": "^18.2.18",
"@types/react-router-dom": "^5.3.3",
"@types/recoil": "0.0.9",
"bootstrap": "^4.6.2",
"fast-deep-equal": "^3.1.3",
"i18next": "^23.7.8",
"i18next": "^23.7.13",
"rdndmb-html5-to-touch": "^8.0.3",
"react": "^18.2.0",
"react-bootstrap": "^1.6.7",
"react-bootstrap": "^1.6.8",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dnd-multi-backend": "^8.0.3",
"react-dnd-preview": "^8.0.3",
"react-dnd-touch-backend": "^16.0.1",
"react-dom": "^18.2.0",
"react-i18next": "^13.5.0",
"react-router-dom": "^5.3.4",
"react-i18next": "^14.0.0",
"react-router-dom": "^6.21.1",
"react-scripts": "^5.0.1",
"react-virtuoso": "^4.6.2",
"recoil": "^0.7.7"
Expand All @@ -68,11 +68,11 @@
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.55.0",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"typescript": "^5.3.3"
Expand Down
Binary file added public/equip_icon/gear_medusa_ss.webp
Binary file not shown.
Binary file added public/equip_icon/gear_shield_blade_ss.webp
Binary file not shown.
Binary file added public/equip_icon/gear_stole_of_atonement_ss.webp
Binary file not shown.
Binary file added public/unit_icon/168.webp
Binary file not shown.
99 changes: 99 additions & 0 deletions src/data/equipmentData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3428,6 +3428,39 @@ export const equipmentData = {
[{ condition: { trigger: 'start_wave' }, details: { activation_rate_percentage_up: { tag: 'lucky_hit', effect: 'additional_damage', milliPercentage: 20000, term: 'infinite' } } }]
]
},
medusa: {
type: 'gear',
id: 'medusa',
exclusive: {
unit: 124
},
status_effects: [
{ electric_resist_up: { milliPercentage: 40000 } },
{ electric_resist_up: { milliPercentage: 44000 } },
{ electric_resist_up: { milliPercentage: 48000 } },
{ electric_resist_up: { milliPercentage: 52000 } },
{ electric_resist_up: { milliPercentage: 56000 } },
{ electric_resist_up: { milliPercentage: 60000 } },
{ electric_resist_up: { milliPercentage: 64000 } },
{ electric_resist_up: { milliPercentage: 68000 } },
{ electric_resist_up: { milliPercentage: 72000 } },
{ electric_resist_up: { milliPercentage: 76000 } },
{ electric_resist_up: { milliPercentage: 80000 } }
],
equipment_effects: [
[{ condition: { trigger: 'start_wave' }, details: { battle_continuation: { milliPercentage: 30000, term: 'infinite', times: 1 }, acc_up: { milliPercentage: 30000, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { battle_continuation: { milliPercentage: 32000, term: 'infinite', times: 1 }, acc_up: { milliPercentage: 35000, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { battle_continuation: { milliPercentage: 34000, term: 'infinite', times: 1 }, acc_up: { milliPercentage: 40000, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { battle_continuation: { milliPercentage: 36000, term: 'infinite', times: 1 }, acc_up: { milliPercentage: 45000, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { battle_continuation: { milliPercentage: 38000, term: 'infinite', times: 1 }, acc_up: { milliPercentage: 50000, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { battle_continuation: { milliPercentage: 40000, term: 'infinite', times: 1 }, acc_up: { milliPercentage: 55000, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { battle_continuation: { milliPercentage: 42000, term: 'infinite', times: 1 }, acc_up: { milliPercentage: 60000, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { battle_continuation: { milliPercentage: 44000, term: 'infinite', times: 1 }, acc_up: { milliPercentage: 65000, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { battle_continuation: { milliPercentage: 46000, term: 'infinite', times: 1 }, acc_up: { milliPercentage: 70000, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { battle_continuation: { milliPercentage: 48000, term: 'infinite', times: 1 }, acc_up: { milliPercentage: 75000, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { battle_continuation: { milliPercentage: 50000, term: 'infinite', times: 1 }, acc_up: { milliPercentage: 80000, term: 'infinite' } } }]
]
},
mg80_retrofit_kit: {
type: 'gear',
id: 'mg80_retrofit_kit',
Expand Down Expand Up @@ -3613,6 +3646,39 @@ export const equipmentData = {
[{ condition: { trigger: 'start_wave' }, details: { re_attack: { term: 'infinite' } } }, { condition: { trigger: 'kill', state: { tagged: 'gold_forged_through_hundred_refinement' } }, details: { atk_value_up: { milliValue: 150000, term: 'infinite' } } }]
]
},
shield_blade: {
type: 'gear',
id: 'shield_blade',
exclusive: {
unit: 46
},
status_effects: [
{ hp_up: { value: 750 } },
{ hp_up: { value: 825 } },
{ hp_up: { value: 900 } },
{ hp_up: { value: 975 } },
{ hp_up: { value: 1050 } },
{ hp_up: { value: 1125 } },
{ hp_up: { value: 1200 } },
{ hp_up: { value: 1275 } },
{ hp_up: { value: 1350 } },
{ hp_up: { value: 1425 } },
{ hp_up: { value: 1500 } }
],
equipment_effects: [
[{ condition: { trigger: 'start_wave' }, details: { cri_up: { milliPercentage: 25000, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { cri_up: { milliPercentage: 27500, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { cri_up: { milliPercentage: 30000, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { cri_up: { milliPercentage: 32500, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { cri_up: { milliPercentage: 35000, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { cri_up: { milliPercentage: 37500, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { cri_up: { milliPercentage: 40000, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { cri_up: { milliPercentage: 42500, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { cri_up: { milliPercentage: 45000, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { cri_up: { milliPercentage: 47500, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { cri_up: { milliPercentage: 50000, term: 'infinite' } } }]
]
},
sk_14_p_c_c: {
type: 'gear',
id: 'sk_14_p_c_c',
Expand Down Expand Up @@ -3811,6 +3877,39 @@ export const equipmentData = {
[{ condition: { trigger: 'start_round' }, details: { damage_reduction_up: { milliPercentage: 15000, term: { for_rounds: 1 } }, fire_resist_up: { milliPercentage: 35000, term: { for_rounds: 1 } }, ice_resist_up: { milliPercentage: 35000, term: { for_rounds: 1 } }, electric_resist_up: { milliPercentage: 35000, term: { for_rounds: 1 } }, column_protect: { term: { for_rounds: 1 } } } }]
]
},
stole_of_atonement: {
type: 'gear',
id: 'stole_of_atonement',
exclusive: {
unit: 236
},
status_effects: [
{ cri_up: { milliPercentage: 10000 }, fire_resist_up: { milliPercentage: 35000 } },
{ cri_up: { milliPercentage: 11000 }, fire_resist_up: { milliPercentage: 38500 } },
{ cri_up: { milliPercentage: 12000 }, fire_resist_up: { milliPercentage: 42000 } },
{ cri_up: { milliPercentage: 13000 }, fire_resist_up: { milliPercentage: 45500 } },
{ cri_up: { milliPercentage: 14000 }, fire_resist_up: { milliPercentage: 49000 } },
{ cri_up: { milliPercentage: 15000 }, fire_resist_up: { milliPercentage: 52500 } },
{ cri_up: { milliPercentage: 16000 }, fire_resist_up: { milliPercentage: 56000 } },
{ cri_up: { milliPercentage: 17000 }, fire_resist_up: { milliPercentage: 59500 } },
{ cri_up: { milliPercentage: 18000 }, fire_resist_up: { milliPercentage: 63000 } },
{ cri_up: { milliPercentage: 19000 }, fire_resist_up: { milliPercentage: 66500 } },
{ cri_up: { milliPercentage: 20000 }, fire_resist_up: { milliPercentage: 70000 } }
],
equipment_effects: [
[{ condition: { trigger: 'start_wave' }, details: { range_up_active_1: { value: 1, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { range_up_active_1: { value: 1, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { range_up_active_1: { value: 1, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { range_up_active_1: { value: 1, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { range_up_active_1: { value: 1, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { range_up_active_1: { value: 2, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { range_up_active_1: { value: 2, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { range_up_active_1: { value: 2, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { range_up_active_1: { value: 2, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { range_up_active_1: { value: 2, term: 'infinite' } } }],
[{ condition: { trigger: 'start_wave' }, details: { range_up_active_1: { value: 3, term: 'infinite' } } }]
]
},
super_alloy_plate_armor: {
type: 'gear',
id: 'super_alloy_plate_armor',
Expand Down
7 changes: 7 additions & 0 deletions src/data/unitBasicData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -902,6 +902,13 @@ export const unitBasicData = {
type: 'light',
role: 'supporter'
},
168: {
no: 168,
kind: 'bioroid',
rank: 'ss',
type: 'heavy',
role: 'attacker'
},
169: {
no: 169,
kind: 'bioroid',
Expand Down
10 changes: 10 additions & 0 deletions src/data/unitCoreLinkBonusData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1374,6 +1374,16 @@ export const unitCoreLinkBonusData: UnitCoreLinkBonusData = {
{ spd_up: { microValue: 100000 } }
]
},
168: {
specific_link_bonus: { damage_multiplier: { milliPercentage: 2000 } },
full_link_bonus: [
{ sortie_cost: { milliPercentage: 25000 } },
{ damage_multiplier: { milliPercentage: 25000 } },
{ range_up: { value: 1 } },
{ acc_up: { milliPercentage: 75000 } },
{ spd_up: { microValue: 100000 } }
]
},
169: {
specific_link_bonus: { cri_up: { milliPercentage: 2000 } },
full_link_bonus: [
Expand Down
1 change: 1 addition & 0 deletions src/data/unitEquipmentSlotData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export const unitEquipmentSlotData = {
161: { chip1: 60, chip2: 80, os: 40, gear: 20 },
162: { chip1: 60, chip2: 80, os: 40, gear: 20 },
165: { chip1: 40, chip2: 60, os: 80, gear: 20 },
168: { chip1: 40, chip2: 60, os: 80, gear: 20 },
169: { chip1: 60, chip2: 80, os: 40, gear: 20 },
170: { chip1: 40, chip2: 80, os: 60, gear: 20 },
171: { chip1: 20, chip2: 80, os: 60, gear: 40 },
Expand Down
50 changes: 50 additions & 0 deletions src/data/unitRankUpBonusData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,17 @@ export const unitRankUpBonusData = {
spd_up: { microValue: 100000 }
}
},
124: {
ss: {
hp_up: { value: 270 },
atk_up: { milliValue: 70000 },
def_up: { milliValue: 20000 },
cri_up: { milliPercentage: 7500 },
acc_up: { milliPercentage: 12000 },
eva_up: { milliPercentage: 1500 },
spd_up: { microValue: 70000 }
}
},
127: {
ss: {
hp_up: { value: 175 },
Expand Down Expand Up @@ -1103,6 +1114,16 @@ export const unitRankUpBonusData = {
spd_up: { microValue: 40000 }
}
},
137: {
ss: {
hp_up: { value: 170 },
atk_up: { milliValue: 140000 },
def_up: { milliValue: 50000 },
cri_up: { milliPercentage: 7000 },
acc_up: { milliPercentage: 16000 },
spd_up: { microValue: 50000 }
}
},
138: {
ss: {
hp_up: { value: 100 },
Expand Down Expand Up @@ -1166,6 +1187,24 @@ export const unitRankUpBonusData = {
spd_up: { microValue: 60000 }
}
},
172: {
s: {
hp_up: { value: 50 },
atk_up: { milliValue: 35000 },
def_up: { milliValue: 30000 },
cri_up: { milliPercentage: 2700 },
acc_up: { milliPercentage: 4000 },
spd_up: { microValue: 30000 }
},
ss: {
hp_up: { value: 70 },
atk_up: { milliValue: 45000 },
def_up: { milliValue: 40000 },
cri_up: { milliPercentage: 4000 },
acc_up: { milliPercentage: 10000 },
spd_up: { microValue: 20000 }
}
},
174: {
ss: {
hp_up: { value: 200 },
Expand Down Expand Up @@ -1334,6 +1373,17 @@ export const unitRankUpBonusData = {
spd_up: { microValue: 70000 }
}
},
233: {
ss: {
hp_up: { value: 150 },
atk_up: { milliValue: 80000 },
def_up: { milliValue: 15000 },
cri_up: { milliPercentage: 5000 },
acc_up: { milliPercentage: 10000 },
eva_up: { milliPercentage: 20000 },
spd_up: { microValue: 50000 }
}
},
235: {
// FIXME: Add rank up bonus data when bug fixed in game
s: {
Expand Down
Loading

0 comments on commit 74fcacb

Please sign in to comment.