fix windswept_heath.txt missing choice 1, added unearth support without workaround, tweaked alternative cost, added treason/sneak attack ability, added frozen.

This commit is contained in:
omegablast2002@yahoo.com
2010-09-01 21:31:27 +00:00
parent 17eef3ef6f
commit 45f37b7545
13 changed files with 177 additions and 33 deletions

View File

@@ -45,6 +45,10 @@ int Damage::resolve(){
target = ev->damage->target;
if (!damage) return 0;
//asorbing effects for cards controller-----------
//reserved for culmulitive absorb ability coding
//prevent next damage-----------------------------
if((target)->preventable >= 1) {
int preventing =(target)->preventable;
@@ -71,6 +75,9 @@ int Damage::resolve(){
damage = 0;
(_target)->counters->removeCounter(1,1);
}
if ((_target)->has(Constants::ABSORB)) {
damage -= 1;
}
if ((_target)->has(Constants::WILTING)) {
for (int i = 0; i < damage; i++){
for (int i = damage; i > 0; i--){