diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-18 00:18:06 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-18 00:18:06 -0300 |
commit | 574f97932174feea53af14ba4362704af93593cd (patch) | |
tree | 8f52874f5566b272a3f22f3e05fbcb5a400a7413 | |
parent | a27e5d5495f26d7d3be4aac36fcf346f3a40f2dd (diff) | |
download | serverdata-574f97932174feea53af14ba4362704af93593cd.tar.gz serverdata-574f97932174feea53af14ba4362704af93593cd.tar.bz2 serverdata-574f97932174feea53af14ba4362704af93593cd.tar.xz serverdata-574f97932174feea53af14ba4362704af93593cd.zip |
Fix several bugs, but a big one crashed the server
-rw-r--r-- | npc/001-7/homunculus.txt | 12 |
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; |