While using distance weapons (spears, bows etc.) and walking at the same time, player doesn't attack. To shoot any distance weapon, you have to stop first and not move. No problems with melee weapons. Any ideas how could I fix that, or solutions?
-- SOLUTION --
Thanks very much to fla5h for solution:
Edit weapons.xml (\data\weapons), add swing="yes" attribute(?) to lines like this:
From: <distance id="3965" level="20" event="function" value="default"/> <!-- Hunting Spear -->
To: <distance id="3965" level="20" swing="yes" event="function" value="default"/> <!-- Hunting Spear -->
For different ids (bolts/spears) just add/edit some on your own.
-- SOLUTION --
Thanks very much to fla5h for solution:
Edit weapons.xml (\data\weapons), add swing="yes" attribute(?) to lines like this:
From: <distance id="3965" level="20" event="function" value="default"/> <!-- Hunting Spear -->
To: <distance id="3965" level="20" swing="yes" event="function" value="default"/> <!-- Hunting Spear -->
For different ids (bolts/spears) just add/edit some on your own.
Last edited: