summaryrefslogtreecommitdiff
path: root/npc/quests/quests_hugel.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-28 05:59:53 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-28 05:59:53 +0000
commitc54ae348d8e51d038ee1f35f610d56e2ee55522b (patch)
treebe6a28d9e90eea254faa3504686251ba399ee3ea /npc/quests/quests_hugel.txt
parent62f0c65cd908cf17c092a33fbfa94a12d9b30af1 (diff)
downloadhercules-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_hugel.txt')
-rw-r--r--npc/quests/quests_hugel.txt19
1 files changed, 5 insertions, 14 deletions
diff --git a/npc/quests/quests_hugel.txt b/npc/quests/quests_hugel.txt
index 419624cfe..e347bea88 100644
--- a/npc/quests/quests_hugel.txt
+++ b/npc/quests/quests_hugel.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= MasterOfMuppets & SinSloth
//===== Current Version: =====================================
-//= 1.7
+//= 1.8
//===== Compatible With: =====================================
//= eAthena
//===== Description: =========================================
@@ -20,6 +20,7 @@
//= 1.5b Fixed a variable name. [SinSloth]
//= 1.6 Fixed bad NPC header data to comply with rev. 11603. [L0ne_W0lf]
//= 1.7 Corrected locations of warpinside#1. (DarkValmir) [L0ne_W0lf]
+//= 1.8 Added missing checkweight. [L0ne_W0lf]
//============================================================
//-------------------------------------------------------------------------
@@ -3738,22 +3739,12 @@ einbech,208,124,3 script Bomb Maker 851,{
if(hg_tre == 54)
{
- /*var max_max_c1 = CheckMaxCount 1201 1
- if (max_max_c1 == 1)
+ if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
mes "[Boomer]";
mes "Hey, you look pretty heavy, huh?";
mes "Do you want me to help you?";
- close
- return
- endif
- var now_weight = v[VAR_MAXWEIGHT] - v[VAR_WEIGHT]
- if (now_weight < 2000)
- mes "[Boomer]";
- mes "Hey, you look pretty heavy, huh?";
- mes "Do you want me to help you?";
- close
- return
- endif*/
+ close;
+ }
mes "[Boomer]";
mes "Hey, what's up?";
mes "I am a professional Marine Sphere Bottle maker.";