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/skills | |
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/skills')
-rw-r--r-- | npc/quests/skills/bard_skills.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/quests/skills/bard_skills.txt b/npc/quests/skills/bard_skills.txt index f6a7b964d..14ee07108 100644 --- a/npc/quests/skills/bard_skills.txt +++ b/npc/quests/skills/bard_skills.txt @@ -23,6 +23,7 @@ //= 1.4 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] //= 1.4a Checks the proper variable now. (bard_q -> gef_bard_q) [L0ne_W0lf] //= 1.5 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] +//= 1.6 Added missing checkweights. [L0ne_W0lf] //============================================================ prontera,174,328,3 script Young Man#bard_q1 89,3,3,{ @@ -1164,12 +1165,11 @@ morocc_in,175,70,7 script Customer#bard_skill02 50,{ // Bartender //============================================================ morocc_in,166,76,7 script Bartender#bard_qskill 46,{ - //set max_max_c,1201; - //if (max_max_c == 1) { - // mes "^3355FFHold it right there!"; - // mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge."; - // close; - //} + if (checkweight(1201,1) == 0) { + mes "^3355FFHold it right there!"; + mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge."; + close; + } mes "[Bartender]"; mes "So what would"; mes "you like to order?"; |