summaryrefslogtreecommitdiff
path: root/npc/jobs/2-2/alchemist.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-28 20:04:16 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-28 20:04:16 +0000
commitbc65860d166f644ca3796467713c2792d0f60889 (patch)
treede59e6607287eaf6f4d3ede64545c9ab1f2faae4 /npc/jobs/2-2/alchemist.txt
parent4b59e146c6626a5f355af9db8e779ad3ea977684 (diff)
downloadhercules-bc65860d166f644ca3796467713c2792d0f60889.tar.gz
hercules-bc65860d166f644ca3796467713c2792d0f60889.tar.bz2
hercules-bc65860d166f644ca3796467713c2792d0f60889.tar.xz
hercules-bc65860d166f644ca3796467713c2792d0f60889.zip
* Changed how waiting rooms work in the job quests.
- Implemented a checkweight in the alchemist job quest. - Various other small updates to the 2-1 and 2-2 quests. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12262 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs/2-2/alchemist.txt')
-rw-r--r--npc/jobs/2-2/alchemist.txt38
1 files changed, 18 insertions, 20 deletions
diff --git a/npc/jobs/2-2/alchemist.txt b/npc/jobs/2-2/alchemist.txt
index 6e1902a09..b2c21d337 100644
--- a/npc/jobs/2-2/alchemist.txt
+++ b/npc/jobs/2-2/alchemist.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= nestor_zulueta (Fusion), converted by Darkchild
//===== Current Version: =====================================
-//= 2.5
+//= 2.7
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -13,6 +13,7 @@
//= 2.5 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf]
//= No longer uses function "F_BlockHigh"
//= 2.6 Corrected a bug in advanced class checking. [L0ne_W0lf]
+//= 2.7 Added missing checkweights. [L0ne_W0lf]
//============================================================
alde_alche,27,185,5 script Alchemist Guildsman#am 744,{
@@ -764,16 +765,14 @@ L_AskQuestions:
}
alde_alche,13,15,7 script Studying Man#am 750,{
- //set max_max_c,1201;
- //if (max_max_c == 1) {
- // mes "- Wait a minute! -";
- // mes "- Currently you are carrying -";
- // mes "- too many items with you. -";
- // mes "- Please come back again -";
- // mes "- after you store some items into kafra storage. -";
- // close;
- // return
- //}
+ if (checkweight(1201,1) == 0) {
+ mes "- Wait a minute! -";
+ mes "- Currently you are carrying -";
+ mes "- too many items with you. -";
+ mes "- Please come back again -";
+ mes "- after you store some items into kafra storage. -";
+ close;
+ }
mes "[Darwin]";
if (BaseJob != Job_Merchant) {
if (BaseJob == Job_Alchemist) {
@@ -1736,15 +1735,14 @@ alde_alche,101,184,4 script Master Alchemist#am 122,{
}
alde_alche,145,19,1 script Chief Researcher#am 57,{
- //set max_max_c,1201;
- //if (max_max_c == 1) {
- // mes "- Wait a minute! -";
- // mes "- Currently you are carrying -";
- // mes "- too many items with you. -";
- // mes "- Please come back again -";
- // mes "- after you store some items into kafra storage. -";
- // close;
- //}
+ if (checkweight(1201,1) == 0) {
+ mes "- Wait a minute! -";
+ mes "- Currently you are carrying -";
+ mes "- too many items with you. -";
+ mes "- Please come back again -";
+ mes "- after you store some items into kafra storage. -";
+ close;
+ }
if (ALCH_Q > 19 && ALCH_Q < 22) {
if (ALCH_Q == 20) {
mes "[Nicholas Flamel]";