diff options
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r-- | npc/functions/util.txt | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt index a7606ceed..e18a56ac5 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -783,15 +783,12 @@ function script learn_magic { // Skill level check if (getskilllv(.@ski)) { - // MSP is free for: 1, 3, 5, 7, 9 - // MSP discount if: 2, 4 - // MSP incides upon: 6, 8, 10 - if (getskilllv(.@ski) % 2 != 0) - .@msp=0; - else if (getskilllv(.@ski) > 5) - .@msp=1; - // else: 100% MSP .@learn$=l("Upgrading"); + // New MSP ruleset + if (getskilllv(.@ski) > 5) + .@msp = 1; + else + .@msp = 0; } else if (.@msp <= 1) { // 1 MSP skills take no Research Points .@ap=0; |