summaryrefslogtreecommitdiff
path: root/npc/quests/doomed_swords.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/doomed_swords.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/doomed_swords.txt')
-rw-r--r--npc/quests/doomed_swords.txt21
1 files changed, 11 insertions, 10 deletions
diff --git a/npc/quests/doomed_swords.txt b/npc/quests/doomed_swords.txt
index b43ed5645..1d736c122 100644
--- a/npc/quests/doomed_swords.txt
+++ b/npc/quests/doomed_swords.txt
@@ -20,6 +20,7 @@
//= 1.3 Fixed exploit [Lupus]
//= 1.4 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
//= Moved all non-related NPCs to their repsective files.
+//= 1.5 Added missing checkweight. [L0ne_W0lf]
//============================================================
prt_in,162,11,2 script Ghatu#magum 86,{
@@ -254,16 +255,16 @@ izlude_in,173,88,2 script Nain#magum 102,{
}
pay_fild08,218,283,2 script Mysterious Man#magum 89,{
- //if (max_max_c == 1) {
- // mes "[Mysterious Man]";
- // mes "Hold it.";
- // mes "You're carrying";
- // mes "far too many items";
- // mes "with you. Speak to me";
- // mes "after you've placed your";
- // mes "goods into Kafra Storage.";
- // close;
- //}
+ if (checkweight(1201,1) == 0) {
+ mes "[Mysterious Man]";
+ mes "Hold it.";
+ mes "You're carrying";
+ mes "far too many items";
+ mes "with you. Speak to me";
+ mes "after you've placed your";
+ mes "goods into Kafra Storage.";
+ close;
+ }
if (event_magum == 0) {
if (dmdswrd_Q2 & 1 || dmdswrd_Q2 & 2 || dmdswrd_Q2 & 4 || dmdswrd_Q2 & 8 || dmdswrd_Q2 & 16 || dmdswrd_Q2 & 32) {
mes "[Mysterious Man]";