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

Escort Service one hex usage [bounty: 8 XTR] #2616

Open
DreadKnight opened this issue Aug 25, 2024 · 4 comments
Open

Escort Service one hex usage [bounty: 8 XTR] #2616

DreadKnight opened this issue Aug 25, 2024 · 4 comments
Labels
abilities The issue is related to an unit ability or more bounty Some amount of our token, XatteR, is offered coding This issue requires some programming input Deals with hotkeys, interaction & accessibility visuals Various things that easily catch the eye

Comments

@DreadKnight
Copy link
Member

Scavenger's Escort Service should work allowing to move the target unit even only one hexagon.

@DreadKnight DreadKnight added coding This issue requires some programming visuals Various things that easily catch the eye abilities The issue is related to an unit ability or more input Deals with hotkeys, interaction & accessibility bounty Some amount of our token, XatteR, is offered labels Aug 25, 2024
@DreadKnight DreadKnight added this to the 0.6 - Cyber Wolf milestone Aug 25, 2024
@sumukhj1219
Copy link

require() function:
The hexes.length < 1 check ensures the ability works even with one hex.
The filtering logic has been refined to handle the case when there is only one hex available.
activate() function:
The distance is now set to at least 1, ensuring minimal movement.
Movement points are deducted using Math.max(distance * trg.size, 1) to ensure at least one point is subtracted even for small moves.

@sumukhj1219
Copy link

can you assign it to me

@DreadKnight
Copy link
Member Author

can you assign it to me

@sumukhj1219 Sure things, go for it!

@DreadKnight
Copy link
Member Author

@sumukhj1219 Heya! Any progress with this one? Usually 2 weeks soft deadline 🐻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
abilities The issue is related to an unit ability or more bounty Some amount of our token, XatteR, is offered coding This issue requires some programming input Deals with hotkeys, interaction & accessibility visuals Various things that easily catch the eye
Projects
None yet
Development

No branches or pull requests

2 participants