custom item function not working properly

zxoom

New member
Messages
15
Points
0
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!

 
Last edited by a moderator:
because your SC is not updated replace all with this 

SC_PROPERTYFIRESC_PROPERTYWATERSC_PROPERTYWINDSC_PROPERTYGROUNDSC_PROPERTYUNDEADSC_PROPERTYDARKSC_PROPERTYTELEKINESIS
source: Status List 

 
Last edited by a moderator:
Back
Top