Skip to content

Commit

Permalink
Fixed a typo in a documentation string.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kodiologist committed Sep 11, 2024
1 parent 05991ad commit 992e556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simalq/tile/monster.hy
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@
:!shot-frequency (f/ 4 5)
:act (meth []
(doc f"Coward — If the monster is within {@flee-range} squares of you, it flees (per `Approach` in reverse). Otherwise, if it has line of sight to you (ignoring all obstacles) it adds {@shot-frequency} to its shot power. If this is ≥1, it subtracts 1 to shoot you. Otherwise, it wanders (per `Wander`).")
(doc f"Coward — If the monster is within {@flee-range} squares of you, it flees (per `Approach` in reverse). Otherwise, if it has line of sight to you (ignoring all obstacles), it adds {@shot-frequency} to its shot power. If this is ≥1, it subtracts 1 to shoot you. Otherwise, it wanders (per `Wander`).")
(when (and
(<= (dist G.player.pos @pos) @flee-range)
Expand Down

0 comments on commit 992e556

Please sign in to comment.