[Fixed] RBY Transform with Critical Hits

Discussion in 'Solved Bugs' started by Lutra, Jun 10, 2015.

  1. Lutra

    Lutra All Gen Battler/Scripter

    Joined:
    Apr 25, 2010
    Messages:
    509
    Likes Received:
    188
    PO Trainer Name:
    Lutra
    [​IMG]

    Here, Ditto transforms into Persian and then proceeds to crit repeatedly (presumably taking Persian's base speed, but you can check that) with Ditto's attack, which is incorrect according to this post and Crystal's post further down.
     
    Last edited: Jun 10, 2015
  2. 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
    So... It should use Ditto's speed but persian's attack..?
     
  3. Lutra

    Lutra All Gen Battler/Scripter

    Joined:
    Apr 25, 2010
    Messages:
    509
    Likes Received:
    188
    PO Trainer Name:
    Lutra
    Yes for critical hit calculation: Persian's non-modified attack, defense and special, but Ditto's base speed for the CH ratio.

    Other stuff to do with transform is alright I think. It correctly copies the current stats of the target at the time of transformation.
     
  4. 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
    Ok. Fixed.
     
    Nightfall Alicorn and Lutra like this.