From 4741ca3c1f82b7c589a304bcda798c0970a02f95 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 30 Jul 2020 04:46:48 -0300 Subject: Allow GMs to de-auth themselves (@gmoff). Log their login and logout. Test Server GM auth for Kolchak --- npc/functions/util.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/functions/util.txt') 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)); -- cgit v1.2.3-60-g2f50