From 8630d5ddbb8c544096ebd7e6f023c23e9d7e407d Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 7 Aug 2006 20:31:40 +0000 Subject: - Cleaned up the Asura code so that when the skill fails your SP/Spheres/Fury are all taken away always, as well as moving you next to the target (as long as the target still exists within a reachable path from your position) - SC_GUILDAURA is now removed on logout. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8175 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index 063c9ac34..7eace7b06 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1628,6 +1628,8 @@ int unit_free(struct block_list *bl) { status_change_end(bl,SC_BERSERK,-1); if(sd->sc.data[SC_TRICKDEAD].timer!=-1) status_change_end(bl,SC_TRICKDEAD,-1); + if(sd->sc.data[SC_GUILDAURA].timer!=-1) + status_change_end(bl,SC_GUILDAURA,-1); if (battle_config.debuff_on_logout&1) { if(sd->sc.data[SC_ORCISH].timer!=-1) status_change_end(bl,SC_ORCISH,-1); -- cgit v1.2.3-70-g09d2