Jump to content
  • 0
Sign in to follow this  
zxoom

custom item function not working properly

Question

its function is to change the user's element when the item associated with this function is used. but it's not working properly. the user is being stone cursed when they used the item.

script:

 

function    script    endower    {    if(endostart == 0){        specialeffect2 583;        sc_start SC_FIREWEAPON,300000,1;        set endostart, 1;        end;    }    if(endostart == 1){        specialeffect2 257;        sc_start SC_WINDWEAPON,300000,1;        set endostart, 2;        end;    }    if(endostart == 2){        specialeffect2 258;        sc_start SC_WATERWEAPON,300000,1;        set endostart, 3;        end;    }    if(endostart == 3){        specialeffect2 255;        sc_start SC_EARTHWEAPON,300000,1;        set endostart, 4;        end;    }    if(endostart == 4){        specialeffect2 403;        sc_start SC_SHADOWWEAPON,300000,1;        set endostart, 0;        end;    }    } 

make it work for me please! thank you!

Edited by zxoom

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

because your SC is not updated replace all with this 

SC_PROPERTYFIRESC_PROPERTYWATERSC_PROPERTYWINDSC_PROPERTYGROUNDSC_PROPERTYUNDEADSC_PROPERTYDARKSC_PROPERTYTELEKINESIS

source: Status List 

Share this post


Link to post
Share on other sites
  • 0

because your SC is not updated replace all with this 

SC_PROPERTYFIRESC_PROPERTYWATERSC_PROPERTYWINDSC_PROPERTYGROUNDSC_PROPERTYUNDEADSC_PROPERTYDARKSC_PROPERTYTELEKINESIS

source: Status List 

 

Thanks! It's Working Like A Charm Now!!!

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...
Sign in to follow this  

×
×
  • Create New...

Important Information

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