diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-05-06 18:34:11 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-05-06 18:34:11 +0000 |
commit | 126e17da78be997923efc6b5430c58f7b897c58a (patch) | |
tree | 90348382e0ca65ae31b5c3e3b9a914865ba8efdc /npc/merchants | |
parent | ba23716d01e5592ad112a51796049733e34077c2 (diff) | |
download | hercules-126e17da78be997923efc6b5430c58f7b897c58a.tar.gz hercules-126e17da78be997923efc6b5430c58f7b897c58a.tar.bz2 hercules-126e17da78be997923efc6b5430c58f7b897c58a.tar.xz hercules-126e17da78be997923efc6b5430c58f7b897c58a.zip |
revised 2/3 of cities scripts, minor optimization of Gunslinger quest, Grandpa Pharm = | -> ||
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10495 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants')
-rw-r--r-- | npc/merchants/grandpa_pharmacist.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/merchants/grandpa_pharmacist.txt b/npc/merchants/grandpa_pharmacist.txt index 68ac39130..3f51171f2 100644 --- a/npc/merchants/grandpa_pharmacist.txt +++ b/npc/merchants/grandpa_pharmacist.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= DZeroX //===== Current Version: ===================================== -//= 1.0 +//= 1.0a //===== Compatible With: ===================================== //= eAthena SVN Trunk //===== Description: ========================================= @@ -50,7 +50,7 @@ alberta_in.gat,16,28,4 script Grandpa Pharmacist 61,{ } else { set .@max,countitem(713); } - if ((countitem(507) < 1) | (countitem(508) < 1) | (countitem(713) == 0)) { + if ((countitem(507) < 1) || (countitem(508) < 1) || (countitem(713) == 0)) { mes "You are silly! How can you make a potion if you don't even have ingredients?!"; mes "Go away!"; close; @@ -64,7 +64,7 @@ alberta_in.gat,16,28,4 script Grandpa Pharmacist 61,{ switch(select("As many as I can","I will set the amounts.","Nah, forget about it.")) { case 1: next; - if ((countitem(507) < .@max) | (countitem(508) < .@max) | (countitem(713) < .@max) | (Zeny < .@max*3)) { + if ((countitem(507) < .@max) || (countitem(508) < .@max) || (countitem(713) < .@max) || (Zeny < .@max*3)) { mes "[Grandpa Pharmacist]"; mes "You punk! Do you want me to make stuff from insufficient ingredients?"; close; @@ -95,7 +95,7 @@ alberta_in.gat,16,28,4 script Grandpa Pharmacist 61,{ mes "Are you a deaf of something? I can't make more than 100."; close; } - if ((countitem(507) < .@amount) | (countitem(508) < .@amount) | (countitem(713) < .@amount) | (Zeny < .@amount*3)) { + if ((countitem(507) < .@amount) || (countitem(508) < .@amount) || (countitem(713) < .@amount) || (Zeny < .@amount*3)) { next; mes "[Grandpa Pharmacist]"; mes "You punk! Do you want me to make stuff from insufficient ingredients?"; @@ -173,7 +173,7 @@ L_making: } else { set .@max,countitem(713); } - if ((countitem(getarg(0)) < 2) | (countitem(713) == 0)) { + if ((countitem(getarg(0)) < 2) || (countitem(713) == 0)) { mes "You are silly! How can you make a potion if you don't even have ingredients?!"; mes "Go away!"; close; @@ -187,7 +187,7 @@ L_making: switch(select("As many as I can","I will set the amounts.","Nah, forget about it.")) { case 1: next; - if ((countitem(getarg(0)) < .@max*2) | (countitem(713) < .@max) | (Zeny < .@max*getarg(1))) { + if ((countitem(getarg(0)) < .@max*2) || (countitem(713) < .@max) || (Zeny < .@max*getarg(1))) { mes "[Grandpa Pharmacist]"; mes "You punk! Do you want me to make stuff from insufficient ingredients?"; close; @@ -218,7 +218,7 @@ L_making: mes "Are you a deaf of something? I can't make more than 100."; close; } - if ((countitem(getarg(0)) < .@amount*2) | (countitem(713) < .@amount) | (Zeny < .@amount*getarg(1))) { + if ((countitem(getarg(0)) < .@amount*2) || (countitem(713) < .@amount) || (Zeny < .@amount*getarg(1))) { next; mes "[Grandpa Pharmacist]"; mes "You punk! Do you want me to make stuff from insufficient ingredients?"; |