Combine Adventure docs (#9098)

This commit is contained in:
tool4ever
2025-11-06 19:19:58 +01:00
committed by GitHub
parent ec814fc706
commit c765769466
44 changed files with 132 additions and 250 deletions

View File

@@ -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