diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-04 02:16:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-04 02:16:30 -0300 |
commit | 2d62b26e2666e29a2fdd032334cb3273f0b574c7 (patch) | |
tree | 96257526be3a19bae8eccf7543af360df95e0d75 /npc/functions | |
parent | eb5df20eefe886136c8f3bcf252caaee2bee50fe (diff) | |
download | serverdata-2d62b26e2666e29a2fdd032334cb3273f0b574c7.tar.gz serverdata-2d62b26e2666e29a2fdd032334cb3273f0b574c7.tar.bz2 serverdata-2d62b26e2666e29a2fdd032334cb3273f0b574c7.tar.xz serverdata-2d62b26e2666e29a2fdd032334cb3273f0b574c7.zip |
PVP Penalty: Lower karma (try to, it is buggy), stun killer, full heal killed.
It doesn't offer the option to change respawn point nor anything... yet.
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/hub.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 8632b3e0d..bf8df67ec 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -94,6 +94,7 @@ function script HUB_Logout { if (!getmapflag(.@mapa$, mf_pvp) && !getmapflag(.@mapa$, mf_pvp_noparty) && !getmapflag(.@mapa$, mf_pvpnoguild)) { recovery(getcharid(3)); warp .@mapa$, .@a, .@b; + percentheal 100, 100; dispbottom l("REVENGE TIME!"); .@trueid=getcharid(3); //detachrid(); @@ -104,6 +105,8 @@ function script HUB_Logout { sc_end SC_OVERLAPEXPUP; sc_start SC_OVERLAPEXPUP, 300000, -20; dispbottom l("For cowardingly killing in a \"secure\" area, you will be severely punished."); + Karma-=1; + sc_start SC_STUN, 15000, 1, 10000, SCFLAG_NOAVOID|SCFLAG_FIXEDTICK; addtimer(15000, "#mobptsys::OnUnlock"); percentheal -88, -100; detachrid(); |