summaryrefslogtreecommitdiff
path: root/npc/soren
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-08 02:17:40 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-08 02:17:40 -0300
commit4a546bdde3520236de2eb836b09361d5ea8e2170 (patch)
tree86c2d7642a877e799155b9fd87a0f82521571dad /npc/soren
parentfecc920f986f8cbd28b65857370001af3fd46f84 (diff)
downloadserverdata-4a546bdde3520236de2eb836b09361d5ea8e2170.tar.gz
serverdata-4a546bdde3520236de2eb836b09361d5ea8e2170.tar.bz2
serverdata-4a546bdde3520236de2eb836b09361d5ea8e2170.tar.xz
serverdata-4a546bdde3520236de2eb836b09361d5ea8e2170.zip
First bugfix patch
Diffstat (limited to 'npc/soren')
-rw-r--r--npc/soren/main.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/soren/main.txt b/npc/soren/main.txt
index fd647e8a3..d2000ab11 100644
--- a/npc/soren/main.txt
+++ b/npc/soren/main.txt
@@ -56,7 +56,7 @@ OnTouch:
-soren,105,92,0 script Soren's Fountain NPC_NO_SPRITE,0,0,{
+soren,105,92,0 script Soren's Fountain NPC_NO_SPRITE,{
// Initial Checks
if (.lifetime > gettimetick(2)) {
npctalk l("This singularity will remain disarmed for @@ more!", FuzzyTime(.lifetime, 2, 2));
@@ -147,14 +147,14 @@ OnTimer29000:
.@itemId = HastePotion ; break;
case 10:
.@itemId = rand(Diamond, Amethyst) ; break;
- case 11:
+ default: // case 11
.@itemId = rand(CopperOre, TitaniumOre) ; break;
}
// Defines
- .@lx=.x-distance;
- .@ly=.y-distance;
- .@ux=.x+distance;
- .@uy=.y+distance;
+ .@lx=.x-.distance;
+ .@ly=.y-.distance;
+ .@ux=.x+.distance;
+ .@uy=.y+.distance;
// Core function
areamonster .map$, .@lx, .@ly, .@ux, .@uy, strmobinfo(1, .@monsterId), .@monsterId, .@amount; makeitem(.@itemId, 1, .map$, rand(.@lx, .@ux), rand(.@ly, .@uy)); ++.st;
@@ -181,7 +181,7 @@ OnInit:
-soren,104,143,0 script Soren's Lake NPC_NO_SPRITE,0,0,{
+soren,104,143,0 script Soren's Lake NPC_NO_SPRITE,{
end;
@@ -200,7 +200,7 @@ OnInit:
-soren,107,37,0 script Soren's Dizmo NPC_NO_SPRITE,0,0,{
+soren,107,37,0 script Soren's Dizmo NPC_NO_SPRITE,{
end;