Spectator Posted June 1, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 63 Reputation: 0 Joined: 01/09/13 Last Seen: June 27, 2013 Share Posted June 1, 2013 (edited) - script Healer -1,{ set .@Price,0; // Zeny required for heal set .@Buffs,0; // Also buff players? (1: yes / 0: no) set .@Delay,0; // Heal delay, in seconds if (@HD > gettimetick(2)) end; if (.@Price) { message strcharinfo(0),"Healing costs "+.@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; } hi to all anyone can help me how to add auto repair and identify items? Edited June 1, 2013 by Spectator Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 1, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 1, 2013 - script Healer -1,{ set .@Price,0; // Zeny required for heal set .@Buffs,1; // Also buff players? (1: yes / 0: no) set .@Delay,1; // Heal delay, in seconds if (@HD > gettimetick(2)) end; if (.@Price) { message strcharinfo(0),"Healing costs "+.@Price+" Zeny."; if (Zeny < .@Price) end; if(select("^0055FFHeal^000000:^777777Cancel^000000") == 2) end; set Zeny, Zeny-.@Price; } specialeffect2 EF_HEAL2; percentheal 100,100; atcommand "@repairall " + strcharinfo(0); getinventorylist; for (set .@j, 0; .@j < @inventorylist_count; set .@j, .@j + 1) { if (!@inventorylist_identify[.@j]) { delitem2 @inventorylist_id[.@j],1,0,0,0,0,0,0,0; getitem @inventorylist_id[.@j],1; } } 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; } 1 Quote Link to comment Share on other sites More sharing options...
Spectator Posted June 1, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 63 Reputation: 0 Joined: 01/09/13 Last Seen: June 27, 2013 Author Share Posted June 1, 2013 thanks works great! Quote Link to comment Share on other sites More sharing options...
Question
Spectator
hi to all anyone can help me how to add auto repair and identify items?
Edited by SpectatorLink 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.