diff options
author | Haru <haru@dotalux.com> | 2020-05-27 12:49:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-27 12:49:24 +0200 |
commit | 7b809d48e92a019eb40dad770bc5392169db481b (patch) | |
tree | 7e219ea35c16d91951ba263f809c2bc022c92b30 /npc | |
parent | fcffb676132949852adfef2fd3f814485f964709 (diff) | |
parent | c418df038b93a3a18fb20c1480192e7bef25ddec (diff) | |
download | hercules-7b809d48e92a019eb40dad770bc5392169db481b.tar.gz hercules-7b809d48e92a019eb40dad770bc5392169db481b.tar.bz2 hercules-7b809d48e92a019eb40dad770bc5392169db481b.tar.xz hercules-7b809d48e92a019eb40dad770bc5392169db481b.zip |
Merge pull request #2698 from danieldpl/patch-1
Fixed lost puppies quest
Diffstat (limited to 'npc')
-rw-r--r-- | npc/re/quests/quests_brasilis.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/re/quests/quests_brasilis.txt b/npc/re/quests/quests_brasilis.txt index debaba2e5..1d5578fa0 100644 --- a/npc/re/quests/quests_brasilis.txt +++ b/npc/re/quests/quests_brasilis.txt @@ -124,10 +124,10 @@ OnGo: mes "Ah... who's a good puppy?"; mes "Ok, where are the others?"; } - if (compare(strnpcinfo(NPC_NAME_UNIQUE),"1")) setarray .@i[0],2,3; - else if (compare(strnpcinfo(NPC_NAME_UNIQUE),"2")) setarray .@i[0],1,3; + if (compare(strnpcinfo(NPC_NAME_HIDDEN),"1")) setarray .@i[0],2,3; + else if (compare(strnpcinfo(NPC_NAME_HIDDEN),"2")) setarray .@i[0],1,3; else setarray .@i[0],1,2; - donpcevent "Puppy#"+charat(strnpcinfo(NPC_NAME_UNIQUE),0)+.@i[rand(2)]+"::OnEnable"; + donpcevent "Puppy#"+charat(strnpcinfo(NPC_NAME_HIDDEN),0)+.@i[rand(2)]+"::OnEnable"; hideonnpc strnpcinfo(NPC_NAME); close; } |