Akbare Posted May 3, 2016 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 491 Reputation: 20 Joined: 11/19/11 Last Seen: June 5, 2023 Share Posted May 3, 2016 (edited) my idea under 30% HP npc can use heal upper 30% HP npc can't heal this my script my problem : he did heal continuous prontera,166,66,4 script Free Healer 113,{ if (MaxHprate < 30) dispbottom "free healer"; percentheal 30,30; skilleffect 28,0; } else { mes "Maaf kamu tidak bisa menggunakan layanan ini"; close; } thanks for advance Edited May 3, 2016 by Akbare Quote Link to comment Share on other sites More sharing options...
0 benching Posted May 3, 2016 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 350 Reputation: 43 Joined: 09/07/12 Last Seen: August 30, 2019 Share Posted May 3, 2016 percentheal 100,100; 1 Quote Link to comment Share on other sites More sharing options...
0 sotf Posted May 3, 2016 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 173 Reputation: 9 Joined: 11/14/12 Last Seen: June 7, 2023 Share Posted May 3, 2016 (edited) prontera,166,66,4 script Free Healer 113,{ if (Hp = MaxHP*0.3) { dispbottom "free healer"; percentheal 30,30; skilleffect 28,0; } else { mes "Maaf kamu tidak bisa menggunakan layanan ini"; close; } Not sure if that's right, but there you go. (not really sure if 0.3 will work or not hahaha). other special variables: https://rathena.org/board/topic/72019-where-i-can-find-default-variables-of-game/?p=143798 Edited May 3, 2016 by sotf 1 Quote Link to comment Share on other sites More sharing options...
0 Akbare Posted May 3, 2016 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 491 Reputation: 20 Joined: 11/19/11 Last Seen: June 5, 2023 Author Share Posted May 3, 2016 (edited) prontera,166,66,4 script Free Healer 113,{ if (Hp = MaxHP*0.3) { dispbottom "free healer"; percentheal 30,30; skilleffect 28,0; } else { mes "Maaf kamu tidak bisa menggunakan layanan ini"; close; } Not sure if that's right, but there you go. (not really sure if 0.3 will work or not hahaha). other special variables: https://rathena.org/board/topic/72019-where-i-can-find-default-variables-of-game/?p=143798 hahhaa thanks for help but there is error if (Hp = MaxHP*0.3) { i can try other variables, maybe someone can help me Edited May 3, 2016 by Akbare Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted May 3, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted May 3, 2016 if ( Hp < ( Hp * 3 / 10 ) ) { percentheal 100,100; } end; 1 Quote Link to comment Share on other sites More sharing options...
0 Akbare Posted May 3, 2016 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 491 Reputation: 20 Joined: 11/19/11 Last Seen: June 5, 2023 Author Share Posted May 3, 2016 if ( Hp < ( Hp * 3 / 10 ) ) { percentheal 100,100; } end; not working sir HP < 30% npc can heal player but HP >30% npc can't heal prontera,166,66,4 script Free Healer 113,{ if ( Hp < ( Hp * 3 / 10 ) ) { percentheal 100,100; mes "THis Heal power for you"; close; } mes "can't heal"; close; } Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted May 3, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted May 3, 2016 if ( Hp < ( MaxHp * 3 / 10 ) ) { Quote Link to comment Share on other sites More sharing options...
Question
Akbare
my idea
under 30% HP npc can use heal
upper 30% HP npc can't heal
this my script
my problem : he did heal continuous
thanks for advance
Edited by AkbareLink 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.