mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-11 16:26:22 +00:00
Combine Adventure docs (#9098)
This commit is contained in:
@@ -124,13 +124,11 @@ public abstract class ManifestBaseAi extends SpellAbilityAi {
|
||||
return new AiAbilityDecision(100, AiPlayDecision.WillPlay);
|
||||
}
|
||||
|
||||
if ( MyRandom.getRandom().nextFloat() < .8) {
|
||||
if (MyRandom.getRandom().nextFloat() < .8) {
|
||||
// 80% chance to play a Manifest spell
|
||||
return new AiAbilityDecision(100, AiPlayDecision.WillPlay);
|
||||
} else {
|
||||
// 20% chance to not play a Manifest spell
|
||||
return new AiAbilityDecision(0, AiPlayDecision.CantPlayAi);
|
||||
}
|
||||
return new AiAbilityDecision(0, AiPlayDecision.CantPlayAi);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user