summaryrefslogtreecommitdiff
path: root/npc/soren/main.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-08 02:27:12 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-08 02:27:12 -0300
commite9eb26c9bba14d40c00c9dac37c9ec79004358d7 (patch)
tree80446f8aa515adefa08857879f761e9bdba29a90 /npc/soren/main.txt
parent4a546bdde3520236de2eb836b09361d5ea8e2170 (diff)
downloadserverdata-e9eb26c9bba14d40c00c9dac37c9ec79004358d7.tar.gz
serverdata-e9eb26c9bba14d40c00c9dac37c9ec79004358d7.tar.bz2
serverdata-e9eb26c9bba14d40c00c9dac37c9ec79004358d7.tar.xz
serverdata-e9eb26c9bba14d40c00c9dac37c9ec79004358d7.zip
This might work out in the end
Diffstat (limited to 'npc/soren/main.txt')
-rw-r--r--npc/soren/main.txt28
1 files changed, 15 insertions, 13 deletions
diff --git a/npc/soren/main.txt b/npc/soren/main.txt
index d2000ab11..ffeaa804b 100644
--- a/npc/soren/main.txt
+++ b/npc/soren/main.txt
@@ -72,19 +72,19 @@ soren,105,92,0 script Soren's Fountain NPC_NO_SPRITE,{
if (askyesno() == ASK_YES) {
.casterId=getcharid(3);
.st=1;
- npctalk l("@@ started disarm process. Please stand by.");
+ npctalk l("@@ started disarm process. Please stand by.", strcharinfo(0));
initnpctimer;
- close;
}
- end;
+ close;
-// Waves (total: 6 waves)
+// Waves (total: 6 waves + 1 optional)
OnTimer5000:
OnTimer10300:
OnTimer14000:
OnTimer18000:
OnTimer25000:
-OnTimer29000:
+OnTimer28000:
+OnTimer31000:
if (!attachrid(.casterId)) {
npctalk "Disarm process aborted: Disarmer is gone.";
stopnpctimer; .st=0;
@@ -128,26 +128,28 @@ OnTimer29000:
.@monsterId = Yeti ; break;
}
// Item Gen
- .@mid=rand(1,5)+.st;
+ .@mid=rand(1,7)+.st;
switch (.@mid) {
case 1:
case 2:
.@itemId = Acorn ; break;
case 3:
- .@itemId = ChocolateMouboo ; break;
case 4:
+ .@itemId = ChocolateMouboo ; break;
case 5:
- .@itemId = OrangeCupcake ; break;
case 6:
- .@itemId = CherryCake ; break;
+ .@itemId = OrangeCupcake ; break;
case 7:
case 8:
- .@itemId = Chagashroom ; break;
+ .@itemId = CherryCake ; break;
case 9:
- .@itemId = HastePotion ; break;
case 10:
+ .@itemId = Chagashroom ; break;
+ case 11:
+ .@itemId = HastePotion ; break;
+ case 12:
.@itemId = rand(Diamond, Amethyst) ; break;
- default: // case 11
+ default: // case 13
.@itemId = rand(CopperOre, TitaniumOre) ; break;
}
// Defines
@@ -160,7 +162,7 @@ OnTimer29000:
areamonster .map$, .@lx, .@ly, .@ux, .@uy, strmobinfo(1, .@monsterId), .@monsterId, .@amount; makeitem(.@itemId, 1, .map$, rand(.@lx, .@ux), rand(.@ly, .@uy)); ++.st;
// If we're done with waves
- if (.st >= 6) {
+ if (.st >= 7) {
.lifetime=gettimetick(2)+300+rand(0, 60);
npctalk l("Disarmed with success for: @@", FuzzyTime(.lifetime, 2, 2));
stopnpctimer; .st=0;