Browse Source

Maheo in Ice dungeon quest now uses setnpcdisplay.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11906 54d463be-8e91-2dee-dedb-b68131a5f0ec
L0ne_W0lf 17 years ago
parent
commit
6ee5ac12f6
2 changed files with 7 additions and 20 deletions
  1. 1 0
      npc/Changelog.txt
  2. 6 20
      npc/quests/quests_rachel.txt

+ 1 - 0
npc/Changelog.txt

@@ -1,6 +1,7 @@
 Date		Added
 ======
 2007/12/13
+	* Rev. 11907 Maheo in Ice dungeon quest now uses setnpcdisplay. [L0ne_W0lf]
 	* Rev. 11906 Minor fixes, guild manager, and a couple others. [L0ne_W0lf]
 	- bugreport:579, attempt at fixing bugreport:581
 	- Fixed a typo in the hunter quest. (Not noticable really.)

+ 6 - 20
npc/quests/quests_rachel.txt

@@ -3,16 +3,11 @@
 //===== By: ================================================== 
 //= L0ne_W0lf
 //===== Current Version: ===================================== 
-//= 2.1
+//= 2.2
 //===== Compatible With: ===================================== 
 //= eAthena SVN
 //===== Description: ========================================= 
 //= Collection of Rachel Quests 
-//= * Lost Child
-//= * Bruspetti
-//= * Ice Necklace
-//= * Sanctuary/donation
-//===== Comments: ============================================
 //= Lost Child Quest:
 //= - End of quest coincides with opening the Sanctuary.
 //= - Variable in use: lost_boy (max 13)
@@ -50,6 +45,7 @@
 //= 1.9 Fixed a misorder with variable checkings. [SinSloth]
 //= 2.0 Fixed experience gains to match upcoming rate adjustments. [SinSloth]
 //= 2.1 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf]
+//= 2.2 Maheo NPC now uses "setnpcdisplay" instead of two NPCs. [L0ne_W0lf]
 //============================================================ 
 
 // Lost Child Quest (Prerequisite to High Priest quest)
@@ -3169,8 +3165,7 @@ ice_dun02,120,105,3	script	Man Stuck in Ice#cave	924,5,5,{
 		mes "^3355FF*Pzzzzz*";
 		mes "*CRASH!*^000000";
 		next;
-		enablenpc "Maheo#cave";
-		disablenpc "Man Stuck in Ice#cave";
+		setnpcdisplay "Man Stuck in Ice#cave",937;
 		emotion e_gasp;
 		mes "[Maheo]";
 		mes "Finally...!";
@@ -3229,10 +3224,10 @@ ice_dun02,120,105,3	script	Man Stuck in Ice#cave	924,5,5,{
 		delitem 7572,1; //Ashy_Necklace
 		delitem 7569,1; //Wind Hammer
 		set ice_necklace_q,5;
-		enablenpc "Man Stuck in Ice#cave";
-		disablenpc "Maheo#cave";
+		close2;
 		cutin "",255;
-		close;
+		setnpcdisplay "Man Stuck in Ice#cave",924;
+		end;
 	}
 
 OnTouch:
@@ -3415,15 +3410,6 @@ rachel,265,98,3	script	Hamion#aru	930,{
 
 }
 
-ice_dun02,120,105,3	script	Maheo#cave	937,{
-	enablenpc "Man Stuck in Ice#cave";
-	disablenpc "Maheo#cave";
-	end;
-OnInit:
-	disablenpc "Maheo#cave";
-	end;
-}
-
 rachel,113,96,5	script	Mohadian	929,10,10,{
 	if (ice_necklace_q == 6) {
 		mes "[Mohadian]";