Limit on toughness

Szamsziel
Szamsziel Posts: 463 Mover and Shaker
When creature get 2^31-1 toughness it autodestroy itself. In log there is just info that 'creature was cast', 'creature was destroyed'.

Comments

  • MegaBulba
    MegaBulba Posts: 8 Just Dropped In
    No idea what you are saying.
  • Szamsziel
    Szamsziel Posts: 463 Mover and Shaker
    edited 2017 01
    Creature has power/toughness.  If toughness reach 2^31 which is bit more than 1 billion - it's being destroyed. (yes, I've reach it legitimately)
  • Monkeynutts
    Monkeynutts Posts: 566 Critical Contributor
    edited 2017 02
    Not jumping you here, but why is your match still going if thats the toughness....?
    Shouldnt you have won the match long before that.
  • Szamsziel
    Szamsziel Posts: 463 Mover and Shaker
    It was on one turn and creature had still summoning sickness. 
  • octal9
    octal9 Posts: 593 Critical Contributor
    edited 2017 04
    Creature toughness must be stored somehow - it's probably signed simply because Power must be signed (due to tightening coils, Jace1 first ability, etc).

    You're always going to be able to eventually overflow it. It should not come as a surprise that you did.

    not a bug unless you're expecting the value to clamp within a range
  • bk1234
    bk1234 Posts: 2,924 Chairperson of the Boards
    @Szamsziel

    Can you please give more info such as the creature and PW used and the condition in which you were boosting its toughness? 
  • Szamsziel
    Szamsziel Posts: 463 Mover and Shaker
    @octal9 - as a programmer I would add some if-then clause to ensure I don't overflow buffer.

    @bken1234 - Kiora loop deck with reason/pull and vizier of many faces as only creature. Vizier reinforcing it's own copy - exponential buff;)