irhaine / ro-rail

Automatically exported from code.google.com/p/ro-rail
0 stars 0 forks source link

Waiting for SP regen instead of prioritizing autoattack when low on SP #63

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Have a low level (20) Vanil with not enough remaining sp to cast a bolt

What is the expected outcome? What do you see instead?
Expected: Use autoattack on enemy
Instead: Vanil waits til sp regens and casts bolt

What revision of the product are you using?
208

What type of homunculus/mercenary are you using?
Vanilmirth

Please provide any additional information below.
This may not be an issue once the homunculus levels up and gains better sp regen

Original issue reported on code.google.com by just.cri...@gmail.com on 8 Aug 2011 at 3:11

GoogleCodeExporter commented 8 years ago
I can confirm this does indeed happen. I've read through the Wiki including 
State File Index and found no solution. I've been going over the code but I 
can't seem to find the problem.

The behaviour seems to be if a higher priority enemy comes near it will change 
target but if it has insufficient SP to cast it will stand there and be beaten 
on rather than attack the higher priority enemy.

Original comment by falcod...@gmail.com on 12 Sep 2011 at 2:16

GoogleCodeExporter commented 8 years ago
Upon further observation this bug seems to happen independently of priority

Original comment by falcod...@gmail.com on 12 Sep 2011 at 2:26

GoogleCodeExporter commented 8 years ago
Sorry for the triple post. Forgot to mention I am using no custom user 
interface and default settings apart from aggressive = true

Original comment by falcod...@gmail.com on 12 Sep 2011 at 2:27

GoogleCodeExporter commented 8 years ago
I have a temporary solution until either faithful comes back or I find the 
cause myself. 

Open the Skills.lua file in a text editor (Notepad++ is great).
Go to line 150 and change Range = 15, to Range = 1,
This will mean that Vanil can only cast at melee range but it does fix the 
issue for now

Original comment by falcod...@gmail.com on 12 Sep 2011 at 4:45