summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-27 21:45:46 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-27 21:45:46 +0300
commita28f73288e92ff07165698f9c6b94bdeed0bb6c9 (patch)
treef18df13ada2c602f1953cc47a70f6922f5550f39 /npc
parent7387baf4746d4e7d00a177912eb4cac3ea066e61 (diff)
downloadserverdata-a28f73288e92ff07165698f9c6b94bdeed0bb6c9.tar.gz
serverdata-a28f73288e92ff07165698f9c6b94bdeed0bb6c9.tar.bz2
serverdata-a28f73288e92ff07165698f9c6b94bdeed0bb6c9.tar.xz
serverdata-a28f73288e92ff07165698f9c6b94bdeed0bb6c9.zip
Add testing mercenary and add it mercenary creation to testing npc.
Diffstat (limited to 'npc')
-rw-r--r--npc/test/npc1.txt22
1 files changed, 21 insertions, 1 deletions
diff --git a/npc/test/npc1.txt b/npc/test/npc1.txt
index 45d3b50c..959154da 100644
--- a/npc/test/npc1.txt
+++ b/npc/test/npc1.txt
@@ -27,7 +27,7 @@ test,10,10,0 script npc1 NPC_TEST1,3,3,{
}
L_Start:
- switch (select("show area", "map", "pc", "change npc direction", "quest test", "cart", "items", "chat", "wall", "craft", "hashtable", "instance"))
+ switch (select("show area", "map", "pc", "change npc direction", "quest test", "cart", "items", "chat", "wall", "craft", "hashtable", "instance", "mercenary"))
{
case 1:
areatest;
@@ -526,6 +526,26 @@ L_Start:
}
}
break;
+ case 13:
+ while(1)
+ {
+ switch (select("create mercenary for 10 seconds", "create mercenary for 1 min", "create mercenary for 10 min", "back"))
+ {
+ case 1:
+ mercenary_create 1191, 10000;
+ break;
+ case 2:
+ mercenary_create 1191, 60000;
+ break;
+ case 3:
+ mercenary_create 1191, 600000;
+ break;
+ case 4:
+ goto L_Start;
+ break;
+ }
+ }
+ break;
}
close;