From 87918ef1f39120aef109098277044a2ed31c724d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 27 Mar 2018 08:38:41 -0300 Subject: Initial Magic System redesign (WIP) --- npc/003-1/jakod.txt | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) (limited to 'npc/003-1/jakod.txt') diff --git a/npc/003-1/jakod.txt b/npc/003-1/jakod.txt index 6d5a35b24..0c343a621 100644 --- a/npc/003-1/jakod.txt +++ b/npc/003-1/jakod.txt @@ -1,22 +1,40 @@ +// TMW2 script. // Author: // Saulc +// Jesusalva +// Description: +// Jakod replaces Luca. As there are no focus skills, Jakod teaches player about +// magic and is their tutor on the matters of the Mana Stone. -003-1,62,76,0 script Jakod NPC_PLAYER,{ +003-1,109,129,0 script Jakod NPC_PLAYER,{ -hello; + mesn; + if (BaseLevel < 40) mesq l("Hello there. I am looking for strong people, but you are not strong enough."); + if (BaseLevel < 40) close; + if (getskilllv(SM_BASH) >= 1) mesq l("Are you using my skill?"); + if (getskilllv(SM_BASH) >= 1) close; + if (!is_staff()) mesq l("Hey, you're strong! Congratulations!"); + if (!is_staff()) close; + mesq l("Hey, you are strong! But still, so, so GREEN! You're PATHETIC! I mean, look your skill list! Empty!"); + next; + // The last argument is duration: 0 - permanent 1- temporary. If omitted, defaults to 1. + skill(SM_BASH,1,0); + mesq l("Here, learn the ##BFalkon Punch##b. It is on Physical skills tab. You can drag it to the shortcut list. Thanks me later, man!"); + close; OnInit: .@npcId = getnpcid(0, .name$); setunitdata(.@npcId, UDT_HEADTOP, NPCEyes); - setunitdata(.@npcId, UDT_HEADMIDDLE, SilkRobe); - setunitdata(.@npcId, UDT_HEADBOTTOM, CottonTrousers); - setunitdata(.@npcId, UDT_WEAPON, LousyMoccasins); // Boots - setunitdata(.@npcId, UDT_HAIRSTYLE, 24); - setunitdata(.@npcId, UDT_HAIRCOLOR, 2); + setunitdata(.@npcId, UDT_HEADMIDDLE, ForestArmor); + setunitdata(.@npcId, UDT_HEADBOTTOM, JeansShorts); + setunitdata(.@npcId, UDT_WEAPON, DeepBlackBoots); + setunitdata(.@npcId, UDT_HAIRSTYLE, 14); + setunitdata(.@npcId, UDT_HAIRCOLOR, 13); + //setunitdata(.@npcId, UDT_HAIRSTYLE, 24); + //setunitdata(.@npcId, UDT_HAIRCOLOR, 2); .sex = G_MALE; - .distance = 5; + .distance = 3; end; } - -- cgit v1.2.3-60-g2f50