[OBW] Tooltip HP incorrect after Transform

Discussion in 'Bugs and Fixes' started by Fuzzysqurl, Dec 22, 2014.

  1. Fuzzysqurl

    Fuzzysqurl baa baa mareep I do what I want Server Owner Developer I do what I want Server Owner Developer

    Joined:
    Sep 12, 2012
    Messages:
    2,096
    Likes Received:
    967
    [​IMG]

    No idea how to fix. RIP.

    I tried crazy shit like sending the HP stat as the negative dex number of the original pokemon (so like Mew would return -151 for HP). Values under 0 would be flipped and turn into a dex number to get the stat every time the tooltip updated. I think that was the closest I was able to get to something that might have worked (but it didn't).

    As far as transformation and forme changes go, everything is registered as a "permanent" change. This was the best solution as it fixed so many other things but only left Ditto and Mew's HP incorrect if they transformed.
     
    Last edited: Dec 23, 2014