Mr BrycE Posted May 1, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Share Posted May 1, 2012 hi, i want to add a repairall weapon and equips when they respawn. what will i add? Quote Link to comment Share on other sites More sharing options...
llchrisll Posted May 1, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted May 1, 2012 Respawn from what? Some more information please o.o Regards, Chris Quote Link to comment Share on other sites More sharing options...
Emistry Posted May 1, 2012 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 1, 2012 try add this in your NPC that will be trigger upon respwan while( getbrokenid(1) != 0 ) repair getbrokenid(1); Quote Link to comment Share on other sites More sharing options...
Mr BrycE Posted May 1, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Author Share Posted May 1, 2012 bat_b02,10,294,3 script Battle Therapist#b02_a 95,{ skilleffect 28,32000; percentheal 100,100; mes "[battle Therapist]"; mes "Just close your eyes,"; mes "and take a deep breath."; mes "You can be free from pain."; close; here.. how will i put while( getbrokenid(1) != 0 ) repair getbrokenid(1); Quote Link to comment Share on other sites More sharing options...
llchrisll Posted May 1, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted May 1, 2012 After this I would say: skilleffect 28,32000; percentheal 100,100; Quote Link to comment Share on other sites More sharing options...
Emistry Posted May 1, 2012 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 1, 2012 how will i put just put before your script end ( close; end; close2; etc.. ) or wherever inside the body of the script... Quote Link to comment Share on other sites More sharing options...
Mr BrycE Posted May 1, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Author Share Posted May 1, 2012 ok thank you for your help. ! can i add to the script like this? atcommand "@repairall"; ?? Quote Link to comment Share on other sites More sharing options...
Emistry Posted May 1, 2012 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 1, 2012 yes...up to you ~ the different is just ...if you server have atcommand log.. then your server will surely flooded with @repairall command Quote Link to comment Share on other sites More sharing options...
Mr BrycE Posted May 1, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Author Share Posted May 1, 2012 ok thank you again sir! Quote Link to comment Share on other sites More sharing options...
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 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 } can i add atcommand "@repairall"; in this? 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 sharing this prontera,160,187,5 script Nurse Mechanic 469,{if (countitem(7037) > 1) goto go1; //change the item you want if (countitem(7037) < 1) goto go2; //change the item you want 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; } - purpose is if you have this item you have the ability to heal your player - if no items you just have buffs.. Quote Link to comment Share on other sites More sharing options...
Question
Mr BrycE
hi, i want to add a repairall weapon and equips when they respawn. what will i add?
Link to comment
Share on other sites
10 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.