summaryrefslogtreecommitdiff
path: root/src/map/status.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/status.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/status.c')
-rw-r--r--src/map/status.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 0228ec367..adb35c32d 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -5358,13 +5358,6 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
case SC_GRAVITATION:
val2 = 50*val1; //aspd reduction
- if (val3 == BCT_SELF) {
- struct unit_data *ud = unit_bl2ud(bl);
- if (ud) {
- ud->canmove_tick += tick;
- ud->canact_tick += tick;
- }
- }
break;
case SC_HERMODE:
@@ -6171,13 +6164,6 @@ int status_change_end( struct block_list* bl , int type,int tid )
sc_start4(bl, SC_REGENERATION, 100, 10,0,0,(RGN_HP|RGN_SP),
skill_get_time(LK_BERSERK, sc->data[type].val1));
break;
- case SC_GRAVITATION:
- if (sc->data[type].val3 == BCT_SELF) {
- struct unit_data *ud = unit_bl2ud(bl);
- if (ud)
- ud->canmove_tick = ud->canact_tick = gettick();
- }
- break;
case SC_GOSPEL: //Clear the buffs from other chars.
if (sc->data[type].val3) { //Clear the group.
struct skill_unit_group *group = (struct skill_unit_group *)sc->data[type].val3;