summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-01-01 09:26:00 +0000
committerJared Adams <jaxad0127@gmail.com>2009-01-01 09:27:14 +0000
commit4e66ea28ae7dadf8204472891754fbfbce8c195f (patch)
tree347f526c19c3adc19946285fc65f3cdd5d5ce4d8 /src
parentef1cac570726f59c821ebafd1980302c0035d3ce (diff)
downloadtmwa-4e66ea28ae7dadf8204472891754fbfbce8c195f.tar.gz
tmwa-4e66ea28ae7dadf8204472891754fbfbce8c195f.tar.bz2
tmwa-4e66ea28ae7dadf8204472891754fbfbce8c195f.tar.xz
tmwa-4e66ea28ae7dadf8204472891754fbfbce8c195f.zip
alter death penalties so novices are affected
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 0d9e1ff..e07245d 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5109,7 +5109,7 @@ int pc_damage(struct block_list *src,struct map_session_data *sd,int damage)
}
if(battle_config.death_penalty_type>0) { // changed penalty options, added death by player if pk_mode [Valaris]
- if(sd->status.class != 0 && !map[sd->bl.m].flag.nopenalty && !map[sd->bl.m].flag.gvg){ // only novices will recieve no penalty
+ if(!map[sd->bl.m].flag.nopenalty && !map[sd->bl.m].flag.gvg){ // only novices will recieve no penalty
if(battle_config.death_penalty_type==1 && battle_config.death_penalty_base > 0)
sd->status.base_exp -= (double)pc_nextbaseexp(sd) * (double)battle_config.death_penalty_base/10000;
if(battle_config.pk_mode && src && src->type==BL_PC)