summaryrefslogtreecommitdiff
path: root/npc/005-7
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-03-07 00:51:21 -0300
committerjesusalva <cpntb1@ymail.com>2018-03-07 00:51:21 -0300
commitde610b85b509363bf31c450106c01cd5591c54f7 (patch)
tree294230ee949582673c3555c6b3027660c1e253f5 /npc/005-7
parent8b5ff1dadeb4ccc67b17553862788c1e1df433bc (diff)
downloadserverdata-de610b85b509363bf31c450106c01cd5591c54f7.tar.gz
serverdata-de610b85b509363bf31c450106c01cd5591c54f7.tar.bz2
serverdata-de610b85b509363bf31c450106c01cd5591c54f7.tar.xz
serverdata-de610b85b509363bf31c450106c01cd5591c54f7.zip
If you're under 90% of HP, Candor Nurse will be professional.
Otherwise she asks for candies.
Diffstat (limited to 'npc/005-7')
-rw-r--r--npc/005-7/nurse.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/005-7/nurse.txt b/npc/005-7/nurse.txt
index 9f9847c3e..aa092072c 100644
--- a/npc/005-7/nurse.txt
+++ b/npc/005-7/nurse.txt
@@ -6,6 +6,7 @@
005-7,41,30,0 script Candor's Nurse NPC_FEMALE,{
//if (sc_check(SC_POISON)) goto L_CurePoison;
+ if (Hp < (MaxHp/100*90)) goto L_Heal;
mesn;
mesq lg("Hello, dear! I love @@, could you bring me some? They're sooooo sweet and delicious!","Hello, dear! I love @@, could you bring me some? They're sooooo sweet and delicious!", getitemlink(Candy) );
@@ -21,7 +22,7 @@
switch (@menu)
{
case 1:
- goto L_Heal;
+ goto L_Menu;
break;
case 2:
goto L_Help;