Browse Source

Updated Drunkard#Payon to use a better Class check that won't freeze Novices.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12356 54d463be-8e91-2dee-dedb-b68131a5f0ec
Paradox924X 17 years ago
parent
commit
4d9afc8f22
2 changed files with 4 additions and 3 deletions
  1. 2 0
      npc/Changelog.txt
  2. 2 3
      npc/cities/payon.txt

+ 2 - 0
npc/Changelog.txt

@@ -1,5 +1,7 @@
 Date		Added
 ======
+2008/03/13
+	* Updated Drunkard#Payon to use a better Class check that won't freeze Novices. [Paradox924X]
 2008/03/12
 	* Rev. 12346 Another Small update to castle ownership announcement. [L0ne_W0lf]
 	* Rev. 12345 Small update to castle ownership announcement. [L0ne_W0lf]

+ 2 - 3
npc/cities/payon.txt

@@ -226,7 +226,7 @@ payon,246,158,5	script	Woman#2payon	66,0,0,{
 }
 
 payon,210,110,1	script	Drunkard#payon	120,{
-	if (Class != ARCHER) {
+	if (Class != Job_Archer) {
 		mes "[Drunkard]";
 		mes "Hey...";
 		mes "H-Hey...!";
@@ -241,8 +241,7 @@ payon,210,110,1	script	Drunkard#payon	120,{
 		mes "[Drunkard]";
 		mes "Bwahahahaha!";
 		mes "Buy me a drink?!";
-	}
-	if (Class == Job_Archer) {
+	} else {
 		mes "[Drunkard]";
 		mes "An Archer!";
 		mes "Oh man, you guys!";