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] Knock off + Berry Juice

Discussion in 'Solved Bugs' started by fitzy, Mar 14, 2014.

  1. fitzy

    fitzy Heart of the cards Forum Moderator Forum Moderator

    Joined:
    Apr 16, 2012
    Messages:
    883
    Likes Received:
    295
    Beryllium's Vullaby used Knock Off!
    Rioku's Dwebble lost 76% of its health!
    Rioku's Dwebble restored a little HP using its Berry Juice!

    I haven't tested in game but I'm almost sure berry juice shouldn't activate.
     
  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
    On the contrary,

    "Knock Off inflicts damage and removes the target's held item. If Knock Off triggers an item (such as a Focus Band, Focus Sash, or Colbur Berry) after the attack, that item activates before Knock Off removes it (unless it was consumed). " - Bulbapedia
    "If Knock Off triggers an item effect (eg. Colbur Berry) then that item's effect activates before the item is Knocked Off. " - Smogon
    UPC mentions nothing if it activates or not.

    Would require in game testing to confirm, but given the data I have, I'd say its not a bug.
     
  3. 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
    Submitt(ed/ing) fix.

    It was confirmed a bug shortly after I replied to the thread.
     
  4. ZodiaK

    ZodiaK Get the fuck off my porch

    Joined:
    Apr 27, 2011
    Messages:
    426
    Likes Received:
    19
    well, i had posted about this somewhat before, I had tested ingame where a pokemon used knock off to lower another pkmn's hp under 50% to see if sitrus berry would activate consumption before being knocked off but it didn't; the item was knocked off.

    Also, since we are on subject, i was about to make a potential bug report but since it's relative to what u just posted above fuzzy, my friend and I were testing colbur berry and damage hit from knock off:

    252+ Atk Life Orb Bisharp Knock Off (97.5 BP) vs. 252 HP / 252+ Def Aegislash-Shield: 242-283 (74.6 - 87.3%) -- guaranteed 2HKO after Leftovers recovery
    252+ Atk Life Orb Bisharp Knock Off vs. 252 HP / 252+ Def Aegislash-Shield: 159-190 (49 - 58.6%) -- 98% chance to 2HK0
    252+ Atk Life Orb Bisharp Knock Off (97.5 BP) vs. 252 HP / 252+ Def Colbur Berry Aegislash-Shield: 121-142 (37.3 - 43.8%) -- guaranteed 3HKO

    Our PO damage tests confirm these calcs but we were wondering since colbur is one of the situational pre-trigger items with focus sash and band, does that mean knock off should still be getting the 97BP or should it only be hitting for 65BP when triggering these items since the item would in theory be consumed first meaning the :

    252+ Atk Life Orb Bisharp Knock Off (97.5 BP) vs. 252 HP / 252+ Def Colbur Berry Aegislash-Shield: 121-142 (37.3 - 43.8%) -- guaranteed 3HKO
    should instead be like (24.5- 29.3%) percentage ish?
     
  5. Wriggle Nightbug

    Wriggle Nightbug Silly bug

    Joined:
    Apr 12, 2012
    Messages:
    216
    Likes Received:
    1
    AFAIK yes, but I haven't tested
     
  6. 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
    Yeah, Berry Juice was coded differently than Pinch berries, but I changed it to run identical code in the required situations (like theres no bug bite for berry juice so i skipped that part)

    Also for the other part, we should get tests done.