mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Added some keyword entries to isUsefulAttachKeyword.
This commit is contained in:
@@ -2,7 +2,6 @@ Name:Joven's Tools
|
|||||||
ManaCost:6
|
ManaCost:6
|
||||||
Types:Artifact
|
Types:Artifact
|
||||||
A:AB$ Pump | Cost$ 4 T | ValidTgts$ Creature | TgtPrompt$ Select target creature | KW$ HIDDEN CARDNAME can't be blocked except by Walls. | SpellDescription$ Target creature can't be blocked this turn except by Walls.
|
A:AB$ Pump | Cost$ 4 T | ValidTgts$ Creature | TgtPrompt$ Select target creature | KW$ HIDDEN CARDNAME can't be blocked except by Walls. | SpellDescription$ Target creature can't be blocked this turn except by Walls.
|
||||||
SVar:RemRandomDeck:True
|
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/jovens_tools.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/jovens_tools.jpg
|
||||||
SetInfo:HML|Uncommon|http://magiccards.info/scans/en/hl/133.jpg
|
SetInfo:HML|Uncommon|http://magiccards.info/scans/en/hl/133.jpg
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Name:Varchild's Crusader
|
|||||||
ManaCost:3 R
|
ManaCost:3 R
|
||||||
Types:Creature Human Knight
|
Types:Creature Human Knight
|
||||||
PT:3/2
|
PT:3/2
|
||||||
A:AB$ Pump | Cost$ 0 | KW$ CARDNAME can't be blocked except by Walls. & HIDDEN At the beginning of the end step, sacrifice CARDNAME. | SpellDescription$ CARDNAME can't be blocked this turn except by Walls. Sacrifice CARDNAME at the beginning of the next end step.
|
A:AB$ Pump | Cost$ 0 | KW$ HIDDEN CARDNAME can't be blocked except by Walls. & HIDDEN At the beginning of the end step, sacrifice CARDNAME. | SpellDescription$ CARDNAME can't be blocked this turn except by Walls. Sacrifice CARDNAME at the beginning of the next end step.
|
||||||
SVar:RemAIDeck:True
|
SVar:RemAIDeck:True
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/varchilds_crusader.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/varchilds_crusader.jpg
|
||||||
|
|||||||
@@ -998,10 +998,12 @@ public class AttachAi extends SpellAbilityAi {
|
|||||||
if (!CardUtil.isStackingKeyword(keyword) && card.hasKeyword(keyword)) {
|
if (!CardUtil.isStackingKeyword(keyword) && card.hasKeyword(keyword)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
final boolean evasive = (keyword.endsWith("Unblockable") || keyword.equals("Fear")
|
final boolean evasive = (keyword.equals("Unblockable") || keyword.equals("Fear")
|
||||||
|| keyword.equals("Intimidate") || keyword.equals("Shadow")
|
|| keyword.equals("Intimidate") || keyword.equals("Shadow")
|
||||||
|| keyword.equals("Flying") || keyword.equals("Horsemanship")
|
|| keyword.equals("Flying") || keyword.equals("Horsemanship")
|
||||||
|| keyword.endsWith("walk"));
|
|| keyword.endsWith("walk") || keyword.equals("CARDNAME can't be blocked except by Walls.")
|
||||||
|
|| keyword.equals("All creatures able to block CARDNAME do so.")
|
||||||
|
|| keyword.equals("CARDNAME can't be blocked by more than one creature."));
|
||||||
// give evasive keywords to creatures that can attack and deal damage
|
// give evasive keywords to creatures that can attack and deal damage
|
||||||
if (evasive) {
|
if (evasive) {
|
||||||
if (card.getNetCombatDamage() <= 0
|
if (card.getNetCombatDamage() <= 0
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ public abstract class PumpAiBase extends SpellAbilityAi {
|
|||||||
|
|
||||||
final boolean evasive = (keyword.endsWith("Unblockable") || keyword.endsWith("Fear")
|
final boolean evasive = (keyword.endsWith("Unblockable") || keyword.endsWith("Fear")
|
||||||
|| keyword.endsWith("Intimidate") || keyword.endsWith("Shadow")
|
|| keyword.endsWith("Intimidate") || keyword.endsWith("Shadow")
|
||||||
|| keyword.contains("CantBeBlockedBy"));
|
|| keyword.contains("CantBeBlockedBy") || keyword.endsWith("CARDNAME can't be blocked except by Walls."));
|
||||||
final boolean combatRelevant = (keyword.endsWith("First Strike") || keyword.contains("Bushido"));
|
final boolean combatRelevant = (keyword.endsWith("First Strike") || keyword.contains("Bushido"));
|
||||||
// give evasive keywords to creatures that can or do attack
|
// give evasive keywords to creatures that can or do attack
|
||||||
if (evasive) {
|
if (evasive) {
|
||||||
|
|||||||
Reference in New Issue
Block a user