Skip to content

Commit

Permalink
Fix bonus tooltip, nerf AI rng vision with fickle/tornado/trick
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Feb 29, 2024
1 parent b38bd96 commit c85bfd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/rs/src/aisearch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ fn scancore(ctx: &Game, depth: i32, candy: &mut Candidate, limit: &mut u32, cmd:
| &[Skill::mutation]
| &[Skill::improve]
| &[Skill::hatch]
| &[Skill::fickle]
| &[Skill::tornado]
| &[Skill::trick]
) || ctx.hasskill(id, Event::Shield, Skill::randomdr)
|| ctx.hasskill(id, Event::OwnPlay, Skill::mutant)
{
Expand Down
2 changes: 1 addition & 1 deletion src/views/Result.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ export default function Result(props) {
/>
)}
<div style="position:absolute;left:8px;top:258px">
<div>{tooltip() || ' '}</div>
<div style="white-space:pre">{tooltip}</div>
{lefttext}
</div>
</>
Expand Down

0 comments on commit c85bfd4

Please sign in to comment.