diff options
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r-- | npc/functions/clientversion.txt | 14 |
1 files changed, 14 insertions, 0 deletions
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 //////////////////////////////////// |