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

Updated Base ranged range and MS #877

Merged
merged 4 commits into from
Jul 8, 2024

Conversation

adocoD
Copy link
Contributor

@adocoD adocoD commented Jul 7, 2024

Hunter melee and ranged only had a difference of 3 yds. It should actually be 7.

Hunter range to boss gets calculated from edge of hitbox. Since melee range in the sim is 5 (4+1), ranged would be 12 (4+8).

Movement speed was also incorrect , so changed it to 7yd per second.

@adocoD adocoD changed the title Updated Base melee range and MS Updated Base ranged range and MS Jul 7, 2024
sim/core/unit.go Outdated Show resolved Hide resolved
@@ -56,7 +56,7 @@ func (hunter *Hunter) getAimedShotConfig(rank int, timer *core.Timer) core.Spell
},
},
ExtraCastCondition: func(sim *core.Simulation, target *core.Unit) bool {
return hunter.DistanceFromTarget >= 8
return hunter.DistanceFromTarget >= 12
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could pull this out into a constant value in sim/core/constants? core.MinRangedAttackDistance

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added constant for both MaxMeleeAttackDistance and MinRangedAttackDistance

@kayla-glick kayla-glick merged commit 6ae85d5 into wowsims:master Jul 8, 2024
1 check 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