summaryrefslogtreecommitdiff
path: root/npc/001-7/homunculus.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-18 00:18:06 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-18 00:18:06 -0300
commit574f97932174feea53af14ba4362704af93593cd (patch)
tree8f52874f5566b272a3f22f3e05fbcb5a400a7413 /npc/001-7/homunculus.txt
parenta27e5d5495f26d7d3be4aac36fcf346f3a40f2dd (diff)
downloadserverdata-574f97932174feea53af14ba4362704af93593cd.tar.gz
serverdata-574f97932174feea53af14ba4362704af93593cd.tar.bz2
serverdata-574f97932174feea53af14ba4362704af93593cd.tar.xz
serverdata-574f97932174feea53af14ba4362704af93593cd.zip
Fix several bugs, but a big one crashed the server
Diffstat (limited to 'npc/001-7/homunculus.txt')
-rw-r--r--npc/001-7/homunculus.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/npc/001-7/homunculus.txt b/npc/001-7/homunculus.txt
index 0feaffd3d..e68891b0b 100644
--- a/npc/001-7/homunculus.txt
+++ b/npc/001-7/homunculus.txt
@@ -179,10 +179,10 @@ OnInit:
close;
}
mesn strcharinfo(0);
- mesc l("You carefully pick a @@. It looks delicious, but you probably will need it later.", getitemlink(Manapple));
+ mesc l("You carefully pick a @@. It looks delicious, but you probably will need it later.", getitemlink(RedApple));
if (!(.@q & .hcID)) {
- inventoryplace Manapple, 1;
- getitem Manapple, 1;
+ inventoryplace RedApple, 1;
+ getitem RedApple, 1;
setq2 FrostiaQuest_Homunculus, .@q|.hcID;
}
close;
@@ -200,7 +200,11 @@ OnInit:
close;
}
// I hope this is right
- if ((.@q & 60) < 4) {
+ if (!
+ (.@q & 4) &&
+ (.@q & 8) &&
+ (.@q & 16) &&
+ (.@q & 32) ) {
mesn strcharinfo(0);
mesc l("I better not disturb the hut owner.");
close;