From aebbb0dcf6e38ed0d57c6a5b6c3c275f96e362de Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 15 Oct 2020 12:57:26 -0300 Subject: ***NEW*** Now every 10 skill use (regardless of skill type), you'll gain 1 RP (regardless of use). Repeating the same skill will NOT yield extra RP. --- npc/config/magic.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/npc/config/magic.txt b/npc/config/magic.txt index 39de8ac48..8cc777c99 100644 --- a/npc/config/magic.txt +++ b/npc/config/magic.txt @@ -56,10 +56,15 @@ function script GetManaExp { LAST_SKILL[2]=LAST_SKILL[1]; LAST_SKILL[1]=LAST_SKILL[0]; LAST_SKILL[0]=.@sk; + skillInvoke[0]+=1; } // Update Magic EXP MAGIC_EXP=MAGIC_EXP+.@pt+.@bonus; + + // Gain Magic RP if relevant + if (skillInvoke[0] % 10 == 0) + MAGIC_RP+=1; return; } -- cgit v1.2.3-60-g2f50