From babf9653c5dd6ec37bc859665d3becf114962afc Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 5 May 2006 17:57:37 +0000 Subject: - /doridori now won't double the HP/SP regen of TKs, it only activates their "happy" state. - Added the -50 hit penalty when standing on Wall of Fog. - Cleaned up status_calc_mdef2 - Uncommented the status_calc_mdef2 call in status_calc_pc. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6491 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index 00f606051..ddf9a244e 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -6817,7 +6817,7 @@ static int pc_natural_heal_sp(struct map_session_data *sd) if(sd->nshealsp > 0) { if(sd->inchealsptick >= battle_config.natural_heal_skill_interval && sd->status.sp < sd->status.max_sp) { - if(sd->doridori_counter && (sd->class_&MAPID_UPPERMASK) == MAPID_SUPER_NOVICE) { + if(sd->doridori_counter) { bonus = sd->nshealsp*2; sd->doridori_counter = 0; } else @@ -6858,12 +6858,6 @@ static int pc_spirit_heal_hp(struct map_session_data *sd) if(sd->inchealspirithptick >= interval) { bonus_hp = sd->nsshealhp; - if(sd->doridori_counter && pc_checkskill(sd,TK_HPTIME) > 0) { - //TK_HPTIME doridori provided bonus [Dralnu] - bonus_hp += sd->nsshealhp; - if (!sd->nsshealsp) //If there's sp regen, this gets clear in the next function. [Skotlex] - sd->doridori_counter = 0; - } while(sd->inchealspirithptick >= interval) { if(pc_issit(sd)) { sd->inchealspirithptick -= interval; @@ -6904,11 +6898,6 @@ static int pc_spirit_heal_sp(struct map_session_data *sd) if(sd->inchealspiritsptick >= interval) { bonus_sp = sd->nsshealsp; - if(sd->doridori_counter && pc_checkskill(sd,TK_SPTIME) > 0) { - //TK_SPTIME doridori provided bonus [Dralnu] - bonus_sp += sd->nsshealsp; - sd->doridori_counter = 0; - } while(sd->inchealspiritsptick >= interval) { if(pc_issit(sd)) { sd->inchealspiritsptick -= interval; -- cgit v1.2.3-60-g2f50