diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-05 17:57:37 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-05 17:57:37 +0000 |
commit | babf9653c5dd6ec37bc859665d3becf114962afc (patch) | |
tree | b910604c67110ee501d4b3a0b36fb99c473c1da2 /src/map/clif.c | |
parent | d99c0313edbb4bd24172f825b7d621ad620ec7d1 (diff) | |
download | hercules-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.c | 5 |
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));
|