fix auto attack range after cast
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user