Yamato and Mushashi (Full Version)

All Forums >> [New Releases from Matrix Games] >> Warplan Pacific



Message


generalfdog -> Yamato and Mushashi (11/17/2021 11:18:26 PM)

Japans 2 super battleships Yamato and Mushashi both have a strength of but Mushashis is 5/4 so once it is damaged it can't ever be a super battleship again is this intentional or a mistake?




ncc1701e -> RE: Yamato and Mushashi (11/17/2021 11:50:20 PM)

Surely a mistake, it should be 5/5.




ncc1701e -> RE: Yamato and Mushashi (11/17/2021 11:54:43 PM)

Yep doing a quick check, this is a bug.

[image]local://upfiles/46661/822B33C87C6D41848A7899FDEB8FCDB3.jpg[/image]




AlvaroSousa -> RE: Yamato and Mushashi (11/18/2021 3:36:45 PM)

The repair amount is based on the maxStrength value of the unit itself. So I think you have an older scenario prior to me fixing this issue.

I looked at all the scenarios and the Musashi is a 5/5

CODE LINE

healthRepairAmount = Math.Min(healthRepairAmount, maxHealth - health);


maxHealth is assigned to all naval units individually.




ncc1701e -> RE: Yamato and Mushashi (11/18/2021 6:38:07 PM)

Above screenshot was taken with Beta 5.4, this is Pacific 1942 scenario.




AlvaroSousa -> RE: Yamato and Mushashi (11/19/2021 2:56:49 PM)

fixed.




ncc1701e -> RE: Yamato and Mushashi (11/20/2021 7:46:32 AM)

Looks good now, thank you.

[image]local://upfiles/46661/5A88CAFE63CD4BD8BD71B2314B4D7D70.jpg[/image]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0234375