I did my own swords, using new saber code. But i want em to not use matter like basic sword.
if ( this.class === sdGun.CLASS_SABER_BLUE )
{
return 0;
}
if ( this.class === sdGun.CLASS_SABER_RED )
{
return 0;
}
if ( this.class === sdGun.CLASS_SABER_GREEN )
{
return 0;
}
if ( this.class === sdGun.CLASS_SABER_BLACK )
{
return 0;
}
if ( this.class === sdGun.CLASS_SABER_WHITE )
{
return 0;
}
if ( this.class === sdGun.CLASS_SABER_YELLOW )
{
return 0;
}
if ( this.class === sdGun.CLASS_SABER_PURPLE )
{
return 0;
}
This is the code. Idk why it still needs matter! Help please
EDIT : SOLVED BY THIS WITH _is_sword