Esempio n. 1
0
 private void completeArmor(ArmorType a)
 {
     switch(a) {
     case ArmorType.None:
         itemName = "Empty";
         itemDescription = "Empty";
         weight = 0;
         value = 0;
         armorClass = 0;
         maxDex = 20;
         armorCatergory = ArmorCatergory.None;
         break;
     case ArmorType.ArmoredKilt:
         itemName = "Armored Kilt";
         itemDescription = "";
         weight = 10;
         value = 2000;
         armorClass = 1;
         maxDex = 6;
         armorCatergory = ArmorCatergory.Light;
         break;
     case ArmorType.Padded:
         itemName = "Padded Armor";
         itemDescription = "";
         weight = 10;
         value = 500;
         armorClass = 1;
         maxDex = 8;
         spellFailure = 5;
         armorCatergory = ArmorCatergory.Light;
         break;
     case ArmorType.QuiltedCloth:
         itemName = "Quilted Cloth";
         itemDescription = "";
         weight = 15;
         value = 10000;
         armorClass = 1;
         maxDex = 8;
         spellFailure = 10;
         armorCatergory = ArmorCatergory.Light;
         break;
     case ArmorType.Leather:
         itemName = "Leather Armor";
         itemDescription = "";
         weight = 15;
         value = 1000;
         armorClass = 2;
         maxDex = 6;
         spellFailure = 10;
         armorCatergory = ArmorCatergory.Light;
         break;
     case ArmorType.RosewoodArmor:
         itemName = "Rosewood Armor";
         itemDescription = "";
         weight = 15;
         value = 5000;
         armorClass = 2;
         maxDex = 6;
         spellFailure = 10;
         armorCatergory = ArmorCatergory.Light;
         break;
     case ArmorType.HideShirt:
         itemName = "Hide Shirt";
         itemDescription = "";
         weight = 18;
         value = 2000;
         armorClass = 3;
         maxDex = 4;
         checkPenalty = -1;
         spellFailure = 15;
         armorCatergory = ArmorCatergory.Light;
         break;
     case ArmorType.LeafArmor:
         itemName = "Leaf Armor";
         itemDescription = "";
         weight = 20;
         value = 50000;
         armorClass = 3;
         maxDex = 5;
         spellFailure = 15;
         armorCatergory = ArmorCatergory.Light;
         break;
     case ArmorType.ParadeArmor:
         itemName = "Parade Armor";
         itemDescription = "";
         weight = 20;
         value = 2500;
         armorClass = 3;
         maxDex = 5;
         checkPenalty = -1;
         spellFailure = 15;
         armorCatergory = ArmorCatergory.Light;
         break;
     case ArmorType.StuddedLeather:
         itemName = "Studded Leather Armor";
         itemDescription = "";
         weight = 20;
         value = 2500;
         armorClass = 3;
         maxDex = 5;
         checkPenalty = -1;
         spellFailure = 15;
         armorCatergory = ArmorCatergory.Light;
         break;
     case ArmorType.Wooden:
         itemName = "Wooden Armor";
         itemDescription = "";
         weight = 25;
         value = 2000;
         armorClass = 3;
         maxDex = 3;
         checkPenalty = -1;
         spellFailure = 15;
         armorCatergory = ArmorCatergory.Light;
         break;
     case ArmorType.ChainShirt:
         itemName = "Chain Shirt";
         itemDescription = "";
         weight = 25;
         value = 10000;
         armorClass = 4;
         maxDex = 4;
         checkPenalty = -2;
         spellFailure = 20;
         armorCatergory = ArmorCatergory.Light;
         break;
     case ArmorType.ArmoredCoat:
         itemName = "Armored Coat";
         itemDescription = "";
         weight = 20;
         value = 5000;
         armorClass = 4;
         maxDex = 3;
         checkPenalty = -2;
         spellFailure = 20;
         armorCatergory = ArmorCatergory.Medium;
         break;
     case ArmorType.Hide:
         itemName = "Hide Armor";
         itemDescription = "";
         weight = 25;
         value = 1500;
         armorClass = 4;
         maxDex = 4;
         checkPenalty = -3;
         spellFailure = 20;
         armorCatergory = ArmorCatergory.Medium;
         break;
     case ArmorType.ScaleMail:
         itemName = "Scale Mail";
         itemDescription = "";
         weight = 30;
         value = 5000;
         armorClass = 5;
         maxDex = 3;
         checkPenalty = -4;
         spellFailure = 25;
         armorCatergory = ArmorCatergory.Medium;
         break;
     case ArmorType.Chainmail:
         itemName = "Chainmail";
         itemDescription = "";
         weight = 40;
         value = 15000;
         armorClass = 6;
         maxDex = 2;
         checkPenalty = -5;
         spellFailure = 30;
         armorCatergory = ArmorCatergory.Medium;
         break;
     case ArmorType.Breastplate:
         itemName = "Breastplate";
         itemDescription = "";
         weight = 30;
         value = 20000;
         armorClass = 6;
         maxDex = 3;
         checkPenalty = -4;
         spellFailure = 25;
         armorCatergory = ArmorCatergory.Medium;
         break;
     case ArmorType.AgileBreastplate:
         itemName = "Breastplate (agile)";
         itemDescription = "";
         weight = 25;
         value = 40000;
         armorClass = 6;
         maxDex = 3;
         checkPenalty = -4;
         spellFailure = 25;
         armorCatergory = ArmorCatergory.Medium;
         break;
     case ArmorType.SplintMail:
         itemName = "Splint Mail";
         itemDescription = "";
         weight = 45;
         value = 20000;
         armorClass = 7;
         checkPenalty = -7;
         spellFailure = 40;
         armorCatergory = ArmorCatergory.Heavy;
         break;
     case ArmorType.BandedMail:
         itemName = "Banded Mail";
         itemDescription = "";
         weight = 35;
         value = 25000;
         armorClass = 7;
         maxDex = 1;
         checkPenalty = -6;
         spellFailure = 35;
         armorCatergory = ArmorCatergory.Heavy;
         break;
     case ArmorType.FieldPlate:
         itemName = "Field Plate";
         itemDescription = "";
         weight = 50;
         value = 120000;
         armorClass = 7;
         maxDex = 1;
         checkPenalty = -5;
         spellFailure = 35;
         armorCatergory = ArmorCatergory.Heavy;
         break;
     case ArmorType.HalfPlate:
         itemName = "Half Plate";
         itemDescription = "";
         weight = 50;
         value = 60000;
         armorClass = 8;
         checkPenalty = -7;
         spellFailure = 40;
         armorCatergory = ArmorCatergory.Heavy;
         break;
     case ArmorType.AgileHalfPlate:
         itemName = "Half Plate (agile)";
         itemDescription = "";
         weight = 55;
         value = 85000;
         armorClass = 8;
         checkPenalty = -7;
         spellFailure = 40;
         armorCatergory = ArmorCatergory.Heavy;
         break;
     case ArmorType.FullPlate:
         itemName = "Full Plate";
         itemDescription = "";
         weight = 50;
         value = 150000;
         armorClass = 9;
         maxDex = 1;
         checkPenalty = -6;
         spellFailure = 35;
         armorCatergory = ArmorCatergory.Heavy;
         break;
     case ArmorType.HellknightPlate:
         itemName = "Hellknight Plate";
         itemDescription = "";
         weight = 50;
         value = 200000;
         armorClass = 9;
         maxDex = 1;
         checkPenalty = -5;
         spellFailure = 35;
         armorCatergory = ArmorCatergory.Heavy;
         break;
     case ArmorType.Stoneplate:
         itemName = "Stoneplate";
         itemDescription = "";
         weight = 75;
         value = 180000;
         armorClass = 9;
         maxDex = 1;
         checkPenalty = -6;
         spellFailure = 35;
         armorCatergory = ArmorCatergory.Heavy;
         break;
     case ArmorType.Buckler:
         itemName = "Buckler";
         itemDescription = "";
         weight = 5;
         value = 500;
         armorClass = 1;
         maxDex = 100;
         checkPenalty = -1;
         spellFailure = 5;
         armorCatergory = ArmorCatergory.Shield;
         break;
     case ArmorType.Klar:
         itemName = "Klar";
         itemDescription = "";
         weight = 6;
         value = 1200;
         armorClass = 1;
         maxDex = 100;
         checkPenalty = -1;
         spellFailure = 5;
         armorCatergory = ArmorCatergory.Shield;
         break;
     case ArmorType.LeatherMadu:
         itemName = "Leather Madu";
         itemDescription = "";
         weight = 5;
         value = 3000;
         armorClass = 1;
         maxDex = 100;
         checkPenalty = -2;
         spellFailure = 5;
         armorCatergory = ArmorCatergory.Shield;
         break;
     case ArmorType.SteelMadu:
         itemName = "Steel Madu";
         itemDescription = "";
         weight = 6;
         value = 4000;
         armorClass = 1;
         maxDex = 100;
         checkPenalty = -2;
         spellFailure = 5;
         armorCatergory = ArmorCatergory.Shield;
         break;
     case ArmorType.LightWoodenShield:
         itemName = "Light Wooden Shield";
         itemDescription = "";
         weight = 5;
         value = 300;
         armorClass = 1;
         maxDex = 100;
         checkPenalty = -1;
         spellFailure = 5;
         armorCatergory = ArmorCatergory.Shield;
         break;
     case ArmorType.QuickdrawLightWoodenShield:
         itemName = "Light Wooden Shield (quickdraw)";
         itemDescription = "";
         weight = 6;
         value = 5300;
         armorClass = 1;
         maxDex = 100;
         checkPenalty = -2;
         spellFailure = 5;
         armorCatergory = ArmorCatergory.Shield;
         break;
     case ArmorType.LightSteelShield:
         itemName = "Light Steel Shield";
         itemDescription = "";
         weight = 6;
         value = 900;
         armorClass = 1;
         maxDex = 100;
         checkPenalty = -1;
         spellFailure = 5;
         armorCatergory = ArmorCatergory.Shield;
         break;
     case ArmorType.QuickdrawLightSteelShield:
         itemName = "Light Steel Shield (quickdraw)";
         itemDescription = "";
         weight = 7;
         value = 5900;
         armorClass = 1;
         maxDex = 100;
         checkPenalty = -2;
         spellFailure = 5;
         armorCatergory = ArmorCatergory.Shield;
         break;
     case ArmorType.HeavyWoodenShield:
         itemName = "Heavy Wooden Shield";
         itemDescription = "";
         weight = 10;
         value = 700;
         armorClass = 2;
         maxDex = 100;
         checkPenalty = -2;
         spellFailure = 15;
         armorCatergory = ArmorCatergory.Shield;
         break;
     case ArmorType.HeavySteelShield:
         itemName = "Heavy Steel Shield";
         itemDescription = "";
         weight = 15;
         value = 2000;
         armorClass = 2;
         maxDex = 100;
         checkPenalty = -2;
         spellFailure = 15;
         armorCatergory = ArmorCatergory.Shield;
         break;
     case ArmorType.TowerShield:
         itemName = "Tower Shield";
         itemDescription = "";
         weight = 45;
         value = 3000;
         armorClass = 4;
         maxDex = 100;
         checkPenalty = -10;
         spellFailure = 50;
         armorCatergory = ArmorCatergory.Shield;
         break;
     case ArmorType.ArmorSpikes:
         itemName = "Armor Spikes";
         itemDescription = "";
         weight = 10;
         value = 5000;
         maxDex = 100;
         armorCatergory = ArmorCatergory.Extra;
         break;
     case ArmorType.LockedGauntlet:
         itemName = "Locked Gauntlet";
         itemDescription = "";
         weight = 5;
         value = 800;
         maxDex = 100;
         armorCatergory = ArmorCatergory.Extra;
         break;
     case ArmorType.BreakawayShieldBoss:
         itemName = "Breakaway Shield Boss";
         itemDescription = "";
         weight = 10;
         value = 12000;
         maxDex = 100;
         armorCatergory = ArmorCatergory.Extra;
         break;
     case ArmorType.HookedShieldBoss:
         itemName = "Hooked Shield Boss";
         itemDescription = "";
         weight = 10;
         value = 8000;
         maxDex = 100;
         armorCatergory = ArmorCatergory.Extra;
         break;
     case ArmorType.IlluminatingShieldBoss:
         itemName = "Illuminating Shield Boss";
         itemDescription = "";
         weight = 10;
         value = 3500;
         maxDex = 100;
         armorCatergory = ArmorCatergory.Extra;
         break;
     case ArmorType.MasterworkShieldBoss:
         itemName = "Masterwork Shield Boss";
         itemDescription = "";
         weight = 0;
         value = 5000;
         maxDex = 100;
         armorCatergory = ArmorCatergory.Extra;
         break;
     case ArmorType.ReinforcingShieldBoss:
         itemName = "Reinforcing Shield Boss";
         itemDescription = "";
         weight = 10;
         value = 3000;
         maxDex = 100;
         armorCatergory = ArmorCatergory.Extra;
         break;
     case ArmorType.ShieldSpikes:
         itemName = "Shield Spikes";
         itemDescription = "";
         weight = 5;
         value = 1000;
         maxDex = 100;
         armorCatergory = ArmorCatergory.Extra;
         break;
     case ArmorType.ThrowingShield:
         itemName = "Throwing Shield";
         itemDescription = "";
         weight = 0;
         value = 5000;
         maxDex = 100;
         armorCatergory = ArmorCatergory.Extra;
         break;
     default:
         itemName = "warning, invalid";
         itemDescription = "";
         weight = 0;
         value = 0;
         maxDex = 100;
         armorCatergory = ArmorCatergory.Extra;
         break;
     }
 }
Esempio n. 2
0
 public void setArmorCatergory(ArmorCatergory i)
 {
     armorCatergory = i;
 }