mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Minor update "SearchedLibrary"
- Added Melee
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -6670,6 +6670,7 @@ res/cardsfolder/m/meglonoth.txt svneol=native#text/plain
|
||||
res/cardsfolder/m/megrim.txt svneol=native#text/plain
|
||||
res/cardsfolder/m/meishin_the_mind_cage.txt svneol=native#text/plain
|
||||
res/cardsfolder/m/melancholy.txt svneol=native#text/plain
|
||||
res/cardsfolder/m/melee.txt -text
|
||||
res/cardsfolder/m/melek_izzet_paragon.txt -text
|
||||
res/cardsfolder/m/melesse_spirit.txt svneol=native#text/plain
|
||||
res/cardsfolder/m/melira_sylvok_outcast.txt -text
|
||||
|
||||
14
res/cardsfolder/m/melee.txt
Normal file
14
res/cardsfolder/m/melee.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
Name:Melee
|
||||
ManaCost:4 R
|
||||
Types:Instant
|
||||
A:SP$ DeclareCombatants | Cost$ 4 R | DeclareBlockers$ True | PlayerTurn$ True | ActivationPhases$ BeginCombat->Declare Attackers | SubAbility$ DBEffect | SpellDescription$ Cast CARDNAME only during your turn and only during combat before blockers are declared. You choose which creatures block this combat and how those creatures block. Whenever a creature attacks and isn't blocked this combat, untap it and remove it from combat.
|
||||
SVar:DBEffect:DB$ Effect | Triggers$ TrigAttack,TrigEndCombat | SVars$ RemoveEffect,TrigUntap,RemCombat
|
||||
SVar:TrigEndCombat:Mode$ Phase | Phase$ EndCombat | ValidPlayer$ You | TriggerZones$ Command | Execute$ RemoveEffect | Static$ True
|
||||
SVar:RemoveEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile
|
||||
SVar:TrigAttack:Mode$ AttackerUnblocked | ValidCard$ Creature | Execute$ TrigUntap | TriggerZones$ Command | TriggerDescription$ Whenever a creature attacks and isn't blocked this combat, untap it and remove it from combat.
|
||||
SVar:TrigUntap:AB$ Untap | Cost$ 0 | Defined$ TriggeredAttacker | SubAbility$ RemCombat
|
||||
SVar:RemCombat:DB$ RemoveFromCombat | Defined$ TriggeredAttacker
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/melee.jpg
|
||||
Oracle:Cast Melee only during your turn and only during combat before blockers are declared.\nYou choose which creatures block this combat and how those creatures block.\nWhenever a creature attacks and isn't blocked this combat, untap it and remove it from combat.
|
||||
SetInfo:ICE Uncommon
|
||||
@@ -1090,7 +1090,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
||||
origin = ZoneType.listValueOf(sa.getParam("Origin"));
|
||||
}
|
||||
|
||||
if(origin.contains(ZoneType.Library)) {
|
||||
if(origin.contains(ZoneType.Library) && !sa.hasParam("NoLooking")) {
|
||||
sa.getActivatingPlayer().incLibrarySearched();
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ public class ChangeZoneAllEffect extends SpellAbilityEffect {
|
||||
final ZoneType destination = ZoneType.smartValueOf(sa.getParam("Destination"));
|
||||
final List<ZoneType> origin = ZoneType.listValueOf(sa.getParam("Origin"));
|
||||
|
||||
if(origin.contains(ZoneType.Library)) {
|
||||
if(origin.contains(ZoneType.Library) && sa.hasParam("Search")) {
|
||||
sa.getActivatingPlayer().incLibrarySearched();
|
||||
}
|
||||
|
||||
|
||||
@@ -635,7 +635,7 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
|
||||
origin = ZoneType.listValueOf(sa.getParam("Origin"));
|
||||
}
|
||||
|
||||
if(origin.contains(ZoneType.Library)) {
|
||||
if(origin.contains(ZoneType.Library) && !sa.hasParam("NoLooking")) {
|
||||
sa.getActivatingPlayer().incLibrarySearched();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user