2. Ive been trying to make it so that when you reborn if you reborn to a different class than you were any equipment that your wearing that now isn't compatible with your class is put unequipped and put into your inventory once its been reduced to minimum stats, So far ive been able to make it remove equips but it removes them no matter what class you are even if your the correct class, This is what i have so far:
Code:
foreach (Interfaces.IConquerItem item in Equipment.Objects)
if (item != null)
{
Database.ConquerItemBaseInformation BaseInformation = new Database.ConquerItemInformation(item.ID, item.Plus).BaseInformation;
if (BaseInformation.Class != Entity.Class)
{
Equipment.Remove(1);
Equipment.Remove(2);
Equipment.Remove(3);
Equipment.Remove(4);
Equipment.Remove(5);
}
}






