case SC_ARMOR_ELEMENT:
// val1 = water | val2 = earth | val3 = fire | val4 = wind
if( sd ) {
if (val1 > 0)
clif_status_change(&sd->bl,SI_PROPERTY_WATER,1,0,0,0,0);
else
clif_status_change(&sd->bl,SI_PROPERTY_WATER,0,0,0,0,0);
if (val2 > 0)
clif_status_change(&sd->bl,SI_PROPERTY_EARTH,1,0,0,0,0);
else
clif_status_change(&sd->bl,SI_PROPERTY_EARTH,0,0,0,0,0);
if (val3 > 0)
clif_status_change(&sd->bl,SI_PROPERTY_FIRE,1,0,0,0,0);
else
clif_status_change(&sd->bl,SI_PROPERTY_FIRE,0,0,0,0,0);
if (val4 > 0)
clif_status_change(&sd->bl,SI_PROPERTY_WIND,1,0,0,0,0);
else
clif_status_change(&sd->bl,SI_PROPERTY_WIND,0,0,0,0,0);
}
case SC_ARMOR_RESIST: