* Fix almost all tests.
* This version "nearly" works.
This commit is contained in:
jean.chalard
2009-09-07 14:37:32 +00:00
parent 635c87202a
commit 5b473a1505
19 changed files with 160 additions and 106 deletions

View File

@@ -630,8 +630,10 @@ int MTGCardInstance::stepPower(CombatStep step)
switch (step)
{
case FIRST_STRIKE :
case END_FIRST_STRIKE :
if (has(Constants::FIRSTSTRIKE) || has(Constants::DOUBLESTRIKE)) return MAX(0, power); else return 0;
case DAMAGE :
case END_DAMAGE :
default :
if (has(Constants::FIRSTSTRIKE)) return 0; else return MAX(0, power);
}