Blue Frog - Added protection to Composite Armor

This commit is contained in:
Ziggeh
2014-03-24 03:59:16 +01:00
parent f6890fe481
commit 8abdca40c7
+72 -9
View File
@@ -133,15 +133,78 @@ public class DevService implements INetworkDispatch {
inventory.add(core.objectService.createObject("object/tangible/wearables/robe/shared_robe_jedi_dark_s03.iff", planet));
return;
case 22: // Composite Armor
inventory.add(core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_bicep_r.iff", planet));
inventory.add(core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_bicep_l.iff", planet));
inventory.add(core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_bracer_r.iff", planet));
inventory.add(core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_bracer_l.iff", planet));
inventory.add(core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_helmet.iff", planet));
inventory.add(core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_chest_plate.iff", planet));
inventory.add(core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_leggings.iff", planet));
inventory.add(core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_boots.iff", planet));
inventory.add(core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_gloves.iff", planet));
SWGObject bicep_r = core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_bicep_r.iff", planet);
bicep_r.setIntAttribute("cat_armor_standard_protection.armor_eff_kinetic", 7000);
bicep_r.setIntAttribute("cat_armor_standard_protection.armor_eff_energy", 5000);
bicep_r.setIntAttribute("cat_armor_special_protection.special_protection_type_heat", 6000);
bicep_r.setIntAttribute("cat_armor_special_protection.special_protection_type_cold", 6000);
bicep_r.setIntAttribute("cat_armor_special_protection.special_protection_type_acid", 6000);
bicep_r.setIntAttribute("cat_armor_special_protection.special_protection_type_electricity", 6000);
SWGObject bicep_l = core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_bicep_l.iff", planet);
bicep_l.setIntAttribute("cat_armor_standard_protection.armor_eff_kinetic", 7000);
bicep_l.setIntAttribute("cat_armor_standard_protection.armor_eff_energy", 5000);
bicep_l.setIntAttribute("cat_armor_special_protection.special_protection_type_heat", 6000);
bicep_l.setIntAttribute("cat_armor_special_protection.special_protection_type_cold", 6000);
bicep_l.setIntAttribute("cat_armor_special_protection.special_protection_type_acid", 6000);
bicep_l.setIntAttribute("cat_armor_special_protection.special_protection_type_electricity", 6000);
SWGObject bracer_r = core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_bracer_r.iff", planet);
bracer_r.setIntAttribute("cat_armor_standard_protection.armor_eff_kinetic", 7000);
bracer_r.setIntAttribute("cat_armor_standard_protection.armor_eff_energy", 5000);
bracer_r.setIntAttribute("cat_armor_special_protection.special_protection_type_heat", 6000);
bracer_r.setIntAttribute("cat_armor_special_protection.special_protection_type_cold", 6000);
bracer_r.setIntAttribute("cat_armor_special_protection.special_protection_type_acid", 6000);
bracer_r.setIntAttribute("cat_armor_special_protection.special_protection_type_electricity", 6000);
SWGObject bracer_l = core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_bracer_l.iff", planet);
bracer_l.setIntAttribute("cat_armor_standard_protection.armor_eff_kinetic", 7000);
bracer_l.setIntAttribute("cat_armor_standard_protection.armor_eff_energy", 5000);
bracer_l.setIntAttribute("cat_armor_special_protection.special_protection_type_heat", 6000);
bracer_l.setIntAttribute("cat_armor_special_protection.special_protection_type_cold", 6000);
bracer_l.setIntAttribute("cat_armor_special_protection.special_protection_type_acid", 6000);
bracer_l.setIntAttribute("cat_armor_special_protection.special_protection_type_electricity", 6000);
SWGObject leggings = core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_leggings.iff", planet);
leggings.setIntAttribute("cat_armor_standard_protection.armor_eff_kinetic", 7000);
leggings.setIntAttribute("cat_armor_standard_protection.armor_eff_energy", 5000);
leggings.setIntAttribute("cat_armor_special_protection.special_protection_type_heat", 6000);
leggings.setIntAttribute("cat_armor_special_protection.special_protection_type_cold", 6000);
leggings.setIntAttribute("cat_armor_special_protection.special_protection_type_acid", 6000);
leggings.setIntAttribute("cat_armor_special_protection.special_protection_type_electricity", 6000);
SWGObject helmet = core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_helmet.iff", planet);
helmet.setIntAttribute("cat_armor_standard_protection.armor_eff_kinetic", 7000);
helmet.setIntAttribute("cat_armor_standard_protection.armor_eff_energy", 5000);
helmet.setIntAttribute("cat_armor_special_protection.special_protection_type_heat", 6000);
helmet.setIntAttribute("cat_armor_special_protection.special_protection_type_cold", 6000);
helmet.setIntAttribute("cat_armor_special_protection.special_protection_type_acid", 6000);
helmet.setIntAttribute("cat_armor_special_protection.special_protection_type_electricity", 6000);
SWGObject chest = core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_chest_plate.iff", planet);
chest.setIntAttribute("cat_armor_standard_protection.armor_eff_kinetic", 7000);
chest.setIntAttribute("cat_armor_standard_protection.armor_eff_energy", 5000);
chest.setIntAttribute("cat_armor_special_protection.special_protection_type_heat", 6000);
chest.setIntAttribute("cat_armor_special_protection.special_protection_type_cold", 6000);
chest.setIntAttribute("cat_armor_special_protection.special_protection_type_acid", 6000);
chest.setIntAttribute("cat_armor_special_protection.special_protection_type_electricity", 6000);
SWGObject boots = core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_boots.iff", planet);
SWGObject gloves = core.objectService.createObject("object/tangible/wearables/armor/composite/shared_armor_composite_gloves.iff", planet);
inventory.add(bicep_r);
inventory.add(bicep_l);
inventory.add(bracer_r);
inventory.add(bracer_l);
inventory.add(leggings);
inventory.add(helmet);
inventory.add(chest);
inventory.add(boots);
inventory.add(gloves);
return;
case 23: // Weapons
sendCharacterBuilderSUI(player, 3);