BugSICK Posted February 13, 2018 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 87 Reputation: 1 Joined: 01/18/18 Last Seen: June 6, 2022 Share Posted February 13, 2018 i have this default script but i want to add identifier and repair all items, how to add it thanks - script Healer -1,{ .@Price = 0; // Zeny required for heal .@Buffs = 1; // Also buff players? (1: yes / 0: no) .@Delay = 3; // 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; 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) @HD = gettimetick(2) + .@Delay; end; } Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted February 13, 2018 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1281 Reputation: 170 Joined: 06/12/12 Last Seen: 1 hour ago Share Posted February 13, 2018 21 minutes ago, BugSICK said: i have this default script but i want to add identifier and repair all items, how to add it thanks - script Healer -1,{ .@Price = 0; // Zeny required for heal .@Buffs = 1; // Also buff players? (1: yes / 0: no) .@Delay = 3; // 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; 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) @HD = gettimetick(2) + .@Delay; end; } put this after percentheal 100,100; atcommand "@identifyall"; atcommand "@repairall"; Quote Link to comment Share on other sites More sharing options...
0 BugSICK Posted February 13, 2018 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 87 Reputation: 1 Joined: 01/18/18 Last Seen: June 6, 2022 Author Share Posted February 13, 2018 with the " "? Quote Link to comment Share on other sites More sharing options...
0 BugSICK Posted February 14, 2018 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 87 Reputation: 1 Joined: 01/18/18 Last Seen: June 6, 2022 Author Share Posted February 14, 2018 up Quote Link to comment Share on other sites More sharing options...
0 Alayne Posted February 14, 2018 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 342 Reputation: 170 Joined: 02/25/12 Last Seen: January 24, 2022 Share Posted February 14, 2018 That's how the atcommand script command should be used. atcommand "command text"; Quote Link to comment Share on other sites More sharing options...
Question
BugSICK
i have this default script but i want to add identifier and repair all items, how to add it thanks
- script Healer -1,{ .@Price = 0; // Zeny required for heal .@Buffs = 1; // Also buff players? (1: yes / 0: no) .@Delay = 3; // 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; 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) @HD = gettimetick(2) + .@Delay; end; }
Link to comment
Share on other sites
4 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.