summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorMichieru <Michieru@users.noreply.github.com>2014-10-25 18:14:59 +0200
committerMichieru <Michieru@users.noreply.github.com>2014-10-25 18:14:59 +0200
commita5c0636f74a2177839aec9153b542afd8c36850a (patch)
treebf4f9b1e09113b4a3bcd6b02b705b3b2e9980ae2 /src/map/unit.c
parent3e1fe0d3842aab1c85f4dfd8e3533ca6631fc4e5 (diff)
downloadhercules-a5c0636f74a2177839aec9153b542afd8c36850a.tar.gz
hercules-a5c0636f74a2177839aec9153b542afd8c36850a.tar.bz2
hercules-a5c0636f74a2177839aec9153b542afd8c36850a.tar.xz
hercules-a5c0636f74a2177839aec9153b542afd8c36850a.zip
Sight Blaster and other skill fixes, magic reflect, crash, trap display and monster behavior fixes
- Fixed cast time of Sightrasher in pre-renewal (700ms -> 500ms) - Official Sight Blaster behavior (bugreport:6945, partially bugreport:144) * Sight Blaster's AoE is now 3x3 even in pre-renewal (it was originally larger so it hits traps before they trigger) * Sight Blaster will now prevent traps from triggering as long as they are knocked back * Fixed a bug that caused Sight Blaster to not work on traps and ice walls at all * Sight Blaster will no longer expire when the attack was reflected * Sight Blaster will now expire when hitting an ice wall * Sight Blaster will now properly protect you from being attacked from its AoE range - Sight, Ruwach and Sight Blaster will now check for a target every 20ms (previously every 250ms) - Step action will now be canceled when being knocked back (skills won't be executed anymore when knocked out of range) - When knock back magic is reflected it will no longer lead to the caster being knocked back (related to bugreport:6945) - Activated traps can no longer be hit - Fixed a problem that left "trap ghosts" forever on the screen when a trap was knocked out of the screen - Monster behavior fixes * Monsters will no longer be able to do normal attacks when hiding * If out of any reason a monster on "attack" state can't move and can't do normal attacks, it will now use "attack" state skills * The order of monster thought processing is now equal to official servers - Fixed some potential map server crashes Mega thanks to Playtester (rathena b88e95381d6a7)
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index e99b9f2a1..b4653df00 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -795,6 +795,7 @@ int unit_blown(struct block_list* bl, int dx, int dy, int count, int flag)
}
if( sd ) {
+ unit->stop_stepaction(bl); //Stop stepaction when knocked back
sd->ud.to_x = nx;
sd->ud.to_y = ny;
}