fix for issue 527: Reinforcements definition caused AI to crash. ( buffer overflow of ability string for token )

* updated definition for Heliophial, changed counter naming for auto abilities to match.
This commit is contained in:
techdragon.nguyen@gmail.com
2010-11-23 19:25:53 +00:00
parent dcd8c96c7b
commit a512b12014

View File

@@ -25155,7 +25155,7 @@ toughness=2
[card]
name=Heliophial
abilities=sunburst
auto=counter(0/0,sunburst,charge)
auto=counter(0/0,sunburst,Charge)
auto={2}{S}:thisforeach(counter[0/0.1.Charge]) target(creature,player)
text=Sunburst (This enters the battlefield with a charge counter on it for each color of mana spent to cast it.) -- {2}, Sacrifice Heliophial: Heliophial deals damage to target creature or player equal to the number of charge counters on Heliophial.
mana={5}
@@ -44397,9 +44397,8 @@ type=Instant
[/card]
[card]
name=Reinforcements' 3rd Return
auto=counter(0/0,1,Reinforcements)
auto=@movedTo(creature|myLibrary) from(mygraveyard):thisforeach(counter{0/0.1.Reinforcements}>0) may moveTo(myLibrary) target(creature|mygraveyard && counter(0/0,-1,Reinforcements) && counter(0/0,1,Bury)
auto=thisforeach(counter{0/0.1.Bury}>0) bury
auto=@movedto(this|exile):may moveto(mylibrary) target(creature|mygraveyard)
auto=moveto(exile)
id=-1111135
type=Nothing
[/card]