diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-07-30 04:50:29 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-07-30 04:50:29 -0300 |
commit | 5222cd33e5c0ef582659041f5c5eb1b4472f70c9 (patch) | |
tree | 80d7f2c65b9c08290e9561b44fb1fd377d51474e /npc/functions/util.txt | |
parent | 4741ca3c1f82b7c589a304bcda798c0970a02f95 (diff) | |
download | serverdata-5222cd33e5c0ef582659041f5c5eb1b4472f70c9.tar.gz serverdata-5222cd33e5c0ef582659041f5c5eb1b4472f70c9.tar.bz2 serverdata-5222cd33e5c0ef582659041f5c5eb1b4472f70c9.tar.xz serverdata-5222cd33e5c0ef582659041f5c5eb1b4472f70c9.zip |
Rules for Research Points
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r-- | npc/functions/util.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 9c68d83af..10073c715 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -763,7 +763,7 @@ function script learn_magic { .@it=$@MSK_ITEM[.@ski]; .@am=$@MSK_AMOUNT[.@ski]; .@msp=$@MSK_MSPCOST[.@ski]; - .@ap=getskilllv(.@ski)*$@MSK_COST[.@ski]; + .@ap=$@MSK_COST[.@ski]**((getskilllv(.@ski)+1)/2)-1+getskilllv(.@ski); // Pre-requisite check if (.@pre) { |