summaryrefslogtreecommitdiff
path: root/npc/jobs/1-1/swordman.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-03 14:56:29 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-03 14:56:29 +0000
commit8b332024d2f21cffdab22f31cc9016cde7fc75e5 (patch)
tree0c39181430965d778c4a436c22b047f0771fc2cf /npc/jobs/1-1/swordman.txt
parent98c42dd9f7401a77f326c22263785515a9b9a7e9 (diff)
downloadhercules-8b332024d2f21cffdab22f31cc9016cde7fc75e5.tar.gz
hercules-8b332024d2f21cffdab22f31cc9016cde7fc75e5.tar.bz2
hercules-8b332024d2f21cffdab22f31cc9016cde7fc75e5.tar.xz
hercules-8b332024d2f21cffdab22f31cc9016cde7fc75e5.zip
Fixed some condition checks in archer, mage, and swordie, jobs.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13038 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs/1-1/swordman.txt')
-rw-r--r--npc/jobs/1-1/swordman.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/jobs/1-1/swordman.txt b/npc/jobs/1-1/swordman.txt
index 77ea8dfe2..1a99e6d89 100644
--- a/npc/jobs/1-1/swordman.txt
+++ b/npc/jobs/1-1/swordman.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= kobra_k88; L0ne_W0lf
//===== Current Version: =====================================
-//= 2.0
+//= 2.1
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -33,11 +33,12 @@
//= 1.9 Dialog is official, but the Script is now custom as far as maps go. [L0ne_W0lf]
//= 1.9b Fixed usage of wrong jobchange func messing up baby classes [ultramage]
//= 2.0 Corrected NPC names to fall within proper resctrictions. [L0ne_W0lf]
+//= 2.1 Fixed mistake in condition check. [L0ne_W0lf]
//============================================================
izlude_in,74,172,4 script Swordman#swd_1 119,{
if (Upper == 1) {
- if (Class == Job_Novice_High && ADVJOB == Job_Lord_Knight || ADVJOB == Job_Paladin) {
+ if (Class == Job_Novice_High && (ADVJOB == Job_Lord_Knight || ADVJOB == Job_Paladin)) {
mes "[Swordman]";
mes "It...";
mes "Can't be...";