mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
add Afterlife (from Mercadian Masques)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -65,6 +65,7 @@ res/cardsfolder/aetherflame_wall.txt -text svneol=native#text/plain
|
|||||||
res/cardsfolder/aethersnipe.txt -text svneol=native#text/plain
|
res/cardsfolder/aethersnipe.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/affa_guard_hound.txt -text svneol=native#text/plain
|
res/cardsfolder/affa_guard_hound.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/afflict.txt -text svneol=native#text/plain
|
res/cardsfolder/afflict.txt -text svneol=native#text/plain
|
||||||
|
res/cardsfolder/afterlife.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/ageless_entity.txt -text svneol=native#text/plain
|
res/cardsfolder/ageless_entity.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/agent_of_masks.txt -text svneol=native#text/plain
|
res/cardsfolder/agent_of_masks.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/agent_of_shauku.txt -text svneol=native#text/plain
|
res/cardsfolder/agent_of_shauku.txt -text svneol=native#text/plain
|
||||||
|
|||||||
8
res/cardsfolder/afterlife.txt
Normal file
8
res/cardsfolder/afterlife.txt
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
Name:Afterlife
|
||||||
|
ManaCost:2 W
|
||||||
|
Types:Instant
|
||||||
|
Text:Destroy target creature. It can't be regenerated. Its controller puts a 1/1 white Spirit creature token with flying onto the battlefield.
|
||||||
|
K:spDestroyTgt:Creature:NoRegen:Drawback$MakeToken<>1<>Spirit<>W 1 1 Spirit<>TargetController<>W<>Creature;Spirit<>1<>1<>Flying
|
||||||
|
SVar:Rarity:Uncommon
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/afterlife.jpg
|
||||||
|
End
|
||||||
@@ -3945,7 +3945,11 @@ public class CardFactoryUtil {
|
|||||||
final int defense = Integer.valueOf(k[8]);
|
final int defense = Integer.valueOf(k[8]);
|
||||||
final String[] keywords = k[9].split(";");
|
final String[] keywords = k[9].split(";");
|
||||||
|
|
||||||
String controller = controllerString.equals("Controller") ? cardController : Opp;
|
String controller = "";
|
||||||
|
if(controllerString.equals("Controller")) controller = cardController;
|
||||||
|
else if(controllerString.equals("Opponent")) controller = Opp;
|
||||||
|
else if(controllerString.equals("TargetController"))controller = TgtC.getController();
|
||||||
|
|
||||||
if(keywords[0].equals("None")) keywords[0] = "";
|
if(keywords[0].equals("None")) keywords[0] = "";
|
||||||
|
|
||||||
int num = xString ? CardFactoryUtil.xCount(TgtC, numString) : Integer.valueOf(numString);
|
int num = xString ? CardFactoryUtil.xCount(TgtC, numString) : Integer.valueOf(numString);
|
||||||
@@ -3954,7 +3958,6 @@ public class CardFactoryUtil {
|
|||||||
}
|
}
|
||||||
}//end MakeToken drawback
|
}//end MakeToken drawback
|
||||||
|
|
||||||
|
|
||||||
if(d[0].contains("ReturnFromYard")) // placeholder for effect
|
if(d[0].contains("ReturnFromYard")) // placeholder for effect
|
||||||
X = X + 0;
|
X = X + 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user