[Fixed] Problem with Heal Block?

Discussion in 'Solved Bugs' started by Unholy Confessions, Jun 14, 2015.

  1. Unholy Confessions

    Unholy Confessions Full-time legend

    Joined:
    Jun 9, 2014
    Messages:
    9
    Likes Received:
    0
    PO Trainer Name:
    Unholy Confessions
    Pretty trivial, but I was playing Metronome with a randomer and this happens...

    Start of turn 53
    Clefable used Metronome!
    Clefable used Heal Block!
    The foe's Blue Flare was prevented from healing due to Heal Block!

    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used U-turn!
    It's not very effective...
    Clefable lost 31 HP! (7% of its health)

    Start of turn 54
    Clefable used Metronome!
    Clefable used Dark Void!
    The foe's Blue Flare avoided the attack!

    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used Rest!
    The foe's Blue Flare went to sleep and became healthy!

    I've had Heal Block actually work in Metronome before, is Rest exempt from Heal Block or is Metronome's healing moves mechanic changed? I've seen healing fail from Heal Block in Metronome before.

    Note: I put the Needs Testing tag because it's basically impossible to recreate the situation of Heal Block followed by Rest, both from Metronomes.

    Full battle log (not that it matters):
    Battle between Unholy Confessions and Nightfall Alicorn started!

    Tier: Metronome
    Mode: Singles
    Rule: Rated
    Rule: Species Clause
    Variation: +59, -21

    Unholy Confessions sent out Dusknoir!
    Nightfall Alicorn sent out Reality! (Mewtwo)
    The foe's Reality is exerting its Pressure!
    Dusknoir is exerting its Pressure!
    Nightfall Alicorn: [Bot]: I battle of the Princess of the Night.

    Start of turn 1
    The foe's Reality used Metronome!
    The foe's Reality used Heal Bell!
    A bell chimed!

    Dusknoir used Metronome!
    Dusknoir absorbed light!

    Unholy Confessions: What?

    Start of turn 2
    Nightfall Alicorn called Reality back!
    Nightfall Alicorn sent out Shooting Star! (Jirachi)

    Dusknoir used Solar Beam!
    It's not very effective...
    The foe's Shooting Star lost 10% of its health!

    Start of turn 3
    The foe's Shooting Star used Metronome!
    The foe's Shooting Star used Iron Defense!
    The foe's Shooting Star's Defense sharply rose!

    Dusknoir used Metronome!
    Dusknoir used Absorb!
    It's not very effective...
    The foe's Shooting Star lost 1% of its health!
    The foe's Shooting Star had its energy drained!

    Start of turn 4
    The foe's Shooting Star used Metronome!
    The foe's Shooting Star used Clear Smog!
    It's not very effective...
    Dusknoir lost 15 HP! (5% of its health)
    Dusknoir's stat changes were eliminated!

    Dusknoir used Metronome!
    Dusknoir used Ingrain!
    Dusknoir planted its roots!

    Dusknoir absorbed nutrients with its roots!

    Start of turn 5
    The foe's Shooting Star used Metronome!
    The foe's Shooting Star used Horn Drill!
    The attack of the foe's Shooting Star missed!

    Dusknoir used Metronome!
    Dusknoir used Oblivion Wing!
    It's not very effective...
    The foe's Shooting Star lost 6% of its health!
    The foe's Shooting Star had its energy drained!

    Start of turn 6
    The foe's Shooting Star used Metronome!
    The foe's Shooting Star used Psycho Shift!
    But it failed!

    Dusknoir used Metronome!
    Dusknoir used Super Fang!
    The foe's Shooting Star lost 40% of its health!

    Start of turn 7
    The foe's Shooting Star used Metronome!
    The foe's Shooting Star used Rototiller!
    But it failed!

    Dusknoir used Metronome!
    Dusknoir used Tail Whip!
    The foe's Shooting Star's Defense fell!

    Start of turn 8
    Nightfall Alicorn called Shooting Star back!
    Nightfall Alicorn sent out Reality! (Mewtwo)

    The foe's Reality is exerting its Pressure!
    Dusknoir used Metronome!
    Dusknoir used Ion Deluge!
    Ions are storming the terrain!

    Start of turn 9
    The foe's Reality used Metronome!
    The foe's Reality used Rolling Kick!
    It had no effect on Dusknoir!

    Dusknoir used Metronome!
    Dusknoir used Work Up!
    Dusknoir's Attack rose!
    Dusknoir's Sp. Att. rose!

    Start of turn 10
    The foe's Reality used Metronome!
    The foe's Reality used Flash!
    Dusknoir's Accuracy fell!

    Dusknoir used Metronome!
    Dusknoir used Stealth Rock!
    Pointed stones float in the air around Nightfall Alicorn's team!

    Start of turn 11
    The foe's Reality used Metronome!
    The foe's Reality used Dark Void!
    Dusknoir fell asleep!

    Dusknoir is fast asleep.

    Start of turn 12
    The foe's Reality used Metronome!
    The foe's Reality used Minimize!
    The foe's Reality's Evasion sharply rose!

    Dusknoir woke up!
    Dusknoir used Metronome!
    Dusknoir used Grudge!

    Start of turn 13
    Nightfall Alicorn called Reality back!
    Nightfall Alicorn sent out Paragon! (Dusknoir)
    Pointed stones dug into the foe's Paragon!

    The foe's Paragon is exerting its Pressure!
    Dusknoir used Metronome!
    Dusknoir used Growth!
    Dusknoir's Attack rose!
    Dusknoir's Sp. Att. rose!

    Nightfall Alicorn: oh my...

    Start of turn 14
    Dusknoir used Metronome!
    Dusknoir used Hydro Pump!
    The foe's Paragon lost 39% of its health!

    The foe's Paragon used Metronome!
    The foe's Paragon used Telekinesis!
    Dusknoir was hurled into the air!

    Unholy Confessions: Beast

    Start of turn 15
    Dusknoir used Metronome!
    Dusknoir used Knock Off!
    The attack of Dusknoir missed!

    The foe's Paragon used Metronome!
    The foe's Paragon used Head Smash!
    Dusknoir lost 93 HP! (31% of its health)
    The foe's Paragon is damaged by recoil!

    Dusknoir absorbed nutrients with its roots!

    Start of turn 16
    Dusknoir used Metronome!
    Dusknoir used Extrasensory!
    The foe's Paragon lost 32% of its health!
    The foe's Paragon fainted!

    Dusknoir absorbed nutrients with its roots!
    Dusknoir was freed from the telekinesis!
    Nightfall Alicorn sent out Blue Flare! (Snorlax)
    Pointed stones dug into the foe's Blue Flare!

    Unholy Confessions: Shame about the acc drop

    Start of turn 17
    Dusknoir used Metronome!
    Dusknoir used Stone Edge!
    The foe's Blue Flare lost 37% of its health!

    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used Grass Knot!
    Dusknoir lost 43 HP! (14% of its health)

    Dusknoir absorbed nutrients with its roots!
    Nightfall Alicorn: i dont it mattered ._.

    Start of turn 18
    Dusknoir used Metronome!
    Dusknoir used Hone Claws!
    Dusknoir's Attack rose!
    Dusknoir's Accuracy rose!
    Dusknoir ate its Leppa Berry!
    Dusknoir's Metronome's PPs are restored!

    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used Rock Tomb!
    Dusknoir lost 42 HP! (14% of its health)
    Dusknoir's Speed fell!

    Dusknoir absorbed nutrients with its roots!

    Start of turn 19
    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used Supersonic!
    The attack of the foe's Blue Flare missed!

    Dusknoir used Metronome!
    Dusknoir used Soak!
    The foe's Blue Flare transformed into the Water type!

    Dusknoir absorbed nutrients with its roots!

    Start of turn 20
    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used Ice Shard!
    Dusknoir lost 27 HP! (9% of its health)

    Dusknoir used Metronome!
    Dusknoir used Heat Wave!
    It's not very effective...
    The foe's Blue Flare lost 12% of its health!

    Dusknoir absorbed nutrients with its roots!

    Start of turn 21
    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used Bonemerang!
    Dusknoir lost 34 HP! (11% of its health)
    Dusknoir lost 38 HP! (12% of its health)
    Hit 2 time(s)!

    Dusknoir used Metronome!
    Dusknoir used Earth Power!
    The foe's Blue Flare lost 24% of its health!

    Dusknoir absorbed nutrients with its roots!

    Start of turn 22
    Nightfall Alicorn called Blue Flare back!
    Nightfall Alicorn sent out Shooting Star! (Jirachi)
    Pointed stones dug into the foe's Shooting Star!

    Dusknoir used Metronome!
    Dusknoir used Cross Poison!
    It had no effect on the foe's Shooting Star!

    Dusknoir absorbed nutrients with its roots!

    Start of turn 23
    The foe's Shooting Star used Metronome!
    The foe's Shooting Star used Worry Seed!
    Dusknoir now has Insomnia!

    Dusknoir used Metronome!
    Dusknoir used Supersonic!
    The attack of Dusknoir missed!

    Dusknoir absorbed nutrients with its roots!

    Start of turn 24
    The foe's Shooting Star used Metronome!
    The foe's Shooting Star used Shock Wave!
    Dusknoir lost 34 HP! (11% of its health)

    Dusknoir used Metronome!
    Dusknoir used Psywave!
    The foe's Shooting Star lost 14% of its health!

    Dusknoir absorbed nutrients with its roots!

    Start of turn 25
    The foe's Shooting Star used Metronome!
    The foe's Shooting Star used Dragon Tail!
    Dusknoir lost 42 HP! (14% of its health)

    Dusknoir used Metronome!
    Dusknoir used Stomp!
    It's not very effective...
    The foe's Shooting Star lost 14% of its health!

    Dusknoir absorbed nutrients with its roots!

    Start of turn 26
    The foe's Shooting Star used Metronome!
    The foe's Shooting Star used Heart Stamp!
    Dusknoir lost 58 HP! (19% of its health)

    Dusknoir used Metronome!
    Dusknoir used Leaf Blade!
    It's not very effective...
    The foe's Shooting Star lost 4% of its health!
    The foe's Shooting Star fainted!

    Dusknoir absorbed nutrients with its roots!
    Nightfall Alicorn sent out Reality! (Mewtwo)
    Pointed stones dug into the foe's Reality!

    The foe's Reality is exerting its Pressure!

    Start of turn 27
    The foe's Reality used Metronome!
    The foe's Reality used Confide!
    Dusknoir's Sp. Att. fell!

    Dusknoir used Metronome!
    Dusknoir used Explosion!
    Dusknoir fainted!
    The foe's Reality lost 87% of its health!
    The foe's Reality fainted!

    Unholy Confessions: Not bad for first pokemon.
    Nightfall Alicorn sent out Hypernova! (Clefable)

    Unholy Confessions sent out Mew!

    Nightfall Alicorn: so much luck, steath rocks and regen, with 2+ atk, that was op x.x

    Start of turn 28
    Mew used Metronome!
    Mew used Glare!
    The foe's Hypernova is paralyzed! It may be unable to move!

    The foe's Hypernova used Metronome!
    The foe's Hypernova used Charge!
    The foe's Hypernova's Sp. Def. rose!
    The foe's Hypernova began charging power!

    Start of turn 29
    Mew used Metronome!
    Mew used Dark Pulse!
    It's not very effective...
    The foe's Hypernova lost 5% of its health!

    The foe's Hypernova used Metronome!
    The foe's Hypernova used Substitute!
    The foe's Hypernova made a substitute!

    Start of turn 30
    Mew used Metronome!
    Mew used Waterfall!
    The foe's Hypernova's substitute took the damage!

    The foe's Hypernova used Metronome!
    The foe's Hypernova prepared a gust of wind!

    Start of turn 31
    Mew used Metronome!
    Mew used Bind!
    The foe's Hypernova's substitute took the damage!

    The foe's Hypernova used Razor Wind!
    Mew lost 59 HP! (14% of its health)

    Start of turn 32
    Mew used Metronome!
    Mew used Kinesis!
    The attack of Mew missed!

    The foe's Hypernova used Metronome!
    The foe's Hypernova used Leaf Blade!
    Mew lost 49 HP! (12% of its health)

    Start of turn 33
    Mew used Metronome!
    Mew used Dazzling Gleam!
    The foe's Hypernova's substitute faded!

    The foe's Hypernova used Metronome!
    The foe's Hypernova used Double Team!
    The foe's Hypernova's Evasion rose!

    Start of turn 34
    Mew used Metronome!
    Mew used Confuse Ray!
    The foe's Hypernova became confused!

    The foe's Hypernova is confused!
    It hurt itself in its confusion!
    The foe's Hypernova lost 5% of its health!

    Start of turn 35
    Mew used Metronome!
    Mew used Draining Kiss!
    The foe's Hypernova lost 6% of its health!
    The foe's Hypernova had its energy drained!

    The foe's Hypernova is confused!
    The foe's Hypernova used Metronome!
    The foe's Hypernova used Venom Drench!
    But it failed!

    Start of turn 36
    Mew used Metronome!
    Mew used Waterfall!
    The foe's Hypernova lost 17% of its health!

    The foe's Hypernova snapped out its confusion.
    The foe's Hypernova is paralyzed! It can't move!

    Start of turn 37
    Mew used Metronome!
    Mew used Round!
    The foe's Hypernova lost 8% of its health!

    The foe's Hypernova is paralyzed! It can't move!

    Start of turn 38
    Mew used Metronome!
    Mew used Tackle!
    The attack of Mew missed!

    The foe's Hypernova used Metronome!
    The foe's Hypernova used Mist Ball!
    It's not very effective...
    Mew lost 25 HP! (6% of its health)
    Mew's Sp. Att. fell!

    Start of turn 39
    Mew used Metronome!
    Mew used Steel Wing!
    The attack of Mew missed!

    The foe's Hypernova used Metronome!
    The foe's Hypernova used Iron Head!
    Mew lost 41 HP! (10% of its health)

    Start of turn 40
    Mew used Metronome!
    Mew used Rock Slide!
    The foe's Hypernova avoided the attack!

    The foe's Hypernova is paralyzed! It can't move!

    Start of turn 41
    Mew used Metronome!
    Mew used Aqua Tail!
    The attack of Mew missed!

    The foe's Hypernova used Metronome!
    The foe's Hypernova used Iron Head!
    Mew lost 38 HP! (9% of its health)

    Start of turn 42
    Mew used Metronome!
    Mew used Dizzy Punch!
    The attack of Mew missed!

    The foe's Hypernova is paralyzed! It can't move!

    Start of turn 43
    Mew used Metronome!
    Mew used Spark!
    The foe's Hypernova lost 14% of its health!
    Mew ate its Leppa Berry!
    Mew's Metronome's PPs are restored!

    The foe's Hypernova used Metronome!
    The foe's Hypernova used Poison Jab!
    Mew lost 41 HP! (10% of its health)
    Mew was poisoned!

    Mew was hurt by poison!

    Start of turn 44
    Mew used Metronome!
    Mew used Dynamic Punch!
    It's not very effective...
    The foe's Hypernova lost 10% of its health!
    The foe's Hypernova became confused!

    The foe's Hypernova is confused!
    The foe's Hypernova is paralyzed! It can't move!

    Mew was hurt by poison!

    Start of turn 45
    Nightfall Alicorn called Hypernova back!
    Nightfall Alicorn sent out Heartless Angel! (Togekiss)
    Pointed stones dug into the foe's Heartless Angel!

    Mew used Metronome!
    Mew used Sand Attack!
    The foe's Heartless Angel's Accuracy fell!

    Mew was hurt by poison!

    Start of turn 46
    Mew used Metronome!
    Mew used Zap Cannon!
    The attack of Mew missed!

    The foe's Heartless Angel used Metronome!
    The foe's Heartless Angel used Stealth Rock!
    Pointed stones float in the air around Unholy Confessions's team!

    Mew was hurt by poison!
    Mew fainted!
    Unholy Confessions sent out Clefable!

    Start of turn 47
    The foe's Heartless Angel used Metronome!
    The foe's Heartless Angel used Leech Seed!
    Clefable was seeded!

    Clefable used Metronome!
    Clefable used Aromatic Mist!
    But there was no target...

    Start of turn 48
    The foe's Heartless Angel used Metronome!
    The foe's Heartless Angel used Extreme Speed!
    The attack of the foe's Heartless Angel missed!

    Clefable used Metronome!
    Clefable used Clamp!
    The foe's Heartless Angel lost 4% of its health!

    The foe's Heartless Angel was hurt by Clamp!

    Start of turn 49
    The foe's Heartless Angel used Metronome!
    The foe's Heartless Angel used Water Sport!
    Fire's power has been weakened!

    Clefable used Metronome!
    Clefable used Nuzzle!
    It's super effective!
    The foe's Heartless Angel lost 5% of its health!
    The foe's Heartless Angel is paralyzed! It may be unable to move!

    The foe's Heartless Angel was hurt by Clamp!

    Start of turn 50
    Clefable used Metronome!
    Clefable used Acid!
    It's super effective!
    The foe's Heartless Angel lost 13% of its health!

    The foe's Heartless Angel used Metronome!
    The foe's Heartless Angel used Flash Cannon!
    It's super effective!
    Clefable lost 148 HP! (37% of its health)

    The foe's Heartless Angel was hurt by Clamp!

    Start of turn 51
    Clefable used Metronome!
    Clefable used Mega Drain!
    It's not very effective...
    The foe's Heartless Angel lost 3% of its health!
    The foe's Heartless Angel had its energy drained!

    The foe's Heartless Angel used Metronome!
    The foe's Heartless Angel used Dizzy Punch!
    The attack of the foe's Heartless Angel missed!

    The foe's Heartless Angel was hurt by Clamp!
    The foe's Heartless Angel fainted!
    Nightfall Alicorn sent out Hypernova! (Clefable)

    Start of turn 52
    Clefable used Metronome!
    Clefable used Body Slam!
    The foe's Hypernova lost 6% of its health!
    The foe's Hypernova fainted!

    Nightfall Alicorn: [Bot]: Not over yet.
    Nightfall Alicorn sent out Blue Flare! (Snorlax)
    Pointed stones dug into the foe's Blue Flare!

    Unholy Confessions: 1%... are you high

    Start of turn 53
    Clefable used Metronome!
    Clefable used Heal Block!
    The foe's Blue Flare was prevented from healing due to Heal Block!

    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used U-turn!
    It's not very effective...
    Clefable lost 31 HP! (7% of its health)

    Start of turn 54
    Clefable used Metronome!
    Clefable used Dark Void!
    The foe's Blue Flare avoided the attack!

    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used Rest!
    The foe's Blue Flare went to sleep and became healthy!

    Unholy Confessions: Well
    Unholy Confessions: That's a bug

    Start of turn 55
    Clefable used Metronome!
    Clefable used Reflect Type!
    Clefable type changed to match the foe's Blue Flare's types!

    The foe's Blue Flare is fast asleep.

    Nightfall Alicorn: *prays*

    Start of turn 56
    Clefable used Metronome!
    Clefable used Explosion!
    Clefable fainted!
    The foe's Blue Flare lost 53% of its health!

    The foe's Blue Flare is fast asleep.

    Unholy Confessions: Pray harder ;)
    Unholy Confessions sent out Celebi!
    Pointed stones dug into Celebi!

    Nightfall Alicorn: my god, 53% x.x

    Start of turn 57
    Celebi used Metronome!
    Celebi used Cross Poison!
    The foe's Blue Flare lost 11% of its health!

    The foe's Blue Flare woke up!
    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used Smelling Salts!
    Celebi lost 79 HP! (19% of its health)

    The foe's Blue Flare's heal block wore off!
    Nightfall Alicorn: *prays harder*

    Start of turn 58
    Celebi used Metronome!
    Celebi used Thunderbolt!
    A critical hit!
    The foe's Blue Flare lost 16% of its health!

    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used Assurance!
    It's super effective!
    Celebi lost 96 HP! (23% of its health)

    Start of turn 59
    Celebi used Metronome!
    Celebi used Thunder Shock!
    The foe's Blue Flare lost 4% of its health!

    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used Brick Break!
    It's not very effective...
    Celebi lost 32 HP! (7% of its health)

    Start of turn 60
    Celebi used Metronome!
    Celebi used Tickle!
    The foe's Blue Flare's Attack fell!
    The foe's Blue Flare's Defense fell!

    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used Electric Terrain!
    An electric current runs across the battlefield!

    Start of turn 61
    Celebi used Metronome!
    Celebi absorbed light!

    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used Rock Climb!
    Celebi lost 66 HP! (16% of its health)

    Start of turn 62
    Celebi used Solar Beam!
    The foe's Blue Flare lost 12% of its health!
    The foe's Blue Flare fainted!

    Unholy Confessions won the battle!
    Nightfall Alicorn: Good battle, mate.

    The window was disabled due to one of the players closing the battle window.
     
  2. Nightfall Alicorn

    Nightfall Alicorn Left Pokémon Online, most likely not coming back.

    Joined:
    Oct 15, 2013
    Messages:
    491
    Likes Received:
    171
    PO Trainer Name:
    Nightmare Moon
    I didn't notice it to be honest. That U-Turn, that hit and didn't switch, may had effected it since it supposed to be a switching move. Unless Rest is allowed to bypass Heal Block. :o
     
  3. Unholy Confessions

    Unholy Confessions Full-time legend

    Joined:
    Jun 9, 2014
    Messages:
    9
    Likes Received:
    0
    PO Trainer Name:
    Unholy Confessions
    I hadn't noticed the U-Turn actually, maybe that affected it. Cause it was your last pokemon it may have removed the Heal Block without switching out.
     
  4. Edna

    Edna Chasing the Dragon Forum Moderator Forum Moderator

    Joined:
    Feb 20, 2013
    Messages:
    1,753
    Likes Received:
    1,820
    PO Trainer Name:
    Edna
    Effect: For five turns, or until the target switches out, the target can't use Heal Order, Milk Drink, Moonlight, Morning Sun, Recover, Rest, Roost, Slack Off, Softboiled, Swallow, Synthesis, Wish, or any HP-draining attack; the target's Volt Absorb and Water Absorb are ignored, and Dry Skin only grants an immunity to Water moves; the target cannot be healed by any item, or another Pokémon's Heal Pulse.

    Until the target switches out, which it did with u-turn, so everything is good
     
  5. Nightfall Alicorn

    Nightfall Alicorn Left Pokémon Online, most likely not coming back.

    Joined:
    Oct 15, 2013
    Messages:
    491
    Likes Received:
    171
    PO Trainer Name:
    Nightmare Moon
    You may want to double check it.
    ---
    Start of turn 53
    Clefable used Metronome!
    Clefable used Heal Block!
    The foe's Blue Flare was prevented from healing due to Heal Block!
    - Blue Flare (Snorlax) is infected with Heal Block

    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used U-turn!
    It's not very effective...
    Clefable lost 31 HP! (7% of its health)
    - While Blue Flare (Snorlax) is still Heal Blocked right after in same turn. It uses U-turn but there are no Pokemon left to switch to.

    Start of turn 54
    Clefable used Metronome!
    Clefable used Dark Void!
    The foe's Blue Flare avoided the attack!

    The foe's Blue Flare used Metronome!
    The foe's Blue Flare used Rest!
    The foe's Blue Flare went to sleep and became healthy!
    It's only been 1/5 turn while Heal Blocked but Blue Flare (Snorlax) was still allowed to use Rest even though it hadn't been 5 turns yet and it didn't switch with U-turn because there are no Pokemon left to switch to, it only damaged the Clefable.
     
  6. Edna

    Edna Chasing the Dragon Forum Moderator Forum Moderator

    Joined:
    Feb 20, 2013
    Messages:
    1,753
    Likes Received:
    1,820
    PO Trainer Name:
    Edna
    Oh, since it was the last pokemon, it couldn't switch, thus it should indeed be heal blocked. I think the matters comes from the coding, like they could have coded that uturn and volt switch just make it end. We could try adding an exception for both these attacks ( needs testing for baton pass but I think it does pass the heal block) and make 2 different situations:
    - If you do have other teamates, it ends the heal block
    - If you're the last, it still works

    I'm quite sure that's how it works but we could still make tests
     
  7. 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
    Nope. Its an effect stored in pokeMem, which is cleared when the next pokemon is sent in. Since no pokemon was sent in, it would not be cleared.
    The reason it is failing is that it is checking the move you used, excluding special conditions. Since Metronome was the last move used, it is not affected by Heal Block itself and therefore executes properly.

    Essentially, gotta change the static void mp in Heal Block to use the move called by Metronome.
     
  8. Edna

    Edna Chasing the Dragon Forum Moderator Forum Moderator

    Joined:
    Feb 20, 2013
    Messages:
    1,753
    Likes Received:
    1,820
    PO Trainer Name:
    Edna
    I guess that makes sense, the moves used by metronome are not really considered as the one used, and heal block doesn't affect Metronome
     
  9. 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
    Can someone test to see if Assist, Metronome, Mirror Move, Sleep Talk, etc. can call healing moves under the effect of Heal Block?


    rip formatting
    Code (text):
    1.   static void mp(int s, int, BS &b) {
    2.   //Account for Metronome, etc.
    3.   bool specialOccurance = false;
    4.   if (turn(b,s).contains("SpecialMoveUsed")) {
    5.   int mv2 = turn(b,s)["SpecialMoveUsed"].toInt();
    6.   if (MoveInfo::Flags(mv2, b.gen()) & Move::HealingFlag) {
    7.   specialOccurance = true;
    8.   } else if ((b.gen() >= 6 && MoveInfo::Recoil(mv2, b.gen()) > 0) && mv2 != Move::HealPulse) {
    9.   specialOccurance = true;
    10.   }
    11.   }
    12.  
    13.   int mv = move(b,s);
    14.   if((tmove(b,s).flags & Move::HealingFlag || (b.gen() >= 6 && tmove(b,s).recoil > 0)) && mv != Move::HealPulse || specialOccurance) {
    15.   turn(b,s)["ImpossibleToMove"] = true;
    16.   b.notify(BS::All, BattleCommands::UseAttack, s, qint16(move(b,s)), false);
    17.   b.sendMoveMessage(59,BS::HealByMove,s,Type::Psychic,s,mv);
    18.   }
    19.   }
     
  10. Edna

    Edna Chasing the Dragon Forum Moderator Forum Moderator

    Joined:
    Feb 20, 2013
    Messages:
    1,753
    Likes Received:
    1,820
    PO Trainer Name:
    Edna
    Will do so, probably with Strudels help so it goes faster
     
    Nightfall Alicorn likes this.
  11. Edna

    Edna Chasing the Dragon Forum Moderator Forum Moderator

    Joined:
    Feb 20, 2013
    Messages:
    1,753
    Likes Received:
    1,820
    PO Trainer Name:
    Edna
    After Heal block:

    - Assit+Healing move doesn't work
    - Mirror move on a healing move doesn't work
    - Sleep talk+Healing move doesn't work
    - Copycat a healing move doesn't work
    - Snatch a healing move doesn't work
    - Metronome a healing move doesn't work
     
    Nightfall Alicorn and turbedi like this.
  12. 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
    Well, a few minor tweaks to my proposed code and it will mechanically work... but it keeps saying the move used was "Heal Pulse"

    Frustrating, to say the least.
     
    Nightfall Alicorn likes this.
  13. 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
    Finally got it working.
     
    Nightfall Alicorn likes this.