summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-30 04:46:48 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-30 04:46:48 -0300
commit4741ca3c1f82b7c589a304bcda798c0970a02f95 (patch)
treeeb1e2e026c97a0826b7676c0ea0bec0ce5b87edc /npc/functions
parente61f12cd8365c3b0e1998110124b14ac59dfe1bd (diff)
downloadserverdata-4741ca3c1f82b7c589a304bcda798c0970a02f95.tar.gz
serverdata-4741ca3c1f82b7c589a304bcda798c0970a02f95.tar.bz2
serverdata-4741ca3c1f82b7c589a304bcda798c0970a02f95.tar.xz
serverdata-4741ca3c1f82b7c589a304bcda798c0970a02f95.zip
Allow GMs to de-auth themselves (@gmoff).
Log their login and logout. Test Server GM auth for Kolchak
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/util.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 95087455e..9c68d83af 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=$@MSK_COST[.@ski];
+ .@ap=getskilllv(.@ski)*$@MSK_COST[.@ski];
// Pre-requisite check
if (.@pre) {
@@ -789,7 +789,7 @@ function script learn_magic {
mesc l("%s %s will require:", .@learn$, getskillname(.@ski));
mes l("* %d/%d MSP (Magic Skill Points)", sk_points(), .@msp);
- //mes l("* %d/%d AP (???)", MAGIC_AP, .@ap);
+ mes l("* %d/%d RP (Research Points)", MAGIC_RP, .@ap);
if (countitem(.@it) < .@am) {
mesc l("~~%d/%d %s~~", countitem(.@it), .@am, getitemlink(.@it)), 8;
mes l("* %d/%d %s", countitem(ScholarshipBadge), 1, getitemlink(ScholarshipBadge));