FreezingMoon / AncientBeast

The Turn Based Strategy Game/eSport. Master your beasts! 🐺
https://AncientBeast.com
GNU Affero General Public License v3.0
1.69k stars 589 forks source link

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

Open DreadKnight opened 3 months ago

DreadKnight commented 3 months ago

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

sumukhj1219 commented 2 months ago

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 commented 2 months ago

can you assign it to me

DreadKnight commented 2 months ago

can you assign it to me

@sumukhj1219 Sure things, go for it!

DreadKnight commented 2 months ago

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