- Converted Jackal Pup and Shinka Gatekeeper to script.

- Added Mending Hands and Split-Tail Miko.
This commit is contained in:
jendave
2011-08-07 00:44:46 +00:00
parent d6ee5d4db0
commit 775e238ce3
6 changed files with 27 additions and 20 deletions

2
.gitattributes vendored
View File

@@ -4349,6 +4349,7 @@ res/cardsfolder/memnarch.txt -text svneol=native#text/plain
res/cardsfolder/memnite.txt -text svneol=native#text/plain res/cardsfolder/memnite.txt -text svneol=native#text/plain
res/cardsfolder/memory_erosion.txt -text svneol=native#text/plain res/cardsfolder/memory_erosion.txt -text svneol=native#text/plain
res/cardsfolder/memory_lapse.txt -text svneol=native#text/plain res/cardsfolder/memory_lapse.txt -text svneol=native#text/plain
res/cardsfolder/mending_hands.txt -text svneol=native#text/plain
res/cardsfolder/meng_huo_barbarian_king.txt -text svneol=native#text/plain res/cardsfolder/meng_huo_barbarian_king.txt -text svneol=native#text/plain
res/cardsfolder/meng_huos_horde.txt -text svneol=native#text/plain res/cardsfolder/meng_huos_horde.txt -text svneol=native#text/plain
res/cardsfolder/mental_discipline.txt -text svneol=native#text/plain res/cardsfolder/mental_discipline.txt -text svneol=native#text/plain
@@ -6675,6 +6676,7 @@ res/cardsfolder/spitting_image.txt svneol=native#text/plain
res/cardsfolder/spitting_sliver.txt -text svneol=native#text/plain res/cardsfolder/spitting_sliver.txt -text svneol=native#text/plain
res/cardsfolder/spitting_spider.txt -text svneol=native#text/plain res/cardsfolder/spitting_spider.txt -text svneol=native#text/plain
res/cardsfolder/splinter_twin.txt svneol=native#text/plain res/cardsfolder/splinter_twin.txt svneol=native#text/plain
res/cardsfolder/split_tail_miko.txt -text svneol=native#text/plain
res/cardsfolder/splitting_headache.txt -text svneol=native#text/plain res/cardsfolder/splitting_headache.txt -text svneol=native#text/plain
res/cardsfolder/spoils_of_victory.txt -text svneol=native#text/plain res/cardsfolder/spoils_of_victory.txt -text svneol=native#text/plain
res/cardsfolder/spontaneous_combustion.txt svneol=native#text/plain res/cardsfolder/spontaneous_combustion.txt svneol=native#text/plain

View File

@@ -1,9 +1,11 @@
Name:Jackal Pup Name:Jackal Pup
ManaCost:R ManaCost:R
Types:Creature Hound Types:Creature Hound
Text:Whenever Jackal Pup is dealt damage, it deals that much damage to you. Text:no text
PT:2/1 PT:2/1
T:Mode$ DamageDone | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to you.
SVar:TrigDamage:AB$DealDamage | Cost$ 0 | NumDmg$ X | Defined$ You
SVar:Rarity:Uncommon SVar:Rarity:Uncommon
SVar:Picture:http://resources.wizards.com/magic/cards/te/en-us/card4825.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/jackal_pup.jpg
SetInfo:TMP|Uncommon|http://magiccards.info/scans/en/tp/183.jpg SetInfo:TMP|Uncommon|http://magiccards.info/scans/en/tp/183.jpg
End End

View File

@@ -0,0 +1,8 @@
Name:Mending Hands
ManaCost:W
Types:Instant
Text:no text
A:SP$ PreventDamage | Cost$ W | Tgt$ TgtCP | Amount$ 4 | SpellDescription$ Prevent the next 4 damage that would be dealt to target creature or player this turn.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/mending_hands.jpg
End

View File

@@ -1,9 +1,11 @@
Name:Shinka Gatekeeper Name:Shinka Gatekeeper
ManaCost:2 R ManaCost:2 R
Types:Creature Ogre Warrior Types:Creature Ogre Warrior
Text:Whenever Shinka Gatekeeper is dealt damage, it deals that much damage to you. Text:no text
PT:3/2 PT:3/2
T:Mode$ DamageDone | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to you.
SVar:TrigDamage:AB$DealDamage | Cost$ 0 | NumDmg$ X | Defined$ You
SVar:Rarity:Common SVar:Rarity:Common
SVar:Picture:http://resources.wizards.com/magic/cards/bok/en-us/card74099.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/shinka_gatekeeper.jpg
SetInfo:BOK|Common|http://magiccards.info/scans/en/bok/117.jpg SetInfo:BOK|Common|http://magiccards.info/scans/en/bok/117.jpg
End End

View File

@@ -0,0 +1,9 @@
Name:Split-Tail Miko
ManaCost:1 W
Types:Creature Fox Cleric
Text:no text
PT:1/1
A:AB$ PreventDamage | Cost$ W T | Tgt$ TgtCP | Amount$ 2 | SpellDescription$ Prevent the next 2 damage that would be dealt to target creature or player this turn.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/split_tail_miko.jpg
End

View File

@@ -2095,22 +2095,6 @@ public class GameActionUtil {
AllZone.Stack.addSimultaneousStackEntry(ability); AllZone.Stack.addSimultaneousStackEntry(ability);
}
if(affected.getName().equals("Jackal Pup") || affected.getName().equals("Shinka Gatekeeper")) {
final int selfDamage = damage;
Ability ability = new Ability(affected, "0") {
@Override
public void resolve() {
player.addDamage(selfDamage, affected);
}
};
StringBuilder sb = new StringBuilder();
sb.append(affected.getName()+" - Deals ").append(selfDamage).append(" damage to ").append(player);
ability.setStackDescription(sb.toString());
AllZone.Stack.addSimultaneousStackEntry(ability);
} }
if(source.getName().equals("Spiritmonger")) { if(source.getName().equals("Spiritmonger")) {