From 2d62b26e2666e29a2fdd032334cb3273f0b574c7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 4 Aug 2019 02:16:30 -0300 Subject: 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. --- npc/functions/hub.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'npc/functions') 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(); -- cgit v1.2.3-70-g09d2