Looking4Group / L4G_Core

Looking4Group Core
http://looking4group.eu
GNU General Public License v2.0
37 stars 69 forks source link

Feared Movement Speed(Spell compoment) #2402

Open Xadras opened 8 years ago

Xadras commented 8 years ago

feared npc(maybe even player, didnt test it) is runing like a fucking usain bolt they are fast as fuck, they should be way slower... idk its retarded somehow, first it goes slow, then it runs and then it goes slow again

Just adding, that this behavior against players works only sometimes.. sometimes they run as they should, sometimes they just enable Usain Bolt mode and run.

Xadras commented 8 years ago

Confused Movement Generator (Sheep, New Issue):

good video to see that confused random generator should check even faster as it does atm making the path even better. ( not fear, fear is fleeing movement generator )

https://www.youtube.com/watch?v=bx-55IH-T98 https://www.youtube.com/watch?v=XUsbfuysUvM https://www.youtube.com/watch?v=aQJJvF5yUS0

https://www.youtube.com/watch?v=mF72EQ27yeA

I really would like to have more/explicite information on feared/confused movement to do apropriate changes to the core movement calculation. there might be an approach to fix wall/groundfear/blind too in these files in other cores.

#!c++
/*
https://github.com/Looking4Group/L4G_Core/blob/master/src/game/ConfusedMovementGenerator.cpp
https://github.com/Looking4Group/L4G_Core/blob/master/src/game/ConfusedMovementGenerator.h
*/

https://bitbucket.org/Xadras/tbcpvp/commits/46861d2d17a1106ce4a9dd36608e52f92fedb90c
#!c++
/*
https://github.com/Looking4Group/L4G_Core/blob/master/src/game/FleeingMovementGenerator.cpp
https://github.com/Looking4Group/L4G_Core/blob/master/src/game/FleeingMovementGenerator.h
*/
Xadras commented 8 years ago

I think this is what happens if the points align in a row so the unit doesnt have to stop to for a cut of path.


http://wow.gamepedia.com/index.php?title=Fear_effect&direction=next&oldid=2903064

All Fear effects also increase the afflicted target's run speed by 25%, making it harder to catch feared targets. When using Fear effects on flag carriers in battlegrounds such as Warsong Gulch, this can occasionally have the effect of accelerating their progress across the field.

http://db.looking4group.eu/?spell=10890

Apply Aura: Mod Speed Value: 25 Radius: 8 yards, Speed Increase by 25% for feared Units.


So if the 25% is added correctly, the speed has to be right, so this is then all about the pathing making this invalid.

https://www.youtube.com/watch?v=me-7MUIBVNY