Jump to content
  • 0

Healer Request


Sook103

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   1
  • Joined:  03/31/15
  • Last Seen:  

Hey i would to request an one click healer that has agi and blessing + repair all if any broken Eq

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   31
  • Joined:  07/08/14
  • Last Seen:  

amatsu,235,237,4	script	healer	925,{
	end;
OnInit:
	freeloop(1);
	getmapxy( .m$, .x, .y, 1, strnpcinfo(0) );
OnTimer5000:
	initnpctimer;
	addrid( 4, 0, .x-15, .y-15, .x+15, .y+15 );
	if( playerattached() ) {
		getinventorylist;
		.@len = @inventorylist_count;
		copyarray .@inventorylist_id, @inventorylist_id, .@len;
		copyarray .@inventorylist_identify, @inventorylist_identify, .@len;
		for ( .@j = 0; .@j < .@len; .@j++ ) {
			if ( !.@inventorylist_identify[.@j] ) {
				delitem2 .@inventorylist_id[.@j], 1, 0, 0, 0, 0, 0, 0, 0;
				getitem .@inventorylist_id[.@j], 1;
			}
		}
		if( HP < MAXHP ) {
			specialeffect2 EF_HEAL2;
			percentheal 100, 100;
		}
		repairall;
	}
}

I have this in stock, I never used it and I don't even know who it belongs to xD

 

It'll heal, identify, repair all players around it every 5 seconds

oh sry I forgot blessing and agi

amatsu,235,237,4	script	healer	925,{ //30 32
	end;
OnInit:
	freeloop(1);
	getmapxy( .m$, .x, .y, 1, strnpcinfo(0) );
OnTimer5000:
	initnpctimer;
	addrid( 4, 0, .x-15, .y-15, .x+15, .y+15 );
	if( playerattached() ) {
		getinventorylist;
		.@len = @inventorylist_count;
		copyarray .@inventorylist_id, @inventorylist_id, .@len;
		copyarray .@inventorylist_identify, @inventorylist_identify, .@len;
		for ( .@j = 0; .@j < .@len; .@j++ ) {
			if ( !.@inventorylist_identify[.@j] ) {
				delitem2 .@inventorylist_id[.@j], 1, 0, 0, 0, 0, 0, 0, 0;
				getitem .@inventorylist_id[.@j], 1;
			}
		}
		if( HP < MAXHP ) {
			specialeffect2 EF_HEAL2;
			percentheal 100, 100;
		}
		if (!getstatus(30)) sc_start 30,240000,10;
		if (!getstatus(32))sc_start 32,240000,10;
		repairall;
	}
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   1
  • Joined:  03/31/15
  • Last Seen:  

Thx  i will try it out

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...