From f38226b945e34683395ef272cb843f9f25d11031 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 19 Jul 2019 20:51:11 -0300 Subject: Update trickster --- db/constants.conf | 1 + npc/003-0/trickmaster.txt | 9 ++++++--- npc/functions/util.txt | 2 ++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/db/constants.conf b/db/constants.conf index 58c03213f..16d5c0522 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -4051,6 +4051,7 @@ constants_db: { NPC_GLASS_OLD_LADY: 211 NPC_BARD_TRUMP: 213 NPC_INJURIED_MOUBOO: 215 + NPC_SITTED_NINJA: 219 NPC_CRUSADER: 221 NPC_LOF_RICH: 223 NPC_BARD_DRUMS: 227 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-60-g2f50