summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-29 16:36:17 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-29 16:36:17 +0000
commit1e4cfc9c161efa98ff9a9b53538a8263075921f8 (patch)
tree0c153019883ac50705374abc9d35ef032abdaee6 /src/map/status.c
parentca1b74a373e9487e7eefe6f58af0c2453d038baa (diff)
downloadhercules-1e4cfc9c161efa98ff9a9b53538a8263075921f8.tar.gz
hercules-1e4cfc9c161efa98ff9a9b53538a8263075921f8.tar.bz2
hercules-1e4cfc9c161efa98ff9a9b53538a8263075921f8.tar.xz
hercules-1e4cfc9c161efa98ff9a9b53538a8263075921f8.zip
- Updated ASC_BREAKER's range to 9.
- Removed speed penalty from SC_SKA - Fixed SC_SPURT triggering on Soul Linkers. - SC_DODGE won't be dispelled on death now. - Removed Undead being inmune to poison status. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6823 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/map/status.c b/src/map/status.c
index ab391e092..13106ccd6 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -317,7 +317,7 @@ void initChangeTables(void) {
add_sc(SL_STUN, SC_STUN);
set_sc(SL_SWOO, SC_SWOO, SI_BLANK, SCB_SPEED);
set_sc(SL_SKE, SC_SKE, SI_BLANK, SCB_BATK|SCB_WATK|SCB_DEF|SCB_DEF2);
- set_sc(SL_SKA, SC_SKA, SI_BLANK, SCB_DEF|SCB_MDEF|SCB_SPEED|SCB_ASPD);
+ set_sc(SL_SKA, SC_SKA, SI_BLANK, SCB_DEF|SCB_MDEF|SCB_ASPD);
set_sc(SL_SMA, SC_SMA, SI_SMA, SCB_NONE);
set_sc(ST_PRESERVE, SC_PRESERVE, SI_PRESERVE, SCB_NONE);
set_sc(PF_DOUBLECASTING, SC_DOUBLECAST, SI_DOUBLECAST, SCB_NONE);
@@ -2986,8 +2986,6 @@ static unsigned short status_calc_speed(struct block_list *bl, struct status_cha
speed += speed * 25/100;
if(sc->data[SC_STEELBODY].timer!=-1)
speed += speed * 25/100;
- if(sc->data[SC_SKA].timer!=-1)
- speed += speed * 25/100;
if(sc->data[SC_QUAGMIRE].timer!=-1)
speed += speed * 50/100;
if(sc->data[SC_DONTFORGETME].timer!=-1)
@@ -3836,11 +3834,6 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
//Check for inmunities / sc fails
switch (type) {
- case SC_POISON:
- case SC_DPOISON:
- if (undead_flag && !(flag&1))
- return 0; //Undead inmune to poison. Thanks to orn [Skotlex]
- break;
case SC_FREEZE:
case SC_STONE:
//Undead are inmune to Freeze/Stone
@@ -5059,7 +5052,8 @@ int status_change_clear(struct block_list *bl,int type)
(type == 0 && (
i == SC_EDP || i == SC_MELTDOWN || i == SC_XMAS || i == SC_NOCHAT ||
i == SC_FUSION || i == SC_TKREST || i == SC_READYSTORM ||
- i == SC_READYDOWN || i == SC_READYCOUNTER || i == SC_READYTURN
+ i == SC_READYDOWN || i == SC_READYCOUNTER || i == SC_READYTURN ||
+ i == SC_DODGE
)))
continue;
@@ -5148,7 +5142,7 @@ int status_change_end( struct block_list* bl , int type,int tid )
if (sc->data[type].val1 >= 7 &&
DIFF_TICK(gettick(), sc->data[type].val4) <= 1000 &&
(!sd || (sd->weapontype1 == 0 && sd->weapontype2 == 0 &&
- (sd->class_&MAPID_BASEMASK) != MAPID_SOUL_LINKER))
+ (sd->class_&MAPID_UPPERMASK) != MAPID_SOUL_LINKER))
)
sc_start(bl,SC_SPURT,100,sc->data[type].val1,skill_get_time2(StatusSkillChangeTable[type], sc->data[type].val1));
}