diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-28 05:59:53 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-28 05:59:53 +0000 |
commit | c54ae348d8e51d038ee1f35f610d56e2ee55522b (patch) | |
tree | be6a28d9e90eea254faa3504686251ba399ee3ea /npc/quests/quests_yuno.txt | |
parent | 62f0c65cd908cf17c092a33fbfa94a12d9b30af1 (diff) | |
download | hercules-c54ae348d8e51d038ee1f35f610d56e2ee55522b.tar.gz hercules-c54ae348d8e51d038ee1f35f610d56e2ee55522b.tar.bz2 hercules-c54ae348d8e51d038ee1f35f610d56e2ee55522b.tar.xz hercules-c54ae348d8e51d038ee1f35f610d56e2ee55522b.zip |
Implemented several "checkweights" in other NPCs.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12258 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/quests/quests_yuno.txt')
-rw-r--r-- | npc/quests/quests_yuno.txt | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/npc/quests/quests_yuno.txt b/npc/quests/quests_yuno.txt index f6ee4e3c0..275b265c9 100644 --- a/npc/quests/quests_yuno.txt +++ b/npc/quests/quests_yuno.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= eAthena Dev Team; L0ne_W0lf //===== Current Version: ===================================== -//= 1.9 +//= 2.0 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -31,6 +31,7 @@ //= 1.7 Changed ALCH_Q check and set to corrispond to new alchemist job quest. [L0ne_W0lf] //= 1.8 Fixed metto_q never reaching 2. Made some names more unique. [L0ne_W0lf] //= 1.9 Fixed Missing Variables in Metto quest. (bugreport:473) [Samuray22] +//= 2.0 Added missing checkweights. [L0ne_W0lf] //============================================================ // Metto Quest @@ -424,14 +425,14 @@ yuno_in03,178,43,0 script CiCi#juno 121,{ // Alechmist Brothers yuno_in01,103,157,3 script Bain#juno 98,{ - //if (max_max_c == 1) { - // mes "- Wait a minute !! -"; - // mes "- Currently you're carrying -"; - // mes "- too many items with you. -"; - // mes "- Please try again -"; - // mes "- after you loose some weight. -"; - // close; - //} + if (checkweight(1201,1) == 0) { + mes "- Wait a minute !! -"; + mes "- Currently you're carrying -"; + mes "- too many items with you. -"; + mes "- Please try again -"; + mes "- after you loose some weight. -"; + close; + } if (countitem(974) > 0 && countitem(612) > 4 && countitem(1003) > 4 && countitem(7068) > 4 && countitem(7043) > 4 && countitem(757) > 2 && countitem(756) > 2 && Zeny > 2000) { if (ALCH_Q == 23) set ALCH_Q,24; set .@kyulkwa,rand(1,10); @@ -556,14 +557,14 @@ S_DelItems: } yuno_in01,100,153,7 script Bajin 47,0,0,{ - //if (max_max_c == 1) { - // mes "- Wait a minute !! -"; - // mes "- Currently you're carrying -"; - // mes "- too many items with you. -"; - // mes "- Please try again -"; - // mes "- after you loose some weight. -"; - // close; - //} + if (checkweight(1201,1) == 0) { + mes "- Wait a minute !! -"; + mes "- Currently you're carrying -"; + mes "- too many items with you. -"; + mes "- Please try again -"; + mes "- after you loose some weight. -"; + close; + } if (countitem(974) > 0 && countitem(612) > 4 && countitem(1003) > 4 && countitem(7068) > 4 && countitem(7043) > 4 && countitem(757) > 2 && countitem(756) > 2 && Zeny > 2000) { if (ALCH_Q == 23) set ALCH_Q,24; set .@kyulkwa,rand(1,10); |