mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Modified the AI and coverted Skullclamp from code object to implemented via keyword. Computer will no longer attach the Skullclamp to a creature with a net Toughness of 1.
This commit is contained in:
@@ -222,6 +222,12 @@ Artifact Equipment
|
||||
Equipped creature gets +1/+0.
|
||||
eqPump 0:+1/+0
|
||||
|
||||
Skullclamp
|
||||
1
|
||||
Artifact Equipment
|
||||
Equipped creature gets +1/-1. When equipped creature is put into a graveyard, draw two cards.
|
||||
eqPump 1:+1/-1
|
||||
|
||||
Slagwurm Armor
|
||||
1
|
||||
Artifact Equipment
|
||||
@@ -7885,11 +7891,6 @@ At the beginning of each upkeep, put a 1/1 red and green Dragon creature token w
|
||||
4/4
|
||||
Flying
|
||||
|
||||
Skullclamp
|
||||
1
|
||||
Artifact Equipment
|
||||
Equipped creature gets +1/-1. When equipped creature is put into a graveyard, draw two cards.
|
||||
|
||||
Survival of the Fittest
|
||||
1 G
|
||||
Enchantment
|
||||
|
||||
@@ -1269,7 +1269,8 @@ public class CardFactoryUtil {
|
||||
public boolean addCard(Card c) {
|
||||
return c.isCreature() && (!CardFactoryUtil.AI_doesCreatureAttack(c))
|
||||
&& CardFactoryUtil.canTarget(sourceCard, c)
|
||||
&& (!c.getKeyword().contains("Defender"));
|
||||
&& (!c.getKeyword().contains("Defender"))
|
||||
&& (c.getNetDefense() + Tough > 0);
|
||||
}
|
||||
});
|
||||
// list.remove(card); // if mana-only cost, allow self-target
|
||||
|
||||
@@ -471,7 +471,7 @@ class CardFactory_Equipment {
|
||||
} //*************** END ************ END **************************
|
||||
|
||||
|
||||
|
||||
/*
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Skullclamp")) {
|
||||
final Ability equip = new Ability(card, "1") {
|
||||
@@ -577,7 +577,7 @@ class CardFactory_Equipment {
|
||||
card.addUnEquipCommand(onUnEquip);
|
||||
|
||||
} //*************** END ************ END **************************
|
||||
|
||||
*/
|
||||
|
||||
/*
|
||||
//*************** START *********** START **************************
|
||||
|
||||
Reference in New Issue
Block a user