enjine 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -1
- data/lib/enjine/engine.rb +4 -0
- data/lib/enjine/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fde1590b396d19e899c2fb1c3a4d84f16696a43f4dc45fe07c8ca9fc6bf8a01c
|
|
4
|
+
data.tar.gz: 553667205ce6cb1ab14866e0f0e7cfa2c34102182460e7a09e352cff4adcb9be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c358469569ae3e2fc717e932202be9cf2602011074ed4e17f9a2f5fcf6511260f4270047ffcad69befb15649a4f56a9efeec4bcf27d34a035cb24c87832bf1f
|
|
7
|
+
data.tar.gz: 58bb47820eb19f73b97b3cf16d35f50e68eb8d0f20b7d41e32bbda2d11fc5338dda5193159deed98388047bf24efabd9b8428680d4b8b0b3b09508022f3b0a48
|
data/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,15 @@ change the public API; the stable surface is described in
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [0.6.1] - 2026-11-29
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- A static ability whose condition or bonus reads this turn's history applied one event late (CR 604.2, 611.3a,
|
|
15
|
+
613.4c): recording a permanent entering or a creature attacking reads characteristics, so the layer pass ran on the
|
|
16
|
+
history from before the entry and stayed cached. "As long as a land entered the battlefield under your control this
|
|
17
|
+
turn", "as long as a creature entered ...", celebration (two or more nonland permanents entered) and "as long as you
|
|
18
|
+
attacked with a creature this turn" (mid-declaration) now apply as the permanent enters or the attacker is declared.
|
|
19
|
+
|
|
11
20
|
## [0.6.0] - 2026-11-28
|
|
12
21
|
|
|
13
22
|
### Added
|
|
@@ -307,7 +316,8 @@ Includes 0.4.0, which was tagged but never published to RubyGems.
|
|
|
307
316
|
- `enjine` CLI: hot-seat and random play, `--validate`, `--verify`,
|
|
308
317
|
`--random-deck`, save and load.
|
|
309
318
|
|
|
310
|
-
[Unreleased]: https://github.com/thisiscetin/enjine/compare/v0.6.
|
|
319
|
+
[Unreleased]: https://github.com/thisiscetin/enjine/compare/v0.6.1...HEAD
|
|
320
|
+
[0.6.1]: https://github.com/thisiscetin/enjine/compare/v0.6.0...v0.6.1
|
|
311
321
|
[0.6.0]: https://github.com/thisiscetin/enjine/compare/v0.5.0...v0.6.0
|
|
312
322
|
[0.5.0]: https://github.com/thisiscetin/enjine/compare/v0.4.1...v0.5.0
|
|
313
323
|
[0.4.1]: https://github.com/thisiscetin/enjine/compare/v0.4.0...v0.4.1
|
data/lib/enjine/engine.rb
CHANGED
|
@@ -22,6 +22,10 @@ module Enjine
|
|
|
22
22
|
def emit(event)
|
|
23
23
|
touch! if volatile_layers? || Characteristics::LAYER_EVENTS.include?(event.class)
|
|
24
24
|
record_history!(event) # before triggers look at it (see Engine::TurnHistory)
|
|
25
|
+
# Recording reads characteristics (the types a permanent entered or attacked with), so a layer pass may have
|
|
26
|
+
# run on the history as it was before this event. A static whose condition or bonus reads this turn's history
|
|
27
|
+
# ("as long as a land entered under your control this turn") must see the new entry (CR 604.2, 611.3a, 613.4c).
|
|
28
|
+
touch! if volatile_layers?
|
|
25
29
|
@emit.call(event)
|
|
26
30
|
watch_triggers!(event)
|
|
27
31
|
check_crime!(event) # CR 700.13 (Engine::Crimes)
|
data/lib/enjine/version.rb
CHANGED