Integer Reset Bug: Timewarped Clan Trainer

Mode: Battlegrounds Duos (Patch 37.2)
Hero: Buttons
Cards Involved: Golden & Normal Timewarped Clan Trainer + Efficiency Dark Gift (“This minion’s Activate triggers twice”)

Issue Summary:
Activating a Golden Timewarped Clan Trainer with the Efficiency Dark Gift causes its second triple-stat trigger to exceed the 32-bit signed integer limit (2,147,483,647). Instead of clamping at the stat cap, the minion’s stats overflow and permanently reset down to 664 / 669.

Exact Reproduction & Match Timeline:

  1. 16:52 – Starting Board: Controlled a Golden Timewarped Clan Trainer at ~70M / 67M (70,069,647 / 67,074,665). Played a Normal Timewarped Clan Trainer with Efficiency (doubles stats twice = x4).
  2. 17:51 – Pre-Overflow Board: After the Normal Trainer’s double-trigger (x4), the Golden Trainer scaled to 280M / 268M alongside the Normal Trainer (20k / 20k).
  3. 17:53 – First Activate Trigger (x3): Clicked Activate on the Golden Timewarped Clan Trainer (with Efficiency). The first trigger tripled both minions cleanly:
    • Golden Trainer: 280M / 268M → 840M / 804M
    • Normal Trainer: 20k / 20k → 62k / 62k
  4. 17:54 – Second Activate Trigger via Efficiency (x3 / Overflow Reset):
    • Normal Trainer: 62k / 62k → 186k / 186k
    • Golden Trainer: 840M / 804M x 3 (~2.52B / 2.41B), exceeding the 32-bit signed integer maximum (2,147,483,647). Instead of clamping at 2,147,483,647, the Golden Trainer immediately wiped its multiplied stats and reset to 664 / 669.
  5. Server-Side Confirmation (Not a Visual Bug):
    • Playing a third 4 / 4 Normal Timewarped Clan Trainer with Efficiency and activating it (x4) scaled the 4 / 4 to 16 / 16 and the reset 664 / 669 Golden Trainer to 2.7k / 2.7k.
    • On the following turn, doubling it twice again scaled it normally (~2.7k -> ~5k -> ~10k), confirming the server permanently overwrote its stats and treated it as a normal low-stat minion.
  6. Post-Game Stat Tracking Note: The Duos Full Stats screen recorded Biggest Minion as only 70069647 / 67074665, failing to register the 280M / 268M or 840M / 804M stats achieved before the overflow.

Expected Result:
Minion Attack and Health should clamp at the maximum 32-bit integer cap (2,147,483,647) rather than overflowing and resetting.

Actual Result:
The minion overflowed on the second Efficiency trigger and permanently reset from 840M / 804M down to 664 / 669.


Additional Bug Observed Later in Same Match (Portal in a Crystal on Golden Minion):
On a later turn, casting Tumultuous Growth (targeting the Golden minion twice) randomly rolled and cast Portal in a Crystal on the Golden minion, passing it to my teammate—even though Portal in a Crystal should not be able to target/roll on a Golden minion.