mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Added Kentaro, the Smiling Cat
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -5753,6 +5753,7 @@ res/cardsfolder/k/kemba_kha_regent.txt svneol=native#text/plain
|
||||
res/cardsfolder/k/kembas_legion.txt -text
|
||||
res/cardsfolder/k/kembas_skyguard.txt svneol=native#text/plain
|
||||
res/cardsfolder/k/kemuri_onna.txt svneol=native#text/plain
|
||||
res/cardsfolder/k/kentaro_the_smiling_cat.txt -text
|
||||
res/cardsfolder/k/kessig.txt -text
|
||||
res/cardsfolder/k/kessig_cagebreakers.txt -text
|
||||
res/cardsfolder/k/kessig_malcontents.txt -text
|
||||
|
||||
9
res/cardsfolder/k/kentaro_the_smiling_cat.txt
Normal file
9
res/cardsfolder/k/kentaro_the_smiling_cat.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Kentaro, the Smiling Cat
|
||||
ManaCost:1 W
|
||||
Types:Legendary Creature Human Samurai
|
||||
PT:2/1
|
||||
K:Bushido 1
|
||||
S:Mode$ Continuous | Affected$ Card.Samurai+YouCtrl | AddHiddenKeyword$ Alternative Cost ConvertedManaCost | AffectedZone$ Hand,Graveyard,Exile,Library | Description$ You may pay X rather than pay the mana cost for Samurai spells you cast, where X is that spell's converted mana cost.
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/kentaro_the_smiling_cat.jpg
|
||||
Oracle:Bushido 1 (When this blocks or becomes blocked, it gets +1/+1 until end of turn.)\nYou may pay {X} rather than pay the mana cost for Samurai spells you cast, where X is that spell's converted mana cost.
|
||||
SetInfo:BOK Rare
|
||||
@@ -1219,7 +1219,12 @@ public final class GameActionUtil {
|
||||
if (sa.isSpell() && keyword.startsWith("Alternative Cost")) {
|
||||
final SpellAbility newSA = sa.copy();
|
||||
newSA.setBasicSpell(false);
|
||||
final Cost cost = new Cost(keyword.substring(17), false).add(newSA.getPayCosts().copyWithNoMana());
|
||||
String kw = keyword;
|
||||
if (keyword.contains("ConvertedManaCost")) {
|
||||
final String cmc = Integer.toString(sa.getSourceCard().getCMC());
|
||||
kw = keyword.replace("ConvertedManaCost", cmc);
|
||||
}
|
||||
final Cost cost = new Cost(kw.substring(17), false).add(newSA.getPayCosts().copyWithNoMana());
|
||||
newSA.setPayCosts(cost);
|
||||
newSA.setDescription(sa.getDescription() + " (by paying " + cost.toSimpleString() + " instead of its mana cost)");
|
||||
alternatives.add(newSA);
|
||||
|
||||
Reference in New Issue
Block a user