mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Fix Bug with Lead the Stampede being played by AI
This commit is contained in:
@@ -159,9 +159,9 @@ public class AbilityFactory_Reveal {
|
||||
return false;
|
||||
|
||||
//currently to restrict everything except Mulch
|
||||
if(!params.get("ChangeNum").equalsIgnoreCase("All")) return false;
|
||||
String changeNum = params.get("ChangeNum");
|
||||
if (changeNum != null && !changeNum.equalsIgnoreCase("All")) return false;
|
||||
|
||||
|
||||
double chance = .4; // 40 percent chance with instant speed stuff
|
||||
if (AbilityFactory.isSorcerySpeed(sa))
|
||||
chance = .667; // 66.7% chance for sorcery speed (since it will never activate EOT)
|
||||
|
||||
Reference in New Issue
Block a user