From a28f73288e92ff07165698f9c6b94bdeed0bb6c9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Jul 2016 21:45:46 +0300 Subject: Add testing mercenary and add it mercenary creation to testing npc. --- npc/test/npc1.txt | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'npc') 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; -- cgit v1.2.3-70-g09d2