ridoy / pokemon-showdown-god-mode

Automatic damage calculation plugin for Pokemon Showdown (a popular battle simulator)
0 stars 0 forks source link

Hidden power and return miscalculation #5

Closed ridoy closed 1 year ago

ridoy commented 1 year ago

Damages for Hidden Power and Return are always calculated as 0.

Possible cause: these 2 moves are always serialized as hiddenpower{type}60 and return102 respectively. Need to investigate PS code to see how these are passed into the damage calculator correctly.

ridoy commented 1 year ago

Fixed with https://github.com/ridoy/pokemon-showdown-god-mode/commit/9ef695953e8cd05c594632bcf977e0140d5c3bd8