From de610b85b509363bf31c450106c01cd5591c54f7 Mon Sep 17 00:00:00 2001 From: jesusalva Date: Wed, 7 Mar 2018 00:51:21 -0300 Subject: If you're under 90% of HP, Candor Nurse will be professional. Otherwise she asks for candies. --- npc/005-7/nurse.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'npc/005-7') 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; -- cgit v1.2.3-60-g2f50