[Next Update] Spectral Thief on Simple & Full metal body

Discussion in 'Solved Bugs' started by fsk, Jan 25, 2017.

  1. fsk

    fsk Woke up after a long dream Forum Moderator Server Moderator Forum Moderator Server Moderator

    Joined:
    Jan 15, 2016
    Messages:
    292
    Likes Received:
    349
    PO Trainer Name:
    fsk
    Battle Mechanics Bug Battleserver-wise


    When did you first notice the bug?: Today
    Have you been able to reproduce the bug?: Yes

    Information (include relevant logs, replays, screenshots):

    If a pokemon with ability simple use a set up move, and then hit by spectral thief, its positive stats are reset to 0. i.e, times 0.
    However, our server resets the stats by minus the amount of increased stats, which then affected by simple and makes a simple sweeper at +4 attack to -4.

    In addition, Full meta body should have its boost stolen by spectral thief, i.e. reset to 0 and becomes opponent's boost.
    On our sim, the spectral thief user gets the boost, but the Full meta body doesn't lose its boost.
    Following the same logic, pls check clear body and hyper cutter.

    Log see here http://imgur.com/a/X6EHf

    (If applicable) Sources to confirm the presence of a bug (ex. Smogon):
    Tested in game by Smogon dataminer.
    http://www.smogon.com/forums/thread...chanics-research.3586701/page-38#post-7090526
    http://replay.pokemonshowdown.com/gen7customgame-523478967
     
    Last edited: Jan 26, 2017
  2. turbedi

    turbedi Professional circle clicker ~~~ Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jul 18, 2013
    Messages:
    385
    Likes Received:
    155
    PO Trainer Name:
    turbedi
    I can fix the bug, but I some mechanic tests will be needed. How does Spectral Thief behave with the Abilities Contrary/what happens if a pokemon with the Ability Simple uses Spectral Thief? Is the boost doubled? (I didn't test it yet, but after looking at the code I assume that a pokemon with the Ability Simple that uses Spectral Thief gets the doubled boost of the opponent)
     
  3. fsk

    fsk Woke up after a long dream Forum Moderator Server Moderator Forum Moderator Server Moderator

    Joined:
    Jan 15, 2016
    Messages:
    292
    Likes Received:
    349
    PO Trainer Name:
    fsk
    all from that same smogon post:
    When Pokemon with Ability Contrary uses Spectral Thief:
    Opponent's Positive boost is reset to 0. User of Spectral Thief will receive a drop in the stats instead of boosting.
    On our sim it works correctly so i didn't mention this in OP.

    Side note, "Spectral thief cannot steal negative stats to get a boost this way."
    ----
    When Ability Simple uses Spectral Thief, it does get a doubled boost, and this is also correct on our sim.