- Added Ichorclaw Myr. - Fixed a bug with the Whenever keyword that triggered multiple times on a creature with "Whenever CARDNAME becomes blocked, ...".

This commit is contained in:
jendave
2011-08-06 08:19:53 +00:00
parent 214c3e3c41
commit e04fb2695a
3 changed files with 12 additions and 2 deletions

1
.gitattributes vendored
View File

@@ -1783,6 +1783,7 @@ res/cardsfolder/icatian_priest.txt -text svneol=native#text/plain
res/cardsfolder/icatian_scout.txt -text svneol=native#text/plain
res/cardsfolder/ice_storm.txt -text svneol=native#text/plain
res/cardsfolder/ichor_slick.txt -text svneol=native#text/plain
res/cardsfolder/ichorclaw_myr.txt -text svneol=native#text/plain
res/cardsfolder/icy_manipulator.txt -text svneol=native#text/plain
res/cardsfolder/identity_crisis.txt -text svneol=native#text/plain
res/cardsfolder/idyllic_tutor.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,9 @@
Name:Ichorclaw Myr
ManaCost:2
Types:Artifact Creature Myr
Text:no text
PT:1/1
K:Infect
K:WheneverKeyword:BecomesBlocked:Self:Play:StatsPumpEOT/2/2:Self:ASAP:No_Condition:No Special Condition:Whenever Ichorclaw Myr becomes blocked, it gets +2/+2 until end of turn.
SVar:Rarity:Common
End

View File

@@ -2190,8 +2190,8 @@ public class CombatUtil {
public static void checkBlockedAttackers(Card a, Card b) {
//System.out.println(a.getName() + " got blocked by " + b.getName());
AllZone.GameAction.CheckWheneverKeyword(a,"BecomesBlocked",null);
if(!a.getCreatureGotBlockedThisCombat())
AllZone.GameAction.CheckWheneverKeyword(a,"BecomesBlocked",null);
if(!a.getCreatureGotBlockedThisCombat()) {
for(Ability ab:CardFactoryUtil.getBushidoEffects(a))