summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-30 14:11:23 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-30 14:11:23 +0000
commitc3c791815f1a75df92a4a11bfb1f4410dc3c9d57 (patch)
tree6af9eba8445a5a462eff3a463587a687c0a78029 /src/map/unit.c
parentc8db14a97b3d3ba0d8a255e57d941968e265ef1c (diff)
downloadhercules-c3c791815f1a75df92a4a11bfb1f4410dc3c9d57.tar.gz
hercules-c3c791815f1a75df92a4a11bfb1f4410dc3c9d57.tar.bz2
hercules-c3c791815f1a75df92a4a11bfb1f4410dc3c9d57.tar.xz
hercules-c3c791815f1a75df92a4a11bfb1f4410dc3c9d57.zip
- Updated HLIF_CHANGE to work as explained by Tharis -> It now adds 30*lv vit and 20*lv int, is dispelled on warp, and can-act delay is 5+5*lv minutes. Hp/Sp is no longer set to 10 after a forced expiration.
- Added instant skill unblock in skill_[merc/pc]block_start when the duration passed is less than 1. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8547 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 8e34eca45..6881d487d 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1529,6 +1529,8 @@ int unit_remove_map(struct block_list *bl, int clrtype) {
status_change_end(bl, SC_CHASEWALK, -1);
if (sc->data[SC_GOSPEL].timer != -1 && sc->data[SC_GOSPEL].val4 == BCT_SELF)
status_change_end(bl, SC_GOSPEL, -1);
+ if (sc->data[SC_CHANGE].timer!=-1)
+ status_change_end(bl, SC_CHANGE, -1);
}
if (bl->type&BL_CHAR) {