diff options
author | Chuck Miller <shadowmil@gmail.com> | 2010-03-24 22:06:24 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2010-03-24 22:06:24 -0400 |
commit | c180a0016760557534e844f9f6f73b74aa492b0d (patch) | |
tree | a0763734237a1ab84adb45d3b2dba6a7bd7ddfc8 /src/map | |
parent | bf400032e3e3699c71cf4dc73a22a230a27cf837 (diff) | |
download | tmwa-c180a0016760557534e844f9f6f73b74aa492b0d.tar.gz tmwa-c180a0016760557534e844f9f6f73b74aa492b0d.tar.bz2 tmwa-c180a0016760557534e844f9f6f73b74aa492b0d.tar.xz tmwa-c180a0016760557534e844f9f6f73b74aa492b0d.zip |
Revert "Add new death penalty type (3) which takes a percentage of the player's zeny"
This reverts commit bf400032e3e3699c71cf4dc73a22a230a27cf837.
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/pc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index e5d7e08..8d1066d 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5929,17 +5929,9 @@ int pc_damage (struct block_list *src, struct map_session_data *sd, (double) sd->status.base_exp * (double) battle_config.death_penalty_base / 10000; } - if (battle_config.death_penalty_type == 3 - && battle_config.death_penalty_base > 0) - sd->status.zeny -= (double) sd->status.zeny * - (double) battle_config.death_penalty_base / 10000; - if (sd->status.base_exp < 0) sd->status.base_exp = 0; - if (sd->status.zeny < 0) - sd->status.zeny = 0; clif_updatestatus (sd, SP_BASEEXP); - clif_updatestatus (sd, SP_ZENY); if (battle_config.death_penalty_type == 1 && battle_config.death_penalty_job > 0) |