summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-27 14:58:50 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-27 14:58:50 +0000
commit32ebbcf88520ef77425c0b2408ba36c40c3c9aaa (patch)
tree57ed8c019a56b4ab7d2b531007856fe40e876267 /src/map/unit.c
parente5516cf57ab6852557eac30f3c056b90dfe59b1d (diff)
downloadhercules-32ebbcf88520ef77425c0b2408ba36c40c3c9aaa.tar.gz
hercules-32ebbcf88520ef77425c0b2408ba36c40c3c9aaa.tar.bz2
hercules-32ebbcf88520ef77425c0b2408ba36c40c3c9aaa.tar.xz
hercules-32ebbcf88520ef77425c0b2408ba36c40c3c9aaa.zip
- Corrected KiriKage's range so it works correctly when used by non-players or when use weapon's range is used.
- Changed service for you's flags so it affects all players on range. - Corrected the skill animation for Absorb Spirits - Cleaned up a bit the implementation of how Gravity Field blocks the caster from moving. - Mob class-changing will fail if the new class is the same as the previous one. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9325 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 6e3c66288..0d5fb5b71 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -699,6 +699,7 @@ int unit_can_move(struct block_list *bl)
|| (sc->data[SC_CLOAKING].timer != -1 && //Need wall at level 1-2
sc->data[SC_CLOAKING].val1 < 3 && !(sc->data[SC_CLOAKING].val4&1))
|| sc->data[SC_MADNESSCANCEL].timer != -1
+ || (sc->data[SC_GRAVITATION].timer != -1 && sc->data[SC_GRAVITATION].val3 == BCT_SELF)
))
return 0;
}