Tsunder / Pardus-Sweetener

A browser extension that enhances the user interface of the online game Pardus
3 stars 3 forks source link

Minimap route planner not using correct AP costs sometimes #73

Open nateallen198 opened 5 years ago

nateallen198 commented 5 years ago

AP cost to move is not always computed correctly.

With Nav III advanced skill, IP drive, and no stim active, cost to move on energy is 13; the calculated route appears to use values of 12 for energy and 4 for fuel, as if I had a stim active in addition to Nav III. (See 3rd attachment, where moving 1 tile has wrong cost)

Sitting on fuel with AP cost to move of 5 gives correct route and route cost. (see 2nd attachment)

1st attachment shows route plotted through fuel instead of neb, the 56 APs would be correct if I had a stim active, which I don't: 12+114=56 but if I had a stim active, the neb would cost 8, so the total cost of the trip should be 12+54+3*8=56 for going across neb (same cost, 4 fewer tiles) so, while I'm sitting in energy, it's computing the route as though I had a stim active, AND not breaking the tie using the shorter route.

but in fact the route be computed using costs of 13 for energy, 9 for neb and 5 for fuel

Untitled Untitled2b Untitled3