diff options
Diffstat (limited to 'npc/config/magic.txt')
-rw-r--r-- | npc/config/magic.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt index b5845b07d..21fb15e7f 100644 --- a/npc/config/magic.txt +++ b/npc/config/magic.txt @@ -45,7 +45,14 @@ function script GetManaExp { .@pt=limit(0, (.@pt+.@bonus)/3, 1); .@bonus=0; } - LAST_SKILL=.@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; return; } |