Ninjamon Posted February 27, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.02 Content Count: 295 Reputation: 2 Joined: 03/06/12 Last Seen: November 4, 2014 Share Posted February 27, 2013 My Walking Healer doesn't work! Can anyone help me? farebury,152,133,4 script Healer Angeling 1096,2,2,{ OnInit: initnpctimer; end; OnTimer15000: //15 seconds npcwalkto 175,230; end; OnTimer30000: npcwalkto 162,230; stopnpctimer; initnpctimer; end; OnTouch: if (Hp == MaxHp && Sp == MaxSp) { end; } npctalk "You're now healed ["+strcharinfo(0)+"]!"; skilleffect 28,9999; percentheal 100,100; sc_start SC_ANGELUS,.duration,10; // Angelus lvl 10 sc_start SC_BLESSING,.duration,10; // Blessing lvl 10 sc_start SC_INCREASEAGI,.duration,10; // Increase agi lvl 10 end; } Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted February 27, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted February 27, 2013 (edited) farebury,152,133,0 script Healer Angeling 1096,2,2,{ end; OnInit: initnpctimer; setarray .x[0],175,162; setarray .y[0],230,230; set .a,0; set .m$,"farebury"; end; OnTimer1000: getmapxy(.m$,.nowx,.nowy,1); if (.nowx != .x[.a] && .nowy != .y[.a] && .stop != 1) { npcwalkto .x[.a],.y[.a]; } else { set .a,.a+1; set .b,.b+1; if (.b < 15) end; set .b,0; if (.a >= getarraysize(.x)) set .a,0; } initnpctimer; end; OnTouch: if (Hp == MaxHp && Sp == MaxSp) end; npctalk "You're now healed ["+strcharinfo(0)+"]!"; skilleffect 28,9999; percentheal 100,100; sc_start SC_ANGELUS,.duration,10; // Angelus lvl 10 sc_start SC_BLESSING,.duration,10; // Blessing lvl 10 sc_start SC_INCREASEAGI,.duration,10; // Increase agi lvl 10 end; }Hope this helps Edited February 27, 2013 by nanakiwurtz Quote Link to comment Share on other sites More sharing options...
Rhamzkie Posted December 23, 2013 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 11/27/13 Last Seen: January 5, 2014 Share Posted December 23, 2013 not working Quote Link to comment Share on other sites More sharing options...
Capuche Posted December 24, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted December 24, 2013 Change .duration (not set) sc_start SC_ANGELUS,60000,10; // Angelus lvl 10 sc_start SC_BLESSING,60000,10; // Blessing lvl 10 sc_start SC_INCREASEAGI,60000,10; // Increase agi lvl 10 Quote Link to comment Share on other sites More sharing options...
Question
Ninjamon
My Walking Healer doesn't work!
Can anyone help me?
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.