mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
add Accursed Centaur (from Onslaught), Commander Greven il-Vec (from Tempest), Kjeldoran Dead (from Ice Age), Spined Fluke (from Urza's Saga), and Vindictive Mob (from Ravnica:City of Guilds)
This commit is contained in:
5
.gitattributes
vendored
5
.gitattributes
vendored
@@ -39,6 +39,7 @@ res/cardsfolder/accelerated_mutation.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/acceptable_losses.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/accorders_shield.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/accumulated_knowledge.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/accursed_centaur.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/acid_rain.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/acid_web_spider.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/acidic_slime.txt -text svneol=native#text/plain
|
||||
@@ -940,6 +941,7 @@ res/cardsfolder/colossal_might.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/combust.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/command_of_unsummoning.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/commander_eesha.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/commander_greven_il_vec.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/commune_with_nature.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/composite_golem.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/compulsion.txt -text svneol=native#text/plain
|
||||
@@ -2720,6 +2722,7 @@ res/cardsfolder/kitsune_dawnblade.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/kitsune_diviner.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/kitsune_loreweaver.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/kitsune_riftwalker.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/kjeldoran_dead.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/kjeldoran_gargoyle.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/kjeldoran_javelineer.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/kjeldoran_outpost.txt -text svneol=native#text/plain
|
||||
@@ -4667,6 +4670,7 @@ res/cardsfolder/spinal_villain.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/spincrusher.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/spindrift_drake.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/spined_basher.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/spined_fluke.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/spined_sliver.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/spined_wurm.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/spineless_thug.txt -text svneol=native#text/plain
|
||||
@@ -5450,6 +5454,7 @@ res/cardsfolder/vigilant_drake.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/village_elder.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/villainous_ogre.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/vindicate.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/vindictive_mob.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/vine_trellis.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/vinelasher_kudzu.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/vintara_snapper.txt -text svneol=native#text/plain
|
||||
|
||||
8
res/cardsfolder/accursed_centaur.txt
Normal file
8
res/cardsfolder/accursed_centaur.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Accursed Centaur
|
||||
ManaCost:B
|
||||
Types:Creature Zombie Centaur
|
||||
Text:When CARDNAME enters the battlefield, sacrifice a creature.
|
||||
PT:2/2
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/accursed_centaur.jpg
|
||||
End
|
||||
9
res/cardsfolder/commander_greven_il_vec.txt
Normal file
9
res/cardsfolder/commander_greven_il_vec.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Commander Greven il-Vec
|
||||
ManaCost:3 B B B
|
||||
Types:Legendary Creature Human Warrior
|
||||
Text:When CARDNAME enters the battlefield, sacrifice a creature.
|
||||
PT:7/5
|
||||
K:Fear
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/commander_greven_il_vec.jpg
|
||||
End
|
||||
9
res/cardsfolder/kjeldoran_dead.txt
Normal file
9
res/cardsfolder/kjeldoran_dead.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Kjeldoran Dead
|
||||
ManaCost:B
|
||||
Types:Creature Skeleton
|
||||
Text:When CARDNAME enters the battlefield, sacrifice a creature.
|
||||
PT:3/1
|
||||
A:AB$Regenerate|Cost$B|SpellDescription$Regenerate CARDNAME.
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/kjeldoran_dead.jpg
|
||||
End
|
||||
9
res/cardsfolder/spined_fluke.txt
Normal file
9
res/cardsfolder/spined_fluke.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Spined Fluke
|
||||
ManaCost:2 B
|
||||
Types:Creature Worm Horror
|
||||
Text:When CARDNAME enters the battlefield, sacrifice a creature.
|
||||
PT:5/1
|
||||
A:AB$Regenerate|Cost$B|SpellDescription$Regenerate CARDNAME.
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/spined_fluke.jpg
|
||||
End
|
||||
9
res/cardsfolder/vindictive_mob.txt
Normal file
9
res/cardsfolder/vindictive_mob.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Vindictive Mob
|
||||
ManaCost:4 B B
|
||||
Types:Creature Human Berserker
|
||||
Text:When CARDNAME enters the battlefield, sacrifice a creature.
|
||||
PT:5/5
|
||||
K:CARDNAME can't be blocked by Saprolings.
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/vindictive_mob.jpg
|
||||
End
|
||||
@@ -13428,6 +13428,53 @@ public class CardFactory_Creatures {
|
||||
|
||||
card.addSpellAbility(discard);
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Accursed Centaur") || cardName.equals("Commander Greven il-Vec") ||
|
||||
cardName.equals("Kjeldoran Dead") || cardName.equals("Spined Fluke") ||
|
||||
cardName.equals("Vindictive Mob")) {
|
||||
|
||||
final Command comesIntoPlay = new Command() {
|
||||
private static final long serialVersionUID = -6986957647765851979L;
|
||||
final Player player = card.getController();
|
||||
public void execute() {
|
||||
CardList type = AllZoneUtil.getCreaturesInPlay(player);
|
||||
|
||||
if( player.isComputer()) {
|
||||
if( type.size() > 0 ) {
|
||||
Card sac = CardFactoryUtil.AI_getWorstCreature(type);
|
||||
AllZone.GameAction.sacrifice(sac);
|
||||
}
|
||||
else {
|
||||
AllZone.GameAction.sacrifice(card);
|
||||
}
|
||||
}
|
||||
else { //this is the human resolution
|
||||
Input target = new Input() {
|
||||
private static final long serialVersionUID = 2795318747338985959L;
|
||||
public void showMessage() {
|
||||
AllZone.Display.showMessage(cardName+" - Select a creature to sacrifice");
|
||||
ButtonUtil.enableOnlyCancel();
|
||||
}
|
||||
public void selectButtonCancel() {
|
||||
AllZone.GameAction.sacrifice(card);
|
||||
stop();
|
||||
}
|
||||
public void selectCard(Card c, PlayerZone zone) {
|
||||
if(zone.is(Constant.Zone.Battlefield, card.getController()) && c.isCreature()) {
|
||||
AllZone.GameAction.sacrifice(c);
|
||||
stop();
|
||||
}
|
||||
}//selectCard()
|
||||
};//Input
|
||||
AllZone.InputControl.setInput(target);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
card.addComesIntoPlayCommand(comesIntoPlay);
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
|
||||
if(hasKeyword(card, "Level up") != -1 && hasKeyword(card, "maxLevel") != -1)
|
||||
|
||||
@@ -285,6 +285,10 @@ public class CombatUtil {
|
||||
return false;
|
||||
}
|
||||
|
||||
if(attacker.getKeyword().contains("CARDNAME can't be blocked by Saprolings.")) {
|
||||
if(blocker.isType("Saproling")) return false;
|
||||
}
|
||||
|
||||
if(attacker.getKeyword().contains("Intimidate")) {
|
||||
if(!blocker.getType().contains("Artifact") && !attacker.sharesColorWith(blocker)) return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user