aboutsummaryrefslogtreecommitdiff
path: root/rules/en/rules.md
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-01-12 23:04:44 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2023-01-12 23:04:44 +0100
commit1a1ee228569a0a495c501c8d323d193698ebd95c (patch)
tree67b9da328b47094be5990f6aeb3612916803b6f7 /rules/en/rules.md
parent2766732f5e3c1852b390b2f3f688f358d921f3d9 (diff)
downloadmuhqs-game-1a1ee228569a0a495c501c8d323d193698ebd95c.tar.gz
muhqs-game-1a1ee228569a0a495c501c8d323d193698ebd95c.zip
rules: actually add condition to range statement
Diffstat (limited to 'rules/en/rules.md')
-rw-r--r--rules/en/rules.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/en/rules.md b/rules/en/rules.md
index 2ee69364..cf90ac3c 100644
--- a/rules/en/rules.md
+++ b/rules/en/rules.md
@@ -228,7 +228,7 @@ While you control an untapped permanent or have a playable card in hand
* **Ranges** have a origin
* **Ranges** have a radius `r`
* **Ranges** with the radius `r` include all **tiles** which are reachable with `r` **steps** from the origin, counting each second diagonal **step** twice
-* More precisely: a **tile** (x, y), where x and y are relative to the its origin (0, 0), is in the **range** r iff $$x > y$$ and $$abs(x) + floor(abs(y) / 2)$$ else $$abs(y) + floor(abs(x) / 2)$$
+* More precisely: a **tile** (x, y), where x and y are relative to the its origin (0, 0), is in the **range** r iff $$x > y$$ and $$abs(x) + floor(abs(y) / 2) <= r$$ else $$abs(y) + floor(abs(x) / 2) <= r$$
* *Adjacent* is a common Abbreviation for "in **range** 1"
## Step