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

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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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