summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-11 12:50:47 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-11 12:50:47 -0300
commit40f92e35f93d6b773766a93bd7c8c5513b79ab58 (patch)
treeb2073247d0bcf179fa958bb22a1d7b7840b8f040
parent32f8d43e398e7a8e7ff6981bc483cfd3ab3c643f (diff)
downloadserverdata-40f92e35f93d6b773766a93bd7c8c5513b79ab58.tar.gz
serverdata-40f92e35f93d6b773766a93bd7c8c5513b79ab58.tar.bz2
serverdata-40f92e35f93d6b773766a93bd7c8c5513b79ab58.tar.xz
serverdata-40f92e35f93d6b773766a93bd7c8c5513b79ab58.zip
Mana Stone basic implementation
-rw-r--r--db/constants.conf1
-rw-r--r--npc/009-5/_import.txt1
-rw-r--r--npc/009-5/manastone.txt52
3 files changed, 54 insertions, 0 deletions
diff --git a/db/constants.conf b/db/constants.conf
index a8cbf6608..f15ba78ce 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -3974,6 +3974,7 @@ constants_db: {
NPC_SOUL_OLD: 705
NPC_SOUL_MOSS: 706
NPC_SOUL_CURSED: 707
+ NPC_MANA_STONE: 708
NPC_TEST1: 800
NPC_PLAYER: 801
diff --git a/npc/009-5/_import.txt b/npc/009-5/_import.txt
index 431712f5d..a589c9d37 100644
--- a/npc/009-5/_import.txt
+++ b/npc/009-5/_import.txt
@@ -2,3 +2,4 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/009-5/_mobs.txt",
"npc/009-5/_warps.txt",
+"npc/009-5/manastone.txt",
diff --git a/npc/009-5/manastone.txt b/npc/009-5/manastone.txt
new file mode 100644
index 000000000..55fd811c1
--- /dev/null
+++ b/npc/009-5/manastone.txt
@@ -0,0 +1,52 @@
+// TMW2 Script
+// Author:
+// Jesusalva
+// Description:
+// TODO
+
+009-5,0,0,0 script Mana Stone NPC_MANA_STONE,{
+
+ if (BaseLevel < 40) goto L_NotWorthy;
+ hello;
+ end;
+
+L_NotWorthy:
+ percentheal -70+BaseLevel, -100+BaseLevel;
+ npctalk3 "You are not worthy!";
+ end;
+
+OnInit:
+ movenpc .name$, rand(200), rand(200);
+ .sex = G_OTHER;
+ .distance = 5;
+ end;
+
+OnClock0030:
+OnClock0120:
+OnClock0210:
+OnClock0300:
+OnClock0450:
+OnClock0540:
+OnClock0630:
+OnClock0720:
+OnClock0810:
+OnClock0900:
+OnClock1050:
+OnClock1140:
+OnClock1230:
+OnClock1320:
+OnClock1410:
+OnClock1500:
+OnClock1650:
+OnClock1740:
+OnClock1830:
+OnClock1920:
+OnClock2010:
+OnClock2100:
+OnClock2250:
+OnClock2340:
+ movenpc .name$, rand(200), rand(200);
+ npctalk l("Those who are worthy, may get my magic. For the others, death awaits!");
+ end;
+
+}