Jump to content
  • 0
garro

Heal only in Woe

Question

 

Hello community, I found this npc somewhere in the forum, I would like it to only heal when woe starts, and to say this disbottom we are woe I only give heal

heal.txt

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
getinventorylist;
while( .@i < @inventorylist_count ){
	if ( !@inventorylist_identify[.@i] ){
		delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0;
		getitem @inventorylist_id[.@i],1;
	}
	.@i++;
}

bad code

actually there are some items that are drop with cards, or item options (example crimson weapons)
https://rathena.org/board/topic/118245-error-buildin_delitem2-failed-to-delete-1-items/?do=findComment&comment=357700

we either need a getitem3/delitem3 script command or identifyall script command ... we missing both of them right now

 

and for your answer
just add if ( agitcheck() || agitcheck2() ) ... something like that

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.