karazu Posted May 17, 2012 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 374 Reputation: 5 Joined: 03/09/12 Last Seen: June 19, 2018 Share Posted May 17, 2012 Iam having problem adding repair all to my healer script can someone help me? prontera,151,186,5 script Healer#h1-1::Healer 436,{ percentheal 100,100; sc_start SC_BLESSING,.duration,10; // Blessing lvl 10 sc_start SC_INCREASEAGI,.duration,10; // Increase agi lvl 10 } morocc,159,96,5 duplicate(Healer) Healer#h1-2 742 ayothaya,155,111,5 duplicate(Healer) Healer#h1-3 742 geffen,121,61,5 duplicate(Healer) Healer#h1-4 742 umbala,94,162,5 duplicate(Healer) Healer#h1-5 742 payon,180,105,5 duplicate(Healer) Healer#h1-6 742 alberta,185,144,5 duplicate(Healer) Healer#h1-7 742 aldebaran,134,123,5 duplicate(Healer) Healer#h1-8 742 izlude,125,118,5 duplicate(Healer) Healer#h1-9 742 xmas,149,136,5 duplicate(Healer) Healer#h1-10 742 comodo,188,162,5 duplicate(Healer) Healer#h1-11 742 amatsu,200,80,5 duplicate(Healer) Healer#h1-12 742 gonryun,164,130,5 duplicate(Healer) Healer#h1-13 742 yuno,152,186,5 duplicate(Healer) Healer#h1-14 742 niflheim,188,180,5 duplicate(Healer) Healer#h1-15 742 louyang,225,103,5 duplicate(Healer) Healer#h1-16 742 anyone? Quote Link to comment Share on other sites More sharing options...
GM Takumirai Posted May 17, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Share Posted May 17, 2012 prontera,160,187,5 script Nurse Mechanic 469,{ if (countitem(7037) > 1) goto go1; //change itemID if (countitem(7037) < 1) goto go2; //change itemID go1: while(getbrokenid(1)) repair(1); percentheal 100,100; sc_start SC_BLESSING,400000,10; sc_start SC_INCREASEAGI,400000,10; end; go2: while(getbrokenid(1)) repair(1); sc_start SC_BLESSING,400000,10; sc_start SC_INCREASEAGI,400000,10; end; } this is my server healer npc that requires item so you can get some buffs if you have that item, just change the item ID Quote Link to comment Share on other sites More sharing options...
darking123 Posted May 17, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Share Posted May 17, 2012 (edited) try this prontera,151,186,5 script Healer#h1-1::Healer 436,{ atcommand "@repairall"; percentheal 100,100; sc_start SC_BLESSING,.duration,10; // Blessing lvl 10 sc_start SC_INCREASEAGI,.duration,10; // Increase agi lvl 10 } morocc,159,96,5 duplicate(Healer) Healer#h1-2 742 ayothaya,155,111,5 duplicate(Healer) Healer#h1-3 742 geffen,121,61,5 duplicate(Healer) Healer#h1-4 742 umbala,94,162,5 duplicate(Healer) Healer#h1-5 742 payon,180,105,5 duplicate(Healer) Healer#h1-6 742 alberta,185,144,5 duplicate(Healer) Healer#h1-7 742 aldebaran,134,123,5 duplicate(Healer) Healer#h1-8 742 izlude,125,118,5 duplicate(Healer) Healer#h1-9 742 xmas,149,136,5 duplicate(Healer) Healer#h1-10 742 comodo,188,162,5 duplicate(Healer) Healer#h1-11 742 amatsu,200,80,5 duplicate(Healer) Healer#h1-12 742 gonryun,164,130,5 duplicate(Healer) Healer#h1-13 742 yuno,152,186,5 duplicate(Healer) Healer#h1-14 742 niflheim,188,180,5 duplicate(Healer) Healer#h1-15 742 louyang,225,103,5 duplicate(Healer) Healer#h1-16 742 Edited May 17, 2012 by glemor123 Quote Link to comment Share on other sites More sharing options...
Rikimaru Posted May 17, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 658 Reputation: 57 Joined: 11/20/11 Last Seen: July 1, 2017 Share Posted May 17, 2012 As you can check in my Scripts SVN you can add this to the script from my Refiner,so it'll look like this : prontera,151,186,5 script Healer#h1-1::Healer 436,{ percentheal 100,100; sc_start SC_BLESSING,.duration,10; // Blessing lvl 10 sc_start SC_INCREASEAGI,.duration,10; // Increase agi lvl 10 while (getbrokenid(1)) { repair(1); set .@i, .@i +1; } if (.@i) dispbottom .@i + " items repaired."; end; } morocc,159,96,5 duplicate(Healer) Healer#h1-2 742 ayothaya,155,111,5 duplicate(Healer) Healer#h1-3 742 geffen,121,61,5 duplicate(Healer) Healer#h1-4 742 umbala,94,162,5 duplicate(Healer) Healer#h1-5 742 payon,180,105,5 duplicate(Healer) Healer#h1-6 742 alberta,185,144,5 duplicate(Healer) Healer#h1-7 742 aldebaran,134,123,5 duplicate(Healer) Healer#h1-8 742 izlude,125,118,5 duplicate(Healer) Healer#h1-9 742 xmas,149,136,5 duplicate(Healer) Healer#h1-10 742 comodo,188,162,5 duplicate(Healer) Healer#h1-11 742 amatsu,200,80,5 duplicate(Healer) Healer#h1-12 742 gonryun,164,130,5 duplicate(Healer) Healer#h1-13 742 yuno,152,186,5 duplicate(Healer) Healer#h1-14 742 niflheim,188,180,5 duplicate(Healer) Healer#h1-15 742 louyang,225,103,5 duplicate(Healer) Healer#h1-16 742 This script is going to heal and buff the player, + if he/she has broken items,the items will be repaired and they will have a Message in the Chat,with the Item Name,which was repaired. Quote Link to comment Share on other sites More sharing options...
Question
karazu
Iam having problem adding repair all to my healer script can someone help me?
anyone?
Link to comment
Share on other sites
3 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.