- Fix Bug with Lead the Stampede being played by AI

This commit is contained in:
jendave
2011-08-07 00:16:04 +00:00
parent 7e5a35f0e4
commit 2ae162ce9e

View File

@@ -159,8 +159,8 @@ 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))