Commit 73c389f
fix: AreaEffect.total_value reads the MINVAL-clamped levels, not the raw field
Java's getTotalValue calls getLevels(), and GenericObject.getLevels
(GenericObject.java:1996-2002) floors at minVal — AOE's template states
MINVAL="1", so a document that writes LEVELS="0" (kirby-api's Inferna
fixture does) still prices a 1m radius instead of raising log(0).
Same defect class as Modifier.total_value, fixed yesterday.
1724 passed; corpus parity unchanged.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PrVDXgpDfQpzEGErZTLjEs1 parent 58c346e commit 73c389f
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
101 | 107 | | |
102 | 108 | | |
103 | 109 | | |
104 | 110 | | |
105 | | - | |
| 111 | + | |
106 | 112 | | |
107 | 113 | | |
108 | 114 | | |
| |||
0 commit comments