diff options
Diffstat (limited to 'npc/config')
-rw-r--r-- | npc/config/magic.txt | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt index 21fb15e7f..7570d0e9c 100644 --- a/npc/config/magic.txt +++ b/npc/config/magic.txt @@ -44,13 +44,14 @@ function script GetManaExp { if (LAST_SKILL == .@sk) { .@pt=limit(0, (.@pt+.@bonus)/3, 1); .@bonus=0; + } else { + // Update skill memory + LAST_SKILL[4]=LAST_SKILL[3] + LAST_SKILL[3]=LAST_SKILL[2] + LAST_SKILL[2]=LAST_SKILL[1] + LAST_SKILL[1]=LAST_SKILL[0] + LAST_SKILL[0]=.@sk; } - // Update skill memory - LAST_SKILL[4]=LAST_SKILL[3] - LAST_SKILL[3]=LAST_SKILL[2] - LAST_SKILL[2]=LAST_SKILL[1] - LAST_SKILL[1]=LAST_SKILL[0] - LAST_SKILL[0]=.@sk; // Update Magic EXP MAGIC_EXP=MAGIC_EXP+.@pt+.@bonus; |