summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-26 12:15:28 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-26 12:15:28 -0300
commiteb703b9b5f2524f37b6d0a2be7e57012d960f67b (patch)
tree4751ba06641806aba4744251d9855c7d1deb19bf
parent7f2a6fe7c7ae7d622ff17f3581f2d01e15e4987a (diff)
downloadserverdata-eb703b9b5f2524f37b6d0a2be7e57012d960f67b.tar.gz
serverdata-eb703b9b5f2524f37b6d0a2be7e57012d960f67b.tar.bz2
serverdata-eb703b9b5f2524f37b6d0a2be7e57012d960f67b.tar.xz
serverdata-eb703b9b5f2524f37b6d0a2be7e57012d960f67b.zip
Sketch of Professor on 003-0 during MQ (He should wear AFK set...)
-rw-r--r--npc/003-0/mainquest.txt31
-rw-r--r--npc/003-3/malindou.txt1
2 files changed, 30 insertions, 2 deletions
diff --git a/npc/003-0/mainquest.txt b/npc/003-0/mainquest.txt
index f392732e0..db737a704 100644
--- a/npc/003-0/mainquest.txt
+++ b/npc/003-0/mainquest.txt
@@ -19,8 +19,35 @@ OnInit:
end;
OnInstanceInit:
- if (is_night())
- debugmes "ERROR creating professor at 49, 24";
+ if (is_night()) {
+ .@n$=instance_npcname("Professor#003-0");
+ enablenpc .@n$;
+ }
+ end;
+}
+
+003-0,49,24,4 script Professor#003-0 NPC_PLAYER,{
+ studenttalk();
+ end;
+
+OnInit:
+ .@ini=true;
+OnInstanceInit:
+ if (.@ini)
+ .@npcId = getnpcid(.name$);
+ else
+ .@npcId = getnpcid(instance_npcname(.name$));
+
+ setunitdata(.@npcId, UDT_HEADTOP, GraduationCap);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, GraduationRobe); // TODO: Bathrobe
+ setunitdata(.@npcId, UDT_HEADBOTTOM, Slippers); // Hey hey!
+ setunitdata(.@npcId, UDT_WEAPON, CottonGloves);
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 2);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 4);
+
+ .sex=G_MALE;
+ .distance=5;
+ disablenpc .name$;
end;
}
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index 121447753..c4c995a1e 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -544,6 +544,7 @@ OnInit:
debugmes "* Bull Helmet Fix";
debugmes "* Remove Silver Easter Eggs";
debugmes "* Lua Quest Reset";
+ debugmes "* Battle Configuration is now volatile";
debugmes "";
}