[0.69.420-PUBLIC#1897] Blade armor values NaN/NaN

one_two

Well-Known Member
Jan 20, 2022
457
130
The Blade received after Kiro's Quest either comes to your hangar with NaN armor values, or gets in such state after becoming your active ship:

1650857797244.png

Attached: a savefile with freshly received Blade stored in your hangar.
 

Attachments

  • Ava (H) - 7Hrs 47Mins, 308 Days - Tavros Station, Kalas.json
    1.1 MB · Views: 0

one_two

Well-Known Member
Jan 20, 2022
457
130
Digging bit deeper, this is due to small error in Blade.js:

JavaScript:
    constructor()
    {
// ...
        a.HPMod = 3500;
//...

should instead define attribute of the ship object:

JavaScript:
        this.HPMod = 3500;

(won't help already created ships, tho; these will probably need a fix through upgradeSaveVersion() or smth)