summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-13 21:05:25 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-13 21:05:25 +0000
commitc19d2cbb159a3f9ac7d5568c7c9b39008ca244e1 (patch)
tree71498924321ab623d1963579f85ac59fc77323a1 /npc
parent47bbc0420513f9c9626c9cb8bdc0370233289703 (diff)
downloadhercules-c19d2cbb159a3f9ac7d5568c7c9b39008ca244e1.tar.gz
hercules-c19d2cbb159a3f9ac7d5568c7c9b39008ca244e1.tar.bz2
hercules-c19d2cbb159a3f9ac7d5568c7c9b39008ca244e1.tar.xz
hercules-c19d2cbb159a3f9ac7d5568c7c9b39008ca244e1.zip
Updated Drunkard#Payon to use a better Class check that won't freeze Novices.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12356 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/Changelog.txt2
-rw-r--r--npc/cities/payon.txt5
2 files changed, 4 insertions, 3 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index 2b1690766..3a3e5bea6 100644
--- a/npc/Changelog.txt
+++ b/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]
diff --git a/npc/cities/payon.txt b/npc/cities/payon.txt
index 320fedc83..58631b157 100644
--- a/npc/cities/payon.txt
+++ b/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!";