From b7698400488152e78ec80d3c3ce9c3ed8a8850bd Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 1 Aug 2020 06:07:49 -0300 Subject: Bugs %%i --- npc/functions/clientversion.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'npc/functions/clientversion.txt') diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 3e6b11830..a9e740a2b 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -909,6 +909,20 @@ function script clientupdater { skill(TMW2_SPEECH, .@x, 0); dispbottom l("AFK skill levels fixed."); } + // Magic RP bugfix + // sáb ago 1 05:45:00 BRT 2020 + if (UPDATE < 1596271500) { + UPDATE=1596271500; + for (.@i=0; .@i < getarraysize($@MSK_MAGIC) ; .@i++) { + if (getskilllv($@MSK_MAGIC[.@i]) > 1) { + .@msp=max(0, getskilllv(@menuret)-5); + MAGIC_PTS-=.@msp; + skill $@MSK_MAGIC[.@i], 1, 0; + dispbottom l("%s removed - YOU NOOB STOP CHEATING %%e%%Q", + getskillname($@MSK_MAGIC[.@i]), .@msp); + } + } + } // :// End of Regular Update System //////////////////////////////////// -- cgit v1.2.3-70-g09d2