diff options
author | hemagx <ibrahem.h.basyone@gmail.com> | 2016-08-29 01:04:03 +0200 |
---|---|---|
committer | hemagx <ibrahem.h.basyone@gmail.com> | 2016-08-29 01:04:03 +0200 |
commit | b2977e4f71128fa8764ce65ebe942b6806cffa1e (patch) | |
tree | 4f2a9b1f9a3ee6436a0b857d05caa2be7e99a877 /npc/re/quests/quests_brasilis.txt | |
parent | 16f998c8a79153ed9f6721c36e129b6080fa59d2 (diff) | |
parent | 86977d79269408a371384e61111c3a9cf6e87b0c (diff) | |
download | hercules-b2977e4f71128fa8764ce65ebe942b6806cffa1e.tar.gz hercules-b2977e4f71128fa8764ce65ebe942b6806cffa1e.tar.bz2 hercules-b2977e4f71128fa8764ce65ebe942b6806cffa1e.tar.xz hercules-b2977e4f71128fa8764ce65ebe942b6806cffa1e.zip |
Merge pull request #1411 from Asheraf/constants
Closes #1411 as merged
Diffstat (limited to 'npc/re/quests/quests_brasilis.txt')
-rw-r--r-- | npc/re/quests/quests_brasilis.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/re/quests/quests_brasilis.txt b/npc/re/quests/quests_brasilis.txt index d44b4e2fe..9c414a6c9 100644 --- a/npc/re/quests/quests_brasilis.txt +++ b/npc/re/quests/quests_brasilis.txt @@ -124,11 +124,11 @@ OnGo: mes "Ah... who's a good puppy?"; mes "Ok, where are the others?"; } - if (compare(strnpcinfo(2),"1")) setarray .@i[0],2,3; - else if (compare(strnpcinfo(2),"2")) setarray .@i[0],1,3; + 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; else setarray .@i[0],1,2; - donpcevent "Puppy#"+charat(strnpcinfo(2),0)+.@i[rand(2)]+"::OnEnable"; - hideonnpc strnpcinfo(0); + donpcevent "Puppy#"+charat(strnpcinfo(NPC_NAME_UNIQUE),0)+.@i[rand(2)]+"::OnEnable"; + hideonnpc strnpcinfo(NPC_NAME); close; } } @@ -137,15 +137,15 @@ OnGo: close; OnInit: - if (!compare(strnpcinfo(2),"1")) hideonnpc strnpcinfo(0); + if (!compare(strnpcinfo(NPC_NAME_UNIQUE),"1")) hideonnpc strnpcinfo(NPC_NAME); end; OnEnable: - hideoffnpc strnpcinfo(0); + hideoffnpc strnpcinfo(NPC_NAME); end; OnDisable: - hideonnpc strnpcinfo(0); + hideonnpc strnpcinfo(NPC_NAME); end; } |