AncientBeast icon indicating copy to clipboard operation
AncientBeast copied to clipboard

Escort service unavailable bug

Open decker757 opened this issue 2 months ago • 3 comments

Fix Escort Service Availability Bug

I am not sure if this is the fix you're looking for, but it resolves the premature cooldown issue I was experiencing. This fixes #2802

Problem

Escort Service ability becomes unavailable even when Scavenger has movement points remaining. This happens intermittently after moving around the map.

Root Cause

getEscortUsableHexes() was calling getFlyingRange() with incorrect parameters:

  • Used combined size (4) instead of Scavenger's size (2)
  • Used modified x position instead of actual position
  • This caused getFlyingRange to return hexes on wrong rows
  • All hexes were filtered out, resulting in usableHexes.length = 0

Solution

  • Use Scavenger's actual position: crea.x, crea.y
  • Use Scavenger's size: crea.size
  • This returns hexes on the correct row where the ability can be used

Testing

See ESCORT_SERVICE_FIX.md for detailed before/after comparison and testing instructions.

https://streamable.com/svz8rc [before patch - cooldown was premature] https://streamable.com/avm0yu [after patch - cooldown is correct]

Video links expire in 2 days (30th October where I am from)

decker757 avatar Oct 28 '25 04:10 decker757

@decker757 is attempting to deploy a commit to the FreezingMoon Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Oct 28 '25 04:10 vercel[bot]

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
ancientbeast Ready Ready Preview Oct 30, 2025 4:42am

vercel[bot] avatar Oct 30 '25 04:10 vercel[bot]

@decker757 "Testing" = all dead links. Rather upload previews here. That link to the MD file is also broken.

I've tested a bit, works better than current master, but still bumped into a bug: Scavenger turn starts in front of Knightmare = can't use Escort Service 🐻 Screenshot_20251030_064503

Same goes with turn start in front of Headless Screenshot_20251030_064750 And if flying in front of Knightmare, still not usable. So it needs more testing and work.

DreadKnight avatar Oct 30 '25 04:10 DreadKnight