From 471eeea2f896b96fd76bbe0f285e7cad1ab76060 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 4 May 2006 18:21:21 +0000 Subject: - All KA-spells are interruptable. - Added a temporary SI_RUN state. Actual value needs to be found... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6469 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 6 ++---- src/map/status.h | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/map/status.c b/src/map/status.c index 279d2e5f3..2dd28505e 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -239,7 +239,7 @@ void initChangeTables(void) { set_sc(PF_FOGWALL, SC_FOGWALL, SI_BLANK); set_sc(PF_SPIDERWEB, SC_SPIDERWEB, SI_BLANK); set_sc(WE_BABY, SC_BABY, SI_BLANK); - set_sc(TK_RUN, SC_RUN, SI_BLANK); + set_sc(TK_RUN, SC_RUN, SI_RUN); set_sc(TK_RUN, SC_SPURT, SI_SPURT); set_sc(TK_READYSTORM, SC_READYSTORM, SI_READYSTORM); set_sc(TK_READYDOWN, SC_READYDOWN, SI_READYDOWN); @@ -3202,8 +3202,6 @@ int status_get_size(struct block_list *bl) nullpo_retr(1, bl); switch (bl->type) { case BL_MOB: - if (((struct mob_data *)bl)->sc.data[SC_SWOO].timer != -1) // [marquis007] - return 0; return ((struct mob_data *)bl)->db->size; case BL_PET: return ((struct pet_data *)bl)->db->size; @@ -5339,7 +5337,7 @@ int status_change_end( struct block_list* bl , int type,int tid ) clif_changeoption(bl); if (sd && calc_flag) - status_calc_pc((struct map_session_data *)bl,0); /* ステ?タス再計算 */ + status_calc_pc(sd,0); } return 1; diff --git a/src/map/status.h b/src/map/status.h index ad3053df1..e625bbc07 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -341,6 +341,7 @@ enum { SI_READYTURN = 139, SI_READYCOUNTER = 141, SI_DODGE = 143, + SI_RUN = 144, SI_SPURT = 145, SI_SHADOWWEAPON = 146, SI_ADRENALINE2 = 147, -- cgit v1.2.3-70-g09d2