summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-30 04:50:29 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-30 04:50:29 -0300
commit5222cd33e5c0ef582659041f5c5eb1b4472f70c9 (patch)
tree80d7f2c65b9c08290e9561b44fb1fd377d51474e /npc/functions/util.txt
parent4741ca3c1f82b7c589a304bcda798c0970a02f95 (diff)
downloadserverdata-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.txt2
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) {