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

Attack direction convention #8

Open
raymondben opened this issue May 17, 2022 · 1 comment
Open

Attack direction convention #8

raymondben opened this issue May 17, 2022 · 1 comment

Comments

@raymondben
Copy link
Member

End coord of an attack can either be the intended attack direction, or the actual end location (if e.g. deflected off the block). Need to consider which/how we accommodate.
There is already an option for attack_end, which by default is "actual" but can be set to "intended". The only difference this currently makes is that if it's "intended", then an attack scouted with a block touch will have its end coordinate recorded, but that coordinate is not assigned to the subsequent dig action if there is one (but it would be assigned if attack_end was "actual", because the dig was actually made from that point).

@ick003
Copy link
Member

ick003 commented May 18, 2022

I though about that a bit. Entering the coordinate as proxy for the cone direction s misleading tbh. Could we have a end coordinate reflecting the actual end coordinate, and a cone which is not calculated based on end coord? So in the attack popup (or more likely in the dig one) we could have another set of boxes, 'Cone 1', etc to reflect the intended direction...

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

No branches or pull requests

2 participants