mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Added the keyword "CARDNAME can't be blocked by more than one creature."
- Added Charging Rhino.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -788,6 +788,7 @@ res/cardsfolder/char_rumbler.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/charcoal_diamond.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/charging_bandits.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/charging_paladin.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/charging_rhino.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/charging_slateback.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/charging_troll.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/chartooth_cougar.txt -text svneol=native#text/plain
|
||||
|
||||
9
res/cardsfolder/charging_rhino.txt
Normal file
9
res/cardsfolder/charging_rhino.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Charging Rhino
|
||||
ManaCost:3 G G
|
||||
Types:Creature Rhino
|
||||
Text:no text
|
||||
PT:4/4
|
||||
K:CARDNAME can't be blocked by more than one creature.
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/charging_rhino.jpg
|
||||
End
|
||||
@@ -2431,6 +2431,8 @@ public class Card extends MyObservable {
|
||||
else if (Property.startsWith("blocking")) { if(!isBlocking()) return false;}
|
||||
|
||||
else if (Property.startsWith("notblocking")) { if(isBlocking()) return false;}
|
||||
|
||||
else if (Property.startsWith("blocked")) { if(!AllZone.Combat.isBlocked(this)) return false;}
|
||||
|
||||
else if(Property.startsWith("named")) //by name
|
||||
{ if(!getName().equals(Property.substring(5))) return false;}
|
||||
|
||||
@@ -252,6 +252,9 @@ public class CombatUtil {
|
||||
if (attacker.getKeyword().contains("CARDNAME can't be blocked except by Walls and/or creatures with flying.") &&
|
||||
!(blocker.isType("Wall") || blocker.getKeyword().contains("Flying"))) return false;
|
||||
|
||||
if (attacker.getKeyword().contains("CARDNAME can't be blocked by more than one creature.")
|
||||
&& AllZone.Combat.getBlockers(attacker).size() > 0) return false;
|
||||
|
||||
if (blocker.getCounters(Counters.BRIBERY) > 0 && AllZoneUtil.isCardInPlay("Gwafa Hazid, Profiteer"))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user