summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-02 14:19:56 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-02 14:19:56 +0000
commitd90b2e20d916b9539060dcdb33d13bb41aa1bb89 (patch)
treef6779bc22680926c01a73fb2e69d74f0d2991452 /src/map/skill.c
parentc465de040071d547c25af3856683d3a137832e8e (diff)
downloadhercules-d90b2e20d916b9539060dcdb33d13bb41aa1bb89.tar.gz
hercules-d90b2e20d916b9539060dcdb33d13bb41aa1bb89.tar.bz2
hercules-d90b2e20d916b9539060dcdb33d13bb41aa1bb89.tar.xz
hercules-d90b2e20d916b9539060dcdb33d13bb41aa1bb89.zip
- Renamed nopenalty mapflag to noexppenalty. Using nopenalty will turn on/off both noexppenalty and nozenypenalty now.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8915 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index fd86c929b..c8aeb689f 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3327,7 +3327,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
}
skill_area_temp[0] = 5 - skill_area_temp[0]; // The actual penalty...
- if (skill_area_temp[0] > 0 && !map[src->m].flag.nopenalty) { //Apply penalty
+ if (skill_area_temp[0] > 0 && !map[src->m].flag.noexppenalty) { //Apply penalty
sd->status.base_exp -= pc_nextbaseexp(sd) * skill_area_temp[0] * 2/1000; //0.2% penalty per each.
sd->status.job_exp -= pc_nextjobexp(sd) * skill_area_temp[0] * 2/1000;
clif_updatestatus(sd,SP_BASEEXP);