Przeglądaj źródła

Corrected small error in St. Patrick's Day event.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12387 54d463be-8e91-2dee-dedb-b68131a5f0ec
L0ne_W0lf 17 lat temu
rodzic
commit
6ee7eba6dc
2 zmienionych plików z 5 dodań i 2 usunięć
  1. 2 0
      npc/Changelog.txt
  2. 3 2
      npc/events/StPatrick_2008.txt

+ 2 - 0
npc/Changelog.txt

@@ -1,5 +1,7 @@
 Date		Added
 ======
+2008/03/17
+	* Rev. 12387 Corrected small error in St. Patrick's Day event. [L0ne_W0lf]
 2008/03/16
 	* Rev. 12380 Updated Divorce script. [L0ne_W0lf]
 2008/03/15

+ 3 - 2
npc/events/StPatrick_2008.txt

@@ -3,7 +3,7 @@
 //===== By: ==================================================
 //= Kisuka
 //===== Current Version: =====================================
-//= 1.2
+//= 1.3
 //===== Compatible With: =====================================
 //= eAthena SVN
 //===== Description: =========================================
@@ -27,6 +27,7 @@
 //= 1.1 Fixed checkitems for ale, fixed ale prize(gives the correct one now). [Kisuka]
 //= 1.2 Optimized. Uses only one variable now. [L0ne_W0lf]
 //=	Corrected EXP rewards, and some typos.
+//= 1.3 Corrected random in item fuction. [L0ne_W0lf]
 //============================================================
 
 prt_fild05,170,286,4	script	Anxious Leprechaun#8pday	954,{
@@ -316,7 +317,7 @@ OnTouch:
 }
 
 function	script	F_08stpattyseventbox	{
-	switch(rand(6)) {
+	switch(rand(1,6)) {
 	case 1:
 		getitem 7915,1;
 		end;