- Added Urza's Engine, Icatian Skirmishers, Camel

This commit is contained in:
Sol
2013-06-23 17:20:44 +00:00
parent 72c7a54879
commit 52a26ba4a5
5 changed files with 43 additions and 0 deletions

3
.gitattributes vendored
View File

@@ -1492,6 +1492,7 @@ res/cardsfolder/c/callow_jushi_jaraku_the_interloper.txt -text
res/cardsfolder/c/calming_licid.txt -text res/cardsfolder/c/calming_licid.txt -text
res/cardsfolder/c/calming_verse.txt svneol=native#text/plain res/cardsfolder/c/calming_verse.txt svneol=native#text/plain
res/cardsfolder/c/caltrops.txt svneol=native#text/plain res/cardsfolder/c/caltrops.txt svneol=native#text/plain
res/cardsfolder/c/camel.txt -text
res/cardsfolder/c/cancel.txt svneol=native#text/plain res/cardsfolder/c/cancel.txt svneol=native#text/plain
res/cardsfolder/c/candelabra_of_tawnos.txt svneol=native#text/plain res/cardsfolder/c/candelabra_of_tawnos.txt svneol=native#text/plain
res/cardsfolder/c/candles_of_leng.txt -text svneol=unset#text/plain res/cardsfolder/c/candles_of_leng.txt -text svneol=unset#text/plain
@@ -5255,6 +5256,7 @@ res/cardsfolder/i/icatian_moneychanger.txt svneol=native#text/plain
res/cardsfolder/i/icatian_phalanx.txt -text res/cardsfolder/i/icatian_phalanx.txt -text
res/cardsfolder/i/icatian_priest.txt svneol=native#text/plain res/cardsfolder/i/icatian_priest.txt svneol=native#text/plain
res/cardsfolder/i/icatian_scout.txt svneol=native#text/plain res/cardsfolder/i/icatian_scout.txt svneol=native#text/plain
res/cardsfolder/i/icatian_skirmishers.txt -text
res/cardsfolder/i/icatian_store.txt svneol=native#text/plain res/cardsfolder/i/icatian_store.txt svneol=native#text/plain
res/cardsfolder/i/icatian_town.txt svneol=native#text/plain res/cardsfolder/i/icatian_town.txt svneol=native#text/plain
res/cardsfolder/i/ice_cage.txt svneol=native#text/plain res/cardsfolder/i/ice_cage.txt svneol=native#text/plain
@@ -11887,6 +11889,7 @@ res/cardsfolder/u/urzas_avenger.txt -text
res/cardsfolder/u/urzas_bauble.txt -text res/cardsfolder/u/urzas_bauble.txt -text
res/cardsfolder/u/urzas_blueprints.txt svneol=native#text/plain res/cardsfolder/u/urzas_blueprints.txt svneol=native#text/plain
res/cardsfolder/u/urzas_chalice.txt svneol=native#text/plain res/cardsfolder/u/urzas_chalice.txt svneol=native#text/plain
res/cardsfolder/u/urzas_engine.txt -text
res/cardsfolder/u/urzas_factory.txt svneol=native#text/plain res/cardsfolder/u/urzas_factory.txt svneol=native#text/plain
res/cardsfolder/u/urzas_filter.txt -text res/cardsfolder/u/urzas_filter.txt -text
res/cardsfolder/u/urzas_guilt.txt svneol=native#text/plain res/cardsfolder/u/urzas_guilt.txt svneol=native#text/plain

View File

@@ -0,0 +1,8 @@
Name:Camel
ManaCost:W
Types:Creature Camel
PT:0/1
K:Banding
S:Mode$ Continuous | Affected$ Creature.Self+attacking,Creature.attackersBandedWith | AddKeyword$ PreventAllDamageBy Desert | Description$ As long as Camel is attacking, prevent all damage Deserts would deal to Camel and to creatures banded with Camel.
SVar:Picture:http://www.wizards.com/global/images/magic/general/camel.jpg
Oracle:Banding (Any creatures with banding, and up to one without, can attack in a band. Bands are blocked as a group. If any creatures with banding you control are blocking or being blocked by a creature, you divide that creature's combat damage, not its controller, among any of the creatures it's being blocked by or is blocking.)\nAs long as Camel is attacking, prevent all damage Deserts would deal to Camel and to creatures banded with Camel.

View File

@@ -0,0 +1,10 @@
Name:Icatian Skirmishers
ManaCost:3 W
Types:Creature Human Soldier
PT:1/1
K:First Strike
K:Banding
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, all creatures banded with it gain first strike until end of turn.
SVar:TrigPump:DB$ PumpAll | ValidCards$ Creature.attackersBandedWith | KW$ First Strike
SVar:Picture:http://www.wizards.com/global/images/magic/general/icatian_skirmishers.jpg
Oracle:First strike, banding (Any creatures with banding, and up to one without, can attack in a band. Bands are blocked as a group. If any creatures with banding you control are blocking or being blocked by a creature, you divide that creature's combat damage, not its controller, among any of the creatures it's being blocked by or is blocking.)\nWhenever Icatian Skirmishers attacks, all creatures banded with it gain first strike until end of turn.

View File

@@ -0,0 +1,10 @@
Name:Urza's Engine
ManaCost:5
Types:Artifact Creature Juggernaut
PT:1/5
K:Trample
A:AB$ Pump | Cost$ 3 | KW$ Banding | SpellDescription$ CARDNAME gains banding until end of turn.
A:AB$ PumpAll | Cost$ 3 | ValidCards$ Creature.attackersBandedWith | KW$ Trample | SpellDescription$ Attacking creatures banded with Urza's Engine gain trample until end of turn.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/urzas_engine.jpg
Oracle:Trample\n{3}: Urza's Engine gains banding until end of turn. (Any creatures with banding, and up to one without, can attack in a band. Bands are blocked as a group. If any creatures with banding you control are blocking or being blocked by a creature, you divide that creature's combat damage, not its controller, among any of the creatures it's being blocked by or is blocking.)\n{3}: Attacking creatures banded with Urza's Engine gain trample until end of turn.

View File

@@ -69,6 +69,7 @@ import forge.card.trigger.ZCTrigger;
import forge.game.Game; import forge.game.Game;
import forge.game.GameActionUtil; import forge.game.GameActionUtil;
import forge.game.GlobalRuleChange; import forge.game.GlobalRuleChange;
import forge.game.combat.AttackingBand;
import forge.game.event.GameEventCardDamaged; import forge.game.event.GameEventCardDamaged;
import forge.game.event.GameEventCardDamaged.DamageType; import forge.game.event.GameEventCardDamaged.DamageType;
import forge.game.event.GameEventCardEquipped; import forge.game.event.GameEventCardEquipped;
@@ -6570,6 +6571,17 @@ public class Card extends GameEntity implements Comparable<Card> {
if (!getGame().getCombat().isUnblocked(this)) { if (!getGame().getCombat().isUnblocked(this)) {
return false; return false;
} }
} else if (property.equals("attackersBandedWith")) {
if (this.equals(source)) {
// You don't band with yourself
return false;
}
Combat combat = getGame().getCombat();
AttackingBand band = combat.getBandByAttacker(source);
if (band == null || !band.getAttackers().contains(this)) {
return false;
}
} else if (property.startsWith("kicked")) { } else if (property.startsWith("kicked")) {
if (property.equals("kicked")) { if (property.equals("kicked")) {
if (this.getKickerMagnitude() == 0) { if (this.getKickerMagnitude() == 0) {