mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Converted Chalice of the Void to script.
- Removed some redundant SVars.
This commit is contained in:
@@ -117,7 +117,7 @@ public class GameActionUtil {
|
||||
playCard_Ripple(c);
|
||||
playCard_Storm(sa);
|
||||
|
||||
playCard_Chalice_of_the_Void(c);
|
||||
//playCard_Chalice_of_the_Void(c);
|
||||
playCard_Vengevine(c);
|
||||
playCard_Demigod_of_Revenge(c);
|
||||
playCard_Standstill(c);
|
||||
|
||||
@@ -279,7 +279,12 @@ public class AbilityFactory_Counters {
|
||||
if (!(type.equals("P1P1") || type.equals("ICE")) && r.nextFloat() < .1 * currCounters)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
//Don't use non P1P1/M1M1 counters before main 2 if possible
|
||||
if(AllZone.Phase.isBefore(Constant.Phase.Main2) && !params.containsKey("ActivatingPhases")
|
||||
&& !(type.equals("P1P1") || type.equals("M1M1")) )
|
||||
return false;
|
||||
|
||||
Ability_Sub subAb = sa.getSubAbility();
|
||||
if (subAb != null)
|
||||
chance &= subAb.chkAI_Drawback();
|
||||
|
||||
@@ -1365,7 +1365,7 @@ public class CardFactory implements NewConstants {
|
||||
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
|
||||
/*
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Chalice of the Void")) {
|
||||
Command intoPlay = new Command() {
|
||||
@@ -1378,7 +1378,7 @@ public class CardFactory implements NewConstants {
|
||||
};
|
||||
card.addComesIntoPlayCommand(intoPlay);
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
*/
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if (cardName.equals("Aluren")) {
|
||||
|
||||
Reference in New Issue
Block a user