summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-05 17:57:37 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-05 17:57:37 +0000
commitbabf9653c5dd6ec37bc859665d3becf114962afc (patch)
treeb910604c67110ee501d4b3a0b36fb99c473c1da2 /src/map/clif.c
parentd99c0313edbb4bd24172f825b7d621ad620ec7d1 (diff)
downloadhercules-babf9653c5dd6ec37bc859665d3becf114962afc.tar.gz
hercules-babf9653c5dd6ec37bc859665d3becf114962afc.tar.bz2
hercules-babf9653c5dd6ec37bc859665d3becf114962afc.tar.xz
hercules-babf9653c5dd6ec37bc859665d3becf114962afc.zip
- /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
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c5
1 files changed, 4 insertions, 1 deletions
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));