fix auto attack range after cast

This commit is contained in:
2025-01-18 10:01:46 +09:00
parent 8ebae0d866
commit ed6394354e
2 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ export default class Entity {
const timestamp = this.game?.currentTick ?? 0
if (lastCast != null && lastCast + cooldown > timestamp) { return false }
this.castAction('a', cursor, false)
this.castAction('a', target.id, false)
return true
}
}