1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Guest, PO has ceased our separate tiering and adopted Smogon tiers for SM. More information and updates here.

    Dismiss Notice

[Fixed] RBY struggle bug

Discussion in 'Solved Bugs' started by Sakuya Izayoi, Jun 14, 2013.

  1. Sakuya Izayoi

    Sakuya Izayoi love to hate

    Joined:
    Jun 1, 2012
    Messages:
    1,150
    Likes Received:
    408
    [​IMG]

    It is not supposed to hit ghost types according to Smogon.
     
  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
    Struggle is a Normal-type move as well, so Rock Pokemon would take 1/2 damage.

    There's no specific entry in moves.cpp for Struggle, so its buried somewhere else in the mechanics, which I have no idea where it is. Just wanted to make sure whoever tackles the fix knew not to just throw an exclusion to check for Ghost types and to treat it like a Normal move instead.
     
  3. Sakuya Izayoi

    Sakuya Izayoi love to hate

    Joined:
    Jun 1, 2012
    Messages:
    1,150
    Likes Received:
    408
    If someone can test it I will be really grateful for it.