diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-10-15 12:58:13 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-10-15 12:58:13 -0300 |
commit | d149026186c1bd9eb3c24cc95168faa9bd15f2d7 (patch) | |
tree | 53e49769533ccf36d3b89ed68ac7add03b43c79b /npc/config | |
parent | aebbb0dcf6e38ed0d57c6a5b6c3c275f96e362de (diff) | |
download | serverdata-d149026186c1bd9eb3c24cc95168faa9bd15f2d7.tar.gz serverdata-d149026186c1bd9eb3c24cc95168faa9bd15f2d7.tar.bz2 serverdata-d149026186c1bd9eb3c24cc95168faa9bd15f2d7.tar.xz serverdata-d149026186c1bd9eb3c24cc95168faa9bd15f2d7.zip |
Fix typo
Diffstat (limited to 'npc/config')
-rw-r--r-- | npc/config/magic.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt index 8cc777c99..4192d5bee 100644 --- a/npc/config/magic.txt +++ b/npc/config/magic.txt @@ -57,14 +57,14 @@ function script GetManaExp { LAST_SKILL[1]=LAST_SKILL[0]; LAST_SKILL[0]=.@sk; skillInvoke[0]+=1; + + // Gain Magic RP if relevant + if (skillInvoke[0] % 10 == 0) + MAGIC_RP+=1; } // Update Magic EXP MAGIC_EXP=MAGIC_EXP+.@pt+.@bonus; - - // Gain Magic RP if relevant - if (skillInvoke[0] % 10 == 0) - MAGIC_RP+=1; return; } |