greenieken Posted December 21, 2012 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 154 Reputation: 1 Joined: 05/02/12 Last Seen: June 5, 2020 Share Posted December 21, 2012 Can I request for a healer with buffs that when i player respawn to a certain map, he will automatically be healed and buffs. Thanks e.g map prontera Quote Link to comment Share on other sites More sharing options...
Mootie Posted December 21, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 815 Reputation: 86 Joined: 10/26/12 Last Seen: June 10, 2022 Share Posted December 21, 2012 (edited) prontera,150,180,4 script Healer 100,{ end; OnInit: OnTimer3000: initnpctimer; getmapxy(.@m$,.@x,.@y,1,strnpcinfo(0)); areapercentheal .@m$,.@x-5,.@y-5,.@x+5,.@y+5,3,3; sc_start SC_BLESSING,360000,10; sc_start SC_INCREASEAGI,360000,10; specialeffect 76; specialeffect 83; end; } not tested yet let me know if there's error Edited December 21, 2012 by Mootie Quote Link to comment Share on other sites More sharing options...
Capuche Posted December 21, 2012 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 21, 2012 not tested yet let me know if there's error There's an error ! XD In your script Mootie, player is not attached ! I propose: prontera,150,180,4 script Healer -1,{ OnPCLoadMapEvent: percentheal 100,100; sc_start SC_BLESSING,360000,10; sc_start SC_INCREASEAGI,360000,10; specialeffect 76; specialeffect 83; end; } prontera mapflag loadevent When a player warp on Prontera, heal+agi+bless or this one: prontera,150,180,4 script Healertfgfdssd 456,20,20,{ percentheal 100,100; sc_start SC_BLESSING,360000,10; sc_start SC_INCREASEAGI,360000,10; specialeffect 76; specialeffect 83; end; } Work when a player is near of the NPC. Quote Link to comment Share on other sites More sharing options...
greenieken Posted December 21, 2012 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 154 Reputation: 1 Joined: 05/02/12 Last Seen: June 5, 2020 Author Share Posted December 21, 2012 @capuche it is working, but not in prontera only. you get buffed and healed when warping in anymap xD i want it to be in prontera only. Quote Link to comment Share on other sites More sharing options...
Capuche Posted December 23, 2012 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 23, 2012 It works for me. Do you have the mapflag loadevent ? http://rathena.org/wiki/OnPCLoadMapEvent prontera mapflag loadevent If it doesn't work, just add if( strcharinfo(3) != "prontera" ) end; after OnPCLoadMapEvent: (like this) prontera,150,180,4 script Healer -1,{ OnPCLoadMapEvent: if( strcharinfo(3) != "prontera" ) end; percentheal 100,100; sc_start SC_BLESSING,360000,10; sc_start SC_INCREASEAGI,360000,10; specialeffect 76; specialeffect 83; end; } prontera mapflag loadevent Quote Link to comment Share on other sites More sharing options...
Question
greenieken
Can I request for a healer with buffs that when i player respawn to a certain map, he will automatically be healed and buffs. Thanks
e.g map prontera
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.