Closed Riveon closed 7 years ago
Yes, for retreat purposes I reversed my scaling calculations for mapping blink-to location resulting in a negative offset rather than a positive one, and as a result this makes them blink in the opposite direction.
For initiating purposes that should not happen as LC will blink directly to the targets current position vector.
I fixed it "blind", meaning I fixed and pushed the code without testing it. Hopefully it doesn't break anything.
Actually, while I fixed the scaling to be faster, it might not have been the issue as I was using Pythagorean calculation which makes absolute value anyways.
Okay, fixes to fixes, tested and pushed.
There seem to be issues with the calculation of blink direction, both for retreating when in danger, and initiating. In one case this led to LC getting stuck. Here are some examples: gfycat.com/VastEnergeticGermanpinscher ^After blinking, LC stayed here for three minutes even though she had blink and a tp (that wasn't on cd and that she had sufficient mana for). She finally teleported to her mid tier 2 tower once Dire started attacking it. gfycat.com/PopularYellowishAmethystgemclam gfycat.com/GrizzledBiodegradableBonobo (I'm guessing she intended to initiate here)
CsharpNoobDude pointed out in another thread: