ahloi007 Posted August 2, 2021 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 78 Reputation: 1 Joined: 10/15/12 Last Seen: May 23, 2023 Share Posted August 2, 2021 Good Day rAthena, Im here to request a multi function healer npc as below function: - Option to choose. Heal = Free Heal + Buff = with cost Anyone can provide me this healer npc? Thanks! Quote Link to comment Share on other sites More sharing options...
1 cook1e Posted August 2, 2021 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 172 Reputation: 68 Joined: 10/25/20 Last Seen: 13 hours ago Share Posted August 2, 2021 prontera,155,173,5 script Healer 123,{ .@Price = 1000; // Zeny Cost mes "[Healer]"; mes "Hello " + strcharinfo(0) + "."; mes "What you want?"; next; switch(select("Free Healer:Paid Healer")) { case 1: mes "[Healer]"; mes "You only will get Heal."; switch(select("Yes, please.:No, thanks.")) { case 1: specialeffect2 EF_HEAL2; percentheal 100,100; close; case 2: mes "As you wish."; close; } case 2: mes "[Healer]"; mes "Paid Healer will give you Heal + Buffs."; switch(select("Yes, please.:No, thanks.")) { case 1: if (Zeny < .@Price) end; specialeffect2 EF_HEAL2; percentheal 100,100; specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,240000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10; Zeny -= .@Price; close; case 2: mes "As you wish."; close; } } } 1 Quote Link to comment Share on other sites More sharing options...
0 ahloi007 Posted August 3, 2021 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 78 Reputation: 1 Joined: 10/15/12 Last Seen: May 23, 2023 Author Share Posted August 3, 2021 On 8/3/2021 at 3:37 AM, cook1e said: prontera,155,173,5 script Healer 123,{ .@Price = 1000; // Zeny Cost mes "[Healer]"; mes "Hello " + strcharinfo(0) + "."; mes "What you want?"; next; switch(select("Free Healer:Paid Healer")) { case 1: mes "[Healer]"; mes "You only will get Heal."; switch(select("Yes, please.:No, thanks.")) { case 1: specialeffect2 EF_HEAL2; percentheal 100,100; close; case 2: mes "As you wish."; close; } case 2: mes "[Healer]"; mes "Paid Healer will give you Heal + Buffs."; switch(select("Yes, please.:No, thanks.")) { case 1: if (Zeny < .@Price) end; specialeffect2 EF_HEAL2; percentheal 100,100; specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,240000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10; Zeny -= .@Price; close; case 2: mes "As you wish."; close; } } } Thanks for your reply! I will try it when I reach home! Very appreciated Thanks for the script! Quote Link to comment Share on other sites More sharing options...
Question
ahloi007
Good Day rAthena,
Im here to request a multi function healer npc as below function: -
Option to choose.
Heal = Free
Heal + Buff = with cost
Anyone can provide me this healer npc?
Thanks!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.