summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorshadowlady <shadowlady@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-18 07:47:00 +0000
committershadowlady <shadowlady@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-18 07:47:00 +0000
commit77e605c194737490f0488d71528ad93652a287d6 (patch)
tree52f6092678adc8e9542bb5ec0ac4f8882d00a33c /npc
parente26e3b2570fdf836a8c6c556c711bb6a81c3ecf0 (diff)
downloadhercules-77e605c194737490f0488d71528ad93652a287d6.tar.gz
hercules-77e605c194737490f0488d71528ad93652a287d6.tar.bz2
hercules-77e605c194737490f0488d71528ad93652a287d6.tar.xz
hercules-77e605c194737490f0488d71528ad93652a287d6.zip
Fixed a zeny exploit, all the quest skills npcs need revision!!!
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@245 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/quests/skills/novice_skills.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/quests/skills/novice_skills.txt b/npc/quests/skills/novice_skills.txt
index ad736c6e2..85a565142 100644
--- a/npc/quests/skills/novice_skills.txt
+++ b/npc/quests/skills/novice_skills.txt
@@ -231,7 +231,7 @@ L_NonNov:
emotion 1;
close;
L_Start:
- if(FIRSTAID==1 && countitem(930)==0) goto L_Aid;
+ if(FIRSTAID==1 && countitem(930)==0 && got_bandage!=1) goto L_Aid;
if(PLAYDEAD==1 && countitem(7039)==0) goto L_Play;
mes "Hello. I'm here to provide help to newbies like you. If there is anything in particular that you need assistance with just let me know.";
close;
@@ -239,6 +239,7 @@ L_Aid:
mes "So Nurse Aid sent you huh. She's a great nurse, you should feel very fortunate that she is helping you out. Here take this.";
next;
getitem 930,1;
+ set got_bandage,1;
mes "[Newbie Assistant]";
mes "You'll need it in order for her to teach you her exellent healing technique.";
next;