diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-09 18:13:06 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-09 18:13:06 -0300 |
commit | 9c7bc9144eaf91eaca08d46686eaa50d0804c940 (patch) | |
tree | 727f749777d6fef398b0314aeb4762d1c429d27a /npc/functions | |
parent | 3a0bc0a85b4165989266899f5bf46efee6a02e7e (diff) | |
download | serverdata-9c7bc9144eaf91eaca08d46686eaa50d0804c940.tar.gz serverdata-9c7bc9144eaf91eaca08d46686eaa50d0804c940.tar.bz2 serverdata-9c7bc9144eaf91eaca08d46686eaa50d0804c940.tar.xz serverdata-9c7bc9144eaf91eaca08d46686eaa50d0804c940.zip |
FIX THE PVP BUG
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/clientversion.txt | 6 | ||||
-rw-r--r-- | npc/functions/hub.txt | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 9108e9689..e4f6a034b 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -526,6 +526,12 @@ function script clientupdater { } // if ranking } + // Negative Karma = good. And positive karma allows PvP. So... + // sex ago 9 18:10:20 -03 201 + if (UPDATE < 1565385020) { + UPDATE=1565385020; + Karma=0; + } // #ADD_LVL means the user have to right to get some levels. This is a sketch. The code might be deleted. diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 553d0955a..eb535d9f6 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -117,7 +117,7 @@ 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; + //Karma+=1; sc_start SC_STUN, 15000, 1, 10000, SCFLAG_NOAVOID|SCFLAG_FIXEDTICK; addtimer(15000, "#mobptsys::OnUnlock"); percentheal -88, -100; |