diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-03-27 08:38:41 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-03-27 08:38:41 -0300 |
commit | 87918ef1f39120aef109098277044a2ed31c724d (patch) | |
tree | 647a240f8a3cfd8967d6ba0ec865eab8f898fb37 /npc/003-1 | |
parent | 1c2208cb88f4ddc10a52b2a505b022d6596ce722 (diff) | |
download | serverdata-87918ef1f39120aef109098277044a2ed31c724d.tar.gz serverdata-87918ef1f39120aef109098277044a2ed31c724d.tar.bz2 serverdata-87918ef1f39120aef109098277044a2ed31c724d.tar.xz serverdata-87918ef1f39120aef109098277044a2ed31c724d.zip |
Initial Magic System redesign (WIP)
Diffstat (limited to 'npc/003-1')
-rw-r--r-- | npc/003-1/_import.txt | 1 | ||||
-rw-r--r-- | npc/003-1/jakod.txt | 36 | ||||
-rw-r--r-- | npc/003-1/luca.txt | 36 |
3 files changed, 27 insertions, 46 deletions
diff --git a/npc/003-1/_import.txt b/npc/003-1/_import.txt index f1c18c0d4..ac8b4ee3e 100644 --- a/npc/003-1/_import.txt +++ b/npc/003-1/_import.txt @@ -16,7 +16,6 @@ "npc/003-1/jakod.txt", "npc/003-1/jerican.txt", "npc/003-1/lieutenantdausen.txt", -"npc/003-1/luca.txt", "npc/003-1/mahoud.txt", "npc/003-1/malivox.txt", "npc/003-1/mariusthebard.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; } - diff --git a/npc/003-1/luca.txt b/npc/003-1/luca.txt deleted file mode 100644 index b51553bde..000000000 --- a/npc/003-1/luca.txt +++ /dev/null @@ -1,36 +0,0 @@ -// TMW2 script. -// Author: -// Saulc -// Jesusalva -// Description: -// Luca assings player a class. This may end up contradicting races, so expect core changes! - -003-1,109,129,0 script Luca NPC_PLAYER,{ - - 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, ForestArmor); - setunitdata(.@npcId, UDT_HEADBOTTOM, JeansShorts); - setunitdata(.@npcId, UDT_WEAPON, DeepBlackBoots); - setunitdata(.@npcId, UDT_HAIRSTYLE, 14); - setunitdata(.@npcId, UDT_HAIRCOLOR, 13); - - .sex = G_MALE; - .distance = 3; - end; -} |