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/clif.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index 6c7fe0142..3b3f47a7c 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -10820,7 +10820,10 @@ void clif_parse_PMIgnoreList(int fd,struct map_session_data *sd) */ void clif_parse_NoviceDoriDori(int fd, struct map_session_data *sd) { int level; - sd->doridori_counter = 1; + + if ((sd->class_&MAPID_UPPERMASK) == MAPID_SUPER_NOVICE) + sd->doridori_counter++; + if ((sd->class_&MAPID_UPPERMASK) == MAPID_TAEKWON && sd->state.rest && (level = pc_checkskill(sd,TK_SPTIME))) sc_start(&sd->bl,SkillStatusChangeTable[TK_SPTIME],100,level,skill_get_time(TK_SPTIME, level)); -- cgit v1.2.3-70-g09d2