summaryrefslogtreecommitdiff
path: root/npc/soren
diff options
context:
space:
mode:
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;