summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-07 20:31:40 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-07 20:31:40 +0000
commit8630d5ddbb8c544096ebd7e6f023c23e9d7e407d (patch)
tree51be561862466e0923395295c07751d9a7bcb6d3 /src/map/unit.c
parentcceac7bc951fbde646d4e9ce5dcf1e855fb9e336 (diff)
downloadhercules-8630d5ddbb8c544096ebd7e6f023c23e9d7e407d.tar.gz
hercules-8630d5ddbb8c544096ebd7e6f023c23e9d7e407d.tar.bz2
hercules-8630d5ddbb8c544096ebd7e6f023c23e9d7e407d.tar.xz
hercules-8630d5ddbb8c544096ebd7e6f023c23e9d7e407d.zip
- 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
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 2 insertions, 0 deletions
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);