Changes between Initial Version and Version 1 of Ticket #1537, comment 1


Ignore:
Timestamp:
Aug 5, 2012, 1:46:24 PM (12 years ago)
Author:
wraitii

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1537, comment 1

    initial v1  
    22It's sort of linked to the problem of two units with the same walking speed chasing each other possibly indefinitely.
    33
    4 The melee problem is at line 842 of UnitAI.js, it checks after the "Timer" if the attacker is still in range. Only the attacker stopped moving.
     4The melee problem is at line 842 of UnitAI.js, it checks after the "Timer" if the attacker is still in range. Only the attacker stopped moving and the target not, so the attacker is out of range. Rinse, repeat.
    55To fix this problem, we could either make the attacked unit stop, or allow a unit to attack while walking.
    66