summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-19 20:51:11 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-19 20:51:11 -0300
commitf38226b945e34683395ef272cb843f9f25d11031 (patch)
treeec56712001b3453a68a511d9b551226bf2439b75 /npc
parent953c069c44b444dece2a6c28600d562c9ac6684b (diff)
downloadserverdata-f38226b945e34683395ef272cb843f9f25d11031.tar.gz
serverdata-f38226b945e34683395ef272cb843f9f25d11031.tar.bz2
serverdata-f38226b945e34683395ef272cb843f9f25d11031.tar.xz
serverdata-f38226b945e34683395ef272cb843f9f25d11031.zip
Update trickster
Diffstat (limited to 'npc')
-rw-r--r--npc/003-0/trickmaster.txt9
-rw-r--r--npc/functions/util.txt2
2 files changed, 8 insertions, 3 deletions
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;