这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ashleynewson
Copy link
Contributor

The editor's resource value calculation logic was fixed in #21820 to match actual gameplay. The map generator logic originally copied the editor logic from EditorResourceLayer rather than ResourceLayer and associated game logic. As such, it inherited incorrect calculations.

This change updates the map generator logic to match the now consistent logic in both ResourceLayer classes. Map generator resource settings are also adjusted -25% to continue roughly matching the previous resource output.

The editor's resource value calculation logic was fixed in OpenRA#21820 to
match actual gameplay. The map generator logic originally copied the
editor logic from EditorResourceLayer rather than ResourceLayer and
associated game logic. As such, it inherited incorrect calculations.

This change updates the map generator logic to match the now
consistent logic in both ResourceLayer classes. Map generator resource
settings are also adjusted -25% to continue roughly matching the
previous resource output.
@ashleynewson
Copy link
Contributor Author

We could potentially consider merging the 3 implementation copies into one authoritative source, probably in ResourceLayer. I didn't feel it proportionate to refactor that deeply in this PR, however.

@PunkPun PunkPun merged commit 4a4217c into OpenRA:bleed Apr 30, 2025
2 checks passed
@PunkPun
Copy link
Member

PunkPun commented Apr 30, 2025

changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants