diff options
author | wushin <pasekei@gmail.com> | 2016-04-22 09:12:21 -0500 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2016-04-22 09:12:40 -0500 |
commit | 0bced72906ec8d78f656bf6d1462fa8cd85b9da2 (patch) | |
tree | a9f0fd8002354efecbdf84da821e30b994b61ce5 /src | |
parent | 8489de74ecca371c3e99c0dcff14c9ad96ee749b (diff) | |
download | tmwa-0bced72906ec8d78f656bf6d1462fa8cd85b9da2.tar.gz tmwa-0bced72906ec8d78f656bf6d1462fa8cd85b9da2.tar.bz2 tmwa-0bced72906ec8d78f656bf6d1462fa8cd85b9da2.tar.xz tmwa-0bced72906ec8d78f656bf6d1462fa8cd85b9da2.zip |
Make PvP use Resave
closes themanaworld/tmwa-server-data#478
Diffstat (limited to 'src')
-rw-r--r-- | src/map/pc.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp index d2cc12c..d65297b 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -3339,16 +3339,11 @@ int pc_damage(dumb_ptr<block_list> src, dumb_ptr<map_session_data> sd, sd->pvp_point -= 5; if (src && src->bl_type == BL::PC) src->is_player()->pvp_point++; - pc_setdead(sd); } // 強制送還 if (sd->pvp_point < 0) { sd->pvp_point = 0; - pc_setstand(sd); - pc_setrestartvalue(sd, 3); - pc_setpos(sd, sd->status.save_point.map_, sd->status.save_point.x, - sd->status.save_point.y, BeingRemoveWhy::GONE); } } |