From f38226b945e34683395ef272cb843f9f25d11031 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 19 Jul 2019 20:51:11 -0300 Subject: Update trickster --- npc/003-0/trickmaster.txt | 9 ++++++--- npc/functions/util.txt | 2 ++ 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'npc') diff --git a/npc/003-0/trickmaster.txt b/npc/003-0/trickmaster.txt index 21878cfbb..972ef6d48 100644 --- a/npc/003-0/trickmaster.txt +++ b/npc/003-0/trickmaster.txt @@ -4,11 +4,14 @@ // Description: // Trickmaster of Tricksters Class -003-0,40,30,0 script Trickmaster NPC_BLACKALCHEMIST,{ +003-0,40,30,0 script Trickmaster NPC_SITTED_NINJA,{ if (!MAGIC_LVL) goto L_NoMagic; + mes l(".:: Trickster Class ::."); + mesc l("Specialized in miscellaneous skills."); + next; mesn; - mesc l("You have @@/@@ magic skill points available", sk_points(), sk_maxpoints()); - mesc l("If the \"Learn\" button doesn't works, it means you cannot learn/upgrade the skill in question (or it is a bug)."); + mesc l("You have @@/@@ magic skill points available.", sk_points(), sk_maxpoints()); + mesc l("Trickster uses an experimental window, you might need to resize it to see all skills."); do { next; setskin "academy_trickster"; diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 51f366b4b..77d40e6d4 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -588,6 +588,8 @@ function script max_subclass { function script sk_maxpoints { // 2 points per magic level .@val=(MAGIC_LVL)*2; + // 1 point every twice magic level + .@val+=(MAGIC_LVL/2); // 1 point per skill permit level .@val+=getskilllv(TMW2_SKILLPERMIT); return .@val; -- cgit v1.2.3-70-g09d2