diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-07 23:49:36 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-07 23:49:36 -0300 |
commit | 293be6e1a929e0d9447087160556b84b6b10ca2f (patch) | |
tree | 0c06eedef24bf76ef709ad896913ce63091f4499 /npc/005-7 | |
parent | c48f0fe218c955e8408299b38c685ffaeecce275 (diff) | |
download | serverdata-293be6e1a929e0d9447087160556b84b6b10ca2f.tar.gz serverdata-293be6e1a929e0d9447087160556b84b6b10ca2f.tar.bz2 serverdata-293be6e1a929e0d9447087160556b84b6b10ca2f.tar.xz serverdata-293be6e1a929e0d9447087160556b84b6b10ca2f.zip |
Nurse()
Diffstat (limited to 'npc/005-7')
-rw-r--r-- | npc/005-7/nurse.txt | 58 |
1 files changed, 2 insertions, 56 deletions
diff --git a/npc/005-7/nurse.txt b/npc/005-7/nurse.txt index 78b42c29f..c6c7c1401 100644 --- a/npc/005-7/nurse.txt +++ b/npc/005-7/nurse.txt @@ -70,62 +70,8 @@ L_Help: close; L_Heal: - mes ""; - mesn; - .@temp = rand(4); - if(.@temp == 1) goto L_Heal2; - if(.@temp == 2) goto L_Heal3; - if(.@temp == 3) goto L_Heal4; - goto L_Heal1; - - -L_Heal1: - mesq l("You don't look too well; let me treat your wounds."); - mes ""; - goto L_Menu; - -L_Heal2: - mesq l("I will make quick work of your wounds."); - mes ""; - goto L_Menu; - -L_Heal3: - mesq l("Need a healing?"); - mes ""; - goto L_Menu; - -L_Heal4: - mesq l("Sometimes you just need to run from battle."); - mes ""; - goto L_Menu; - -L_Menu: - .@price=(MaxHp-Hp)/5; - .@price=.@price+10; - if (BaseLevel <= 15) .@price=(.@price/10); - else if (BaseLevel <= 20) .@price=(.@price/5); - else .@price=(.@price/2); - mesq l("For you, it'll be @@ GP.", .@price); - mes ""; - menu - rif(Zeny >= .@price, l("Please heal me!")), L_Heal_L, - l("Another time, maybe."), L_Close; - - -L_Heal_L: - mes ""; - set Zeny, Zeny - .@price; - sc_end(SC_POISON); - sc_end(SC_SLOWPOISON); - percentheal 100,100; // We can also use "recovery(<account id>)" - mesn; - @temp = rand(1,4); - if(@temp == 1) mesq l("Here you go!"); - if(@temp == 2) mesq l("Painless, wasn't it?"); - if(@temp == 3) mesq l("You should be more careful."); - if(@temp == 4) mesq l("Much better, right?!"); - goto L_Close; - + Nurse(.name$, 10, 5); + close; L_Close: close; |