summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-11 15:27:58 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-11 15:27:58 -0300
commitdeccb766f9b556502375fe583458b03096941c6e (patch)
treed171fbeff9748ee7dc2097d54f2591cbaca424ac
parentefaca5a58f0510b70b453414276976168c832956 (diff)
downloadserverdata-deccb766f9b556502375fe583458b03096941c6e.tar.gz
serverdata-deccb766f9b556502375fe583458b03096941c6e.tar.bz2
serverdata-deccb766f9b556502375fe583458b03096941c6e.tar.xz
serverdata-deccb766f9b556502375fe583458b03096941c6e.zip
Simplify RP acquisition rules
-rw-r--r--npc/config/magic.txt7
1 files changed, 2 insertions, 5 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index d4c691830..41a3ce9d3 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -56,11 +56,8 @@ function script GetManaExp {
LAST_SKILL[2]=LAST_SKILL[1];
LAST_SKILL[1]=LAST_SKILL[0];
LAST_SKILL[0]=.@sk;
- skillInvoke[0]+=1;
-
- // Gain Magic RP if relevant
- if (skillInvoke[0] % 5 == 0)
- MAGIC_RP+=1;
+ MAGIC_RP+=1;
+ // Magic RP is gained by switching skills often
}
// Update Magic EXP