diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-04 18:21:21 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-04 18:21:21 +0000 |
commit | 471eeea2f896b96fd76bbe0f285e7cad1ab76060 (patch) | |
tree | d3778111774f1d52c78e23de7a04df5e123dcc77 /src | |
parent | 11c193241c6b1b45814ac8c4fb44842da9a42e46 (diff) | |
download | hercules-471eeea2f896b96fd76bbe0f285e7cad1ab76060.tar.gz hercules-471eeea2f896b96fd76bbe0f285e7cad1ab76060.tar.bz2 hercules-471eeea2f896b96fd76bbe0f285e7cad1ab76060.tar.xz hercules-471eeea2f896b96fd76bbe0f285e7cad1ab76060.zip |
- 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
Diffstat (limited to 'src')
-rw-r--r-- | src/map/status.c | 6 | ||||
-rw-r--r-- | src/map/status.h | 1 |
2 files changed, 3 insertions, 4 deletions
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,
|