[svn] Earth's Eye and Meditation esp
Posted: Mon Sep 17, 2012 12:25 am
Mediation is supposed to let you see enemies in a small radius when Earth's Eyes is known. However, the radius is much larger than it's supposed to be. The problem seems to come from line 143 of Actor.lua (from _M:init()):
A quick check on the Lua console shows esp_range to be 13 when it's supposed to be 3. Because the default range is 10, Meditation's esp_range is added to that. Changing the default range to 0 would break several artifacts which grant esp, though. I'm not sure what a good solution would be since there are several kinds of esp, but they all seem to share the one common range variable.
Edit: Perhaps instead of setting the esp.type to 1 to enable it and checking a separate range variable, the esp.type could be set to its effective range. The variable esp_range could be done away with altogether. Of course, artifacts and egos would all have to be properly fixed to work with the new method.
Code: Select all
t.esp_range = t.esp_range or 10
Edit: Perhaps instead of setting the esp.type to 1 to enable it and checking a separate range variable, the esp.type could be set to its effective range. The variable esp_range could be done away with altogether. Of course, artifacts and egos would all have to be properly fixed to work with the new method.