diff options
author | danieldpl <56430929+danieldpl@users.noreply.github.com> | 2020-04-18 07:49:48 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 07:49:48 -0300 |
commit | c418df038b93a3a18fb20c1480192e7bef25ddec (patch) | |
tree | a9f646c19baa0763584110d39eeb43935ef3f618 /npc | |
parent | f40cc839413cc82aed445d39cc3aa204dce87780 (diff) | |
download | hercules-c418df038b93a3a18fb20c1480192e7bef25ddec.tar.gz hercules-c418df038b93a3a18fb20c1480192e7bef25ddec.tar.bz2 hercules-c418df038b93a3a18fb20c1480192e7bef25ddec.tar.xz hercules-c418df038b93a3a18fb20c1480192e7bef25ddec.zip |
Fixed lost puppies quest
The dogs were unable to reappear because they did not have a unique name.
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; } |