소스 검색

Fixed errors in the Halloween 2006 event script.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11677 54d463be-8e91-2dee-dedb-b68131a5f0ec
L0ne_W0lf 17 년 전
부모
커밋
071c8b7f13
2개의 변경된 파일31개의 추가작업 그리고 29개의 파일을 삭제
  1. 1 0
      npc/Changelog.txt
  2. 30 29
      npc/events/halloween_2006.txt

+ 1 - 0
npc/Changelog.txt

@@ -1,6 +1,7 @@
 Date		Added
 ======
 2007/11/05
+	* Rev 11677 Fixed errors in the Halloween 2006 event script. :P [L0ne_W0lf]
 	* Rev 11676 Added the Halloween 2006 event script. [L0ne_W0lf]
 	* Rev 11675 Added the Christmas 2005 event script. [L0ne_W0lf]
 	* Rev 11661 Fixed a bug in Orange Potion creating. Copy&Pasting = bad.[L0ne_W0lf]

+ 30 - 29
npc/events/halloween_2006.txt

@@ -3,7 +3,7 @@
 //===== By: ==================================================
 //= Brainstorm
 //===== Current Version: =====================================
-//= 1.1
+//= 1.1a
 //===== Compatible With: =====================================
 //= eAthena SVN
 //===== Description: =========================================
@@ -13,6 +13,7 @@
 //===== Additional Comments: =================================
 //= 1.0 First semi-working conversion. [Brainstorm]
 //= 1.1 Refined Brainstorm's conversion. [L0ne_W0lf]
+//= 1.1a Minor fixes. (Screwed up weight checks somehow) [L0ne_W0lf]
 //============================================================
 
 // Pumpkin Mojo quest (Event 1)
@@ -39,13 +40,13 @@ prontera,164,69,3	script	Cool Devi#06_hw	738,{
 		close;
 	}*/
 	set .@now_weight,MaxWeight-Weight;
-	if (.@now_weight < 2000)
-		mes "^3355FFWait a second!"
-		mes "Right now, you're carrying"
-		mes "too many things with you."
-		mes "Please come back after"
-		mes "using the Kafra Service"
-		mes "to store some of your items.^000000"
+	if (.@now_weight < 2000) {
+		mes "^3355FFWait a second!";
+		mes "Right now, you're carrying";
+		mes "too many things with you.";
+		mes "Please come back after";
+		mes "using the Kafra Service";
+		mes "to store some of your items.^000000";
 		close;
 	}
 	if (countitem(7609) > 0) {
@@ -246,13 +247,13 @@ geffen,145,132,3	script	Hoirin#06_hw	729,{
 		close;
 	}*/
 	set .@now_weight,MaxWeight-Weight;
-	if (.@now_weight < 2000)
-		mes "^3355FFWait a second!"
-		mes "Right now, you're carrying"
-		mes "too many things with you."
-		mes "Please come back after"
-		mes "using the Kafra Service"
-		mes "to store some of your items.^000000"
+	if (.@now_weight < 2000) {
+		mes "^3355FFWait a second!";
+		mes "Right now, you're carrying";
+		mes "too many things with you.";
+		mes "Please come back after";
+		mes "using the Kafra Service";
+		mes "to store some of your items.^000000";
 		close;
 	}
 	if (halloween < 100) {
@@ -412,13 +413,13 @@ nif_in,19,32,3	script	Deviruchi#06_hw	738,{
 		close;
 	}*/
 	set .@now_weight,MaxWeight-Weight;
-	if (.@now_weight < 2000)
-		mes "^3355FFWait a second!"
-		mes "Right now, you're carrying"
-		mes "too many things with you."
-		mes "Please come back after"
-		mes "using the Kafra Service"
-		mes "to store some of your items.^000000"
+	if (.@now_weight < 2000) {
+		mes "^3355FFWait a second!";
+		mes "Right now, you're carrying";
+		mes "too many things with you.";
+		mes "Please come back after";
+		mes "using the Kafra Service";
+		mes "to store some of your items.^000000";
 		close;
 	}
 	mes "[Loli Ruri]";
@@ -514,13 +515,13 @@ nif_fild01,165,115,3	script	Chicken Masta#06_hw	794,{
 		close;
 	}*/
 	set .@now_weight,MaxWeight-Weight;
-	if (.@now_weight < 2000)
-		mes "^3355FFWait a second!"
-		mes "Right now, you're carrying"
-		mes "too many things with you."
-		mes "Please come back after"
-		mes "using the Kafra Service"
-		mes "to store some of your items.^000000"
+	if (.@now_weight < 2000) {
+		mes "^3355FFWait a second!";
+		mes "Right now, you're carrying";
+		mes "too many things with you.";
+		mes "Please come back after";
+		mes "using the Kafra Service";
+		mes "to store some of your items.^000000";
 		close;
 	}
 	if (halloween == 101) {