Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use built-in wesnoth [effect] for alignment and max_attacks #589

Merged
merged 1 commit into from
Jul 15, 2023

Conversation

Discontinuum
Copy link
Contributor

This is the first patch about #577 making alignment and max_attacks using built-in wesnoth.effect implementation. Vision stays the old way for now, I need to test more how it will work in older replays

Code in stats.lua for handling the old way still stays to support legacy replays.

Also a subtle addition to ensure vision can't go negative from items decreasing vision
@Dugy Dugy merged commit a13fd6d into Dugy:master Jul 15, 2023
@Dugy
Copy link
Owner

Dugy commented Jul 15, 2023

This simplifies things a little bit.

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