Jump to content
  • 0

healer problem


VladimirCastro

Question


  • Group:  Members
  • Topic Count:  114
  • Topics Per Day:  0.03
  • Content Count:  298
  • Reputation:   4
  • Joined:  03/13/12
  • Last Seen:  

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.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

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