add Armor Thrull (from Fallen Empires)

This commit is contained in:
jendave
2011-08-06 09:40:24 +00:00
parent 02e9e48ea5
commit 48c90d78f7
4 changed files with 16 additions and 2 deletions

1
.gitattributes vendored
View File

@@ -232,6 +232,7 @@ res/cardsfolder/armageddon.txt -text svneol=native#text/plain
res/cardsfolder/armed_response.txt -text svneol=native#text/plain
res/cardsfolder/armillary_sphere.txt -text svneol=native#text/plain
res/cardsfolder/armistice.txt -text svneol=native#text/plain
res/cardsfolder/armor_thrull.txt -text svneol=native#text/plain
res/cardsfolder/armored_ascension.txt -text svneol=native#text/plain
res/cardsfolder/armored_cancrix.txt -text svneol=native#text/plain
res/cardsfolder/armored_galleon.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,10 @@
Name:Armor Thrull
ManaCost:2 B
Types:Creature Thrull
Text:no text
PT:1/3
A:AB$PutCounter|Cost$T Sac<1/CARDNAME>|Tgt$TgtC|CounterType$P1P2|CounterNum$1|SpellDescription$Put a +1/+2 counter on target creature.
SVar:Rarity:Common
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/armor_thrull.jpg
End

View File

@@ -1547,14 +1547,16 @@ public class Card extends MyObservable {
public int getNetAttack() {
int total = getBaseAttack();
total += getTempAttackBoost() + getSemiPermanentAttackBoost() + getOtherAttackBoost()
+ getCounters(Counters.P1P1) + getCounters(Counters.P1P0) - getCounters(Counters.M1M1);
+ getCounters(Counters.P1P1) + getCounters(Counters.P1P2)
+ getCounters(Counters.P1P0) - getCounters(Counters.M1M1);
return total;
}
public int getNetDefense() {
int total = getBaseDefense();
total += getTempDefenseBoost() + getSemiPermanentDefenseBoost() + getOtherDefenseBoost()
+ getCounters(Counters.P1P1) - getCounters(Counters.M1M1) - getCounters(Counters.P0M1)
+ getCounters(Counters.P1P1) +(2*getCounters(Counters.P1P2))
- getCounters(Counters.M1M1) - getCounters(Counters.P0M1)
- (2*getCounters(Counters.P0M2));
return total;
}

View File

@@ -35,6 +35,7 @@ public enum Counters {
P0M2("+0/-2"),
P1P1("+1/+1"),
P1P0("+1/+0"),
P1P2("+1/+2"),
QUEST(),
SPORE(),
STORAGE(),