From 4e66ea28ae7dadf8204472891754fbfbce8c195f Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Thu, 1 Jan 2009 09:26:00 +0000 Subject: alter death penalties so novices are affected --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2