Jump to content

Question

Posted
Askydun,84,109,4	script	Healer#Askydun	950,{
percentheal 100,100;
skilleffect 479,0; sc_start SC_FULLPROTECTION,360000,5;

}

i want it like if player doesnt have The bottle they wont get fp by npc. and the npc will tell that they dont have BOttle but still they can be healed.

1 answer to this question

Recommended Posts

Posted

try this

Askydun,84,109,4	script	Healer#Askydun	950,{
     percentheal 100,100;
     if (countitem(7139) > 0) { //7139 - Glistening Coat
          skilleffect 479,0; sc_start SC_FULLPROTECTION,360000,5;
          delitem 7139,1; //Delete 1 Glistening Coat
     }
     end;
}
  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...