summaryrefslogtreecommitdiff
path: root/world/map/npc/013-2
diff options
context:
space:
mode:
authorLed Mitz <smoothshifter@tuta.io>2024-09-09 22:21:46 +0000
committerLed Mitz <smoothshifter@tuta.io>2024-09-09 22:21:46 +0000
commit62c13173f278c20ca637a98cb73c43d92ca475f2 (patch)
treeb8668205b6d8636426969270f0992f1c74f99192 /world/map/npc/013-2
parent442f25eac02064d7e9e738b7a17d6e6bb7c99de2 (diff)
downloadserverdata-62c13173f278c20ca637a98cb73c43d92ca475f2.tar.gz
serverdata-62c13173f278c20ca637a98cb73c43d92ca475f2.tar.bz2
serverdata-62c13173f278c20ca637a98cb73c43d92ca475f2.tar.xz
serverdata-62c13173f278c20ca637a98cb73c43d92ca475f2.zip
Added a bunch of NPCs that miteyo should detect
I probably missed some. I may have a few errors, but I sure found a lot of npcs that are magical and ready for detection with #miteyo. TY Hello=) for the IS_MAGIC code. Reviewed-by: Hello TMW <hello@themanaworld.org>
Diffstat (limited to 'world/map/npc/013-2')
-rw-r--r--world/map/npc/013-2/notes.txt32
-rw-r--r--world/map/npc/013-2/wizard.txt6
2 files changed, 37 insertions, 1 deletions
diff --git a/world/map/npc/013-2/notes.txt b/world/map/npc/013-2/notes.txt
index 3a0215b9..f412668b 100644
--- a/world/map/npc/013-2/notes.txt
+++ b/world/map/npc/013-2/notes.txt
@@ -39,6 +39,10 @@ L_Close:
set @fixedMirror, 1;
callfunc "useMirror";
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
// Warp to wood clearings
@@ -72,6 +76,10 @@ L_PlaceThree:
L_Close:
set @dest, 0;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
// Warp to desert
@@ -104,6 +112,10 @@ L_PlaceThree:
L_Close:
set @dest, 0;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
// Warp to snow area
@@ -135,6 +147,10 @@ L_Cave:
L_Close:
set @dest, 0;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
// Warp to Inns
@@ -166,6 +182,10 @@ L_PlaceThree:
L_Close:
set @dest, 0;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
// Warp to mines
@@ -197,6 +217,10 @@ L_PlaceThree:
L_Close:
set @dest, 0;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
// Death
@@ -208,6 +232,10 @@ L_Close:
next;
heal -Hp, 0;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
// Naked
@@ -219,4 +247,8 @@ L_Close:
next;
nude;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
diff --git a/world/map/npc/013-2/wizard.txt b/world/map/npc/013-2/wizard.txt
index 13f3fc9c..7a3fd822 100644
--- a/world/map/npc/013-2/wizard.txt
+++ b/world/map/npc/013-2/wizard.txt
@@ -1,4 +1,4 @@
-013-2,66,39,0|script|Old Wizard#_W|116
+013-2,66,39,0|script|Old Wizard|116
{
set @has_magic, getskilllv(SKILL_MAGIC);
set MAGIC_FLAGS, MAGIC_FLAGS | MFLAG_KNOWS_OLD_WIZARD;
@@ -155,4 +155,8 @@ L_Agree:
L_Close:
set @has_magic, 0;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}