Hey guys, I am currently working on some code that will allow players to start their own CTFs, FFAs and Battle of Winds. What I need from you guys is a general list/value of items.
That format would be great. For weapons, I need a base value for ruin to vanq then extra value for the modifiers. Same thing for armor. It would be great if you guys could just provide me with values for anything that comes to mind. Thanks!
Code:
public int WeaponValue(BaseWeapon w)
{
int value = 0;
if (w.DamageLevel == WeaponDamageLevel.Regular)
{
value += 300;
}
if (w.DamageLevel == WeaponDamageLevel.Ruin)
{
value += 5000;
}
if (w.DamageLevel == WeaponDamageLevel.Might)
{
value += 5000;
}
if (w.DamageLevel == WeaponDamageLevel.Power)
{
value += 5000;
}
if (w.DamageLevel == WeaponDamageLevel.Vanq)
{
value += 5000;
}
if (w.Quality == WeaponQuality.Exceptional)
{
value += 5000;
}
if (w.Slayer > SlayerName.None)
{
value += 5000;
}
if (w.AccuracyLevel == WeaponAccuracyLevel.Regular)
{
value += 5000;
}
if (w.AccuracyLevel == WeaponAccuracyLevel.Accurate)
{
value += 5000;
}
if (w.AccuracyLevel == WeaponAccuracyLevel.Surpassingly)
{
value += 5000;
}
if (w.AccuracyLevel == WeaponAccuracyLevel.Eminently)
{
value += 5000;
}
if (w.AccuracyLevel == WeaponAccuracyLevel.Exceedingly)
{
value += 5000;
}
if (w.AccuracyLevel == WeaponAccuracyLevel.Supremely)
{
value += 5000;
}
return value;
}
public int ArmorValue(BaseArmor a)
{
int value = 0;
if (a.MaterialType == ArmorMaterialType.Plate)
{
value += 300;
}
if (a.MaterialType == ArmorMaterialType.Barbed)
{
value += 300;
}
if (a.MaterialType == ArmorMaterialType.Bone)
{
value += 300;
}
if (a.MaterialType == ArmorMaterialType.Chainmail)
{
value += 300;
}
if (a.MaterialType == ArmorMaterialType.Dragon)
{
value += 300;
}
if (a.MaterialType == ArmorMaterialType.Horned)
{
value += 300;
}
if (a.MaterialType == ArmorMaterialType.Leather)
{
value += 300;
}
if (a.MaterialType == ArmorMaterialType.Ringmail)
{
value += 300;
}
if (a.MaterialType == ArmorMaterialType.Spined)
{
value += 300;
}
if (a.MaterialType == ArmorMaterialType.Studded)
{
value += 300;
}
if (a.Quality == ArmorQuality.Exceptional)
{
value += 300;
}
if (a.ProtectionLevel == ArmorProtectionLevel.Regular)
{
value += 300;
}
if (a.ProtectionLevel == ArmorProtectionLevel.Defense)
{
value += 300;
}
if (a.ProtectionLevel == ArmorProtectionLevel.Guarding)
{
value += 300;
}
if (a.ProtectionLevel == ArmorProtectionLevel.Hardening)
{
value += 300;
}
if (a.ProtectionLevel == ArmorProtectionLevel.Fortification)
{
value += 300;
}
if (a.ProtectionLevel == ArmorProtectionLevel.Invulnerability)
{
value += 300;
}
return value;
}
That format would be great. For weapons, I need a base value for ruin to vanq then extra value for the modifiers. Same thing for armor. It would be great if you guys could just provide me with values for anything that comes to mind. Thanks!