Jump to content

Question

Posted (edited)

if player have this >item id  2933 or if player have this >item id  29434 it will give heal..

script below please help me

 

specialeffect(EF_HEAL2, AREA, playerattached()); percentheal 100,100;
   if ( countitem( 29333 ) )
   if ( countitem( 29334 ) ) {

    specialeffect2 (EF_INCAGILITY, AREA, playerattached()); sc_start SC_INCREASEAGI,240000,10;
    specialeffect2 (EF_BLESSING, AREA, playerattached()); sc_start SC_BLESSING,240000,10; 
    specialeffect2 EF_INCAGILITY;
    specialeffect2 EF_BLESSING; }
    set TimeHealed, gettimetick(2);
 

healer.txt

Edited by salmanshaikh14
better understanding

2 answers to this question

Recommended Posts

  • 0
Posted
7 hours ago, salmanshaikh14 said:

if player have this >item id  2933 or if player have this >item id  29434 it will give heal..

script below please help me

 

specialeffect(EF_HEAL2, AREA, playerattached()); percentheal 100,100;
   if ( countitem( 29333 ) )
   if ( countitem( 29334 ) ) {

    specialeffect2 (EF_INCAGILITY, AREA, playerattached()); sc_start SC_INCREASEAGI,240000,10;
    specialeffect2 (EF_BLESSING, AREA, playerattached()); sc_start SC_BLESSING,240000,10; 
    specialeffect2 EF_INCAGILITY;
    specialeffect2 EF_BLESSING; }
    set TimeHealed, gettimetick(2);
 

healer.txt

 

if ( countitem(#) || countitem(#) ) {
  // DO STUFF
}

 

  • 0
Posted

specialeffect(EF_HEAL2, AREA, playerattached()); percentheal 100,100;
   if ( countitem( 2933 ) || countitem( 29434) ) {
    specialeffect2 (EF_INCAGILITY, AREA, playerattached()); sc_start SC_INCREASEAGI,240000,10;
    specialeffect2 (EF_BLESSING, AREA, playerattached()); sc_start SC_BLESSING,240000,10; 
    specialeffect2 EF_INCAGILITY;
    specialeffect2 EF_BLESSING; }
    set TimeHealed, gettimetick(2);

 

Rynbef~

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