cassie24 Posted June 13, 2014 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 60 Reputation: 0 Joined: 04/25/14 Last Seen: October 31, 2014 Share Posted June 13, 2014 Using rAthena's healer script. Can someone change it to like this.. If player is below level 85. Player can use the healer for free without buffs and w/ 10 seconds delay. If player is above level 85. Player can no longer use all the healer NPC's functions. Thank you! Quote Link to comment Share on other sites More sharing options...
Emistry Posted June 13, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 35 minutes ago Share Posted June 13, 2014 try http://pastebin.com/raw.php?i=BKvPigrv Quote Link to comment Share on other sites More sharing options...
cassie24 Posted June 13, 2014 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 60 Reputation: 0 Joined: 04/25/14 Last Seen: October 31, 2014 Author Share Posted June 13, 2014 Thanks but how to make the npc have a message window advising players above lvl 85 that they are already excluded for the npc functions? Quote Link to comment Share on other sites More sharing options...
Emistry Posted June 13, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 35 minutes ago Share Posted June 13, 2014 if( BaseLevel > 85 ){ mes "I dont heal if level above 85!"; close; } Quote Link to comment Share on other sites More sharing options...
cassie24 Posted June 13, 2014 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 60 Reputation: 0 Joined: 04/25/14 Last Seen: October 31, 2014 Author Share Posted June 13, 2014 (edited) Thanks very much! Can u make me another version though? If player is below level 85. Player can use the healer for free without buffs and w/ 10 seconds delay. If player is above level 85. Player can use the healer for an amount of zeny (with npc message advising the player about this) without buffs and w/ 10 seconds delay. Edited June 13, 2014 by cassie24 Quote Link to comment Share on other sites More sharing options...
Emistry Posted June 13, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 35 minutes ago Share Posted June 13, 2014 if( BaseLevel > 85 ){ set .@Price,12345; // Zeny required for heal } else{ set .@Price,0; // Zeny required for heal } set .@Buffs,0; // Also buff players? (1: yes / 0: no) set .@Delay,10; // Heal delay, in seconds Quote Link to comment Share on other sites More sharing options...
cassie24 Posted June 13, 2014 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 60 Reputation: 0 Joined: 04/25/14 Last Seen: October 31, 2014 Author Share Posted June 13, 2014 Thanks but again, how to make the npc have a message window advising players above lvl 85 about the price, emistry? if( BaseLevel > 85 ){ set .@Price,12345; // Zeny required for heal } else{ set .@Price,0; // Zeny required for heal } set .@Buffs,0; // Also buff players? (1: yes / 0: no) set .@Delay,10; // Heal delay, in seconds Btw this doesnt work. I get free heal, my character is lv 98. I tried lv 1 novice and 85+ character with this script http://pastebin.com/raw.php?i=BKvPigrv, the npc cant be clicked. Done, tweaked it like this and it worked - script Healer -1,{ if( BaseLevel < 85 ){ set .@Price,0; // Zeny required for heal set .@Buffs,0; // Also buff players? (1: yes / 0: no) set .@Delay,10; // Heal delay, in seconds } else{ mes "[Healer]"; mes "LOREM IPSUM "; mes " "; mes "LOREM IPSUM "; mes " "; mes "^777777Delay: 3 minutes^000000"; next; set .@Price,30000; // Zeny required for heal set .@Buffs,0; // Also buff players? (1: yes / 0: no) set .@Delay,180000; // Heal delay, in seconds } if( BaseLevel < 50 ){ mes "[Healer]"; mes " LOREM IPSUM "; mes " "; mes "^777777Delay: 10 secs^000000"; next; set .@Price,0; // Zeny required for heal set .@Buffs,1; // Also buff players? (1: yes / 0: no) set .@Delay,10; // Heal delay, in seconds } if (@HD > gettimetick(2)) end; if (.@Price) { message strcharinfo(0),"Healing costs "+callfunc("F_InsertComma",.@Price)+" Zeny."; if (Zeny < .@Price) end; if(select("^0055FFHeal^000000:^777777Cancel^000000") == 2) end; set Zeny, Zeny-.@Price; } specialeffect2 EF_HEAL2; percentheal 100,100; if (.@Buffs) { specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,240000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10; } if (.@Delay) set @HD, gettimetick(2)+.@Delay; end; } Quote Link to comment Share on other sites More sharing options...
Question
cassie24
Using rAthena's healer script. Can someone change it to like this..
Thank you!
Link to comment
Share on other sites
6 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.