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

Add avoidance calculation methods #37

Merged
merged 2 commits into from
Mar 31, 2024

Conversation

Swillis57
Copy link
Contributor

Pulls the avoidance calculations previously in spell_outcome out into methods on core.Unit so sims can access them without duplicating the math.

This doesn't include effects like increased miss chance or target dodge chance reduction on the attacker as combat table coverage is generally calculated using only effects on the defender and assuming an attacker level of player_level + 3. See https://wowpedia.fandom.com/wiki/CTC

@Swillis57 Swillis57 mentioned this pull request Mar 31, 2024
@rosenrusinov rosenrusinov merged commit e814bd1 into wowsims:master Mar 31, 2024
2 checks passed
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