mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
add Insolence (from Planeshift)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -1904,6 +1904,7 @@ res/cardsfolder/inner_chamber_guard.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/inner_flame_acolyte.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/innocent_blood.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/insight.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/insolence.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/inspiration.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/inspired_charge.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/inspired_sprite.txt -text svneol=native#text/plain
|
||||
|
||||
8
res/cardsfolder/insolence.txt
Normal file
8
res/cardsfolder/insolence.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Insolence
|
||||
ManaCost:2 R
|
||||
Types:Enchantment Aura
|
||||
Text:Whenever enchanted creature becomes tapped, Insolence deals 2 damage to that creature's controller.s
|
||||
K:Enchant Creature Curse
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/insolence.jpg
|
||||
End
|
||||
@@ -262,7 +262,28 @@ public class GameActionUtil {
|
||||
AllZone.Stack.add(ability);
|
||||
}
|
||||
}
|
||||
}//end Blight
|
||||
}//end Psychic Venom
|
||||
|
||||
/*
|
||||
* Insolence - Whenever enchanted creature becomes
|
||||
* tapped, Insolence deals 2 damage to that creature's controller.
|
||||
*/
|
||||
if(c.isEnchantedBy("Insolence")) {
|
||||
final ArrayList<Card> cards = c.getEnchantedBy();
|
||||
for(Card card:cards) {
|
||||
final Card source = card;
|
||||
if(card.getName().equals("Insolence")) {
|
||||
Ability ability = new Ability(card, "0") {
|
||||
@Override
|
||||
public void resolve() {
|
||||
AllZone.GameAction.addDamage(activePlayer, source, 2);
|
||||
}
|
||||
};//Ability
|
||||
ability.setStackDescription(card.getName()+" - deals 2 damage to "+activePlayer);
|
||||
AllZone.Stack.add(ability);
|
||||
}
|
||||
}
|
||||
}//end Insolence
|
||||
|
||||
/*
|
||||
* Whenever enchanted creature becomes tapped, put a -0/-2 counter on it.
|
||||
@@ -7555,7 +7576,7 @@ public class GameActionUtil {
|
||||
public void resolve() {
|
||||
//String opponent = AllZone.GameAction.getOpponent(player);
|
||||
CardList libraryList = AllZoneUtil.getPlayerCardsInLibrary(player);
|
||||
PlayerZone graveyard = AllZone.getZone(Constant.Zone.Graveyard, player);
|
||||
//PlayerZone graveyard = AllZone.getZone(Constant.Zone.Graveyard, player);
|
||||
PlayerZone battlefield = AllZone.getZone(Constant.Zone.Play, player);
|
||||
boolean oathFlag = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user