From 8abfe0df41efb5411d2ff949d89009e03fa2cd48 Mon Sep 17 00:00:00 2001 From: Bronco69 Date: Tue, 15 Apr 2014 13:08:00 +0200 Subject: [PATCH] Added Katarn Armor to frog --- src/services/DevService.java | 78 ++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/src/services/DevService.java b/src/services/DevService.java index d717aa21..9c83fca1 100644 --- a/src/services/DevService.java +++ b/src/services/DevService.java @@ -119,6 +119,7 @@ public class DevService implements INetworkDispatch { suiOptions.put((long) 70, "Bone"); suiOptions.put((long) 71, "Ithorian Defender"); suiOptions.put((long) 72, "Kashyyykian Black Mountain"); + suiOptions.put((long) 73, "Neutral Katarn Armor"); break; case 8: // [Items] Reconnaissance Armor suiOptions.put((long) 80, "Marauder"); @@ -792,6 +793,83 @@ public class DevService implements INetworkDispatch { inventory.add(moun_leggings); inventory.add(moun_chest); + + + return; + case 73: // Neutral Katarn Armor + SWGObject nka_bicep_r = core.objectService.createObject("object/tangible/wearables/armor/clone_trooper/shared_armor_clone_trooper_neutral_s01_bicep_r.iff", planet); + nka_bicep_r.setIntAttribute("cat_armor_standard_protection.armor_eff_kinetic", 5664); + nka_bicep_r.setIntAttribute("cat_armor_standard_protection.armor_eff_energy", 5664); + nka_bicep_r.setIntAttribute("cat_armor_special_protection.special_protection_type_heat", 5664); + nka_bicep_r.setIntAttribute("cat_armor_special_protection.special_protection_type_cold", 5664); + nka_bicep_r.setIntAttribute("cat_armor_special_protection.special_protection_type_acid", 5664); + nka_bicep_r.setIntAttribute("cat_armor_special_protection.special_protection_type_electricity", 5664); + + SWGObject nka_bicep_l = core.objectService.createObject("object/tangible/wearables/armor/clone_trooper/shared_armor_clone_trooper_neutral_s01_bicep_l.iff", planet); + nka_bicep_l.setIntAttribute("cat_armor_standard_protection.armor_eff_kinetic", 5664); + nka_bicep_l.setIntAttribute("cat_armor_standard_protection.armor_eff_energy", 5664); + nka_bicep_l.setIntAttribute("cat_armor_special_protection.special_protection_type_heat", 5664); + nka_bicep_l.setIntAttribute("cat_armor_special_protection.special_protection_type_cold", 5664); + nka_bicep_l.setIntAttribute("cat_armor_special_protection.special_protection_type_acid", 5664); + nka_bicep_l.setIntAttribute("cat_armor_special_protection.special_protection_type_electricity", 5664); + + SWGObject nka_bracer_r = core.objectService.createObject("object/tangible/wearables/armor/clone_trooper/shared_armor_clone_trooper_neutral_s01_bracer_r.iff", planet); + nka_bracer_r.setIntAttribute("cat_armor_standard_protection.armor_eff_kinetic", 5664); + nka_bracer_r.setIntAttribute("cat_armor_standard_protection.armor_eff_energy", 5664); + nka_bracer_r.setIntAttribute("cat_armor_special_protection.special_protection_type_heat", 5664); + nka_bracer_r.setIntAttribute("cat_armor_special_protection.special_protection_type_cold", 5664); + nka_bracer_r.setIntAttribute("cat_armor_special_protection.special_protection_type_acid", 5664); + nka_bracer_r.setIntAttribute("cat_armor_special_protection.special_protection_type_electricity", 5664); + + SWGObject nka_bracer_l = core.objectService.createObject("object/tangible/wearables/armor/clone_trooper/shared_armor_clone_trooper_neutral_s01_bracer_l.iff", planet); + nka_bracer_l.setIntAttribute("cat_armor_standard_protection.armor_eff_kinetic", 5664); + nka_bracer_l.setIntAttribute("cat_armor_standard_protection.armor_eff_energy", 5664); + nka_bracer_l.setIntAttribute("cat_armor_special_protection.special_protection_type_heat", 5664); + nka_bracer_l.setIntAttribute("cat_armor_special_protection.special_protection_type_cold", 5664); + nka_bracer_l.setIntAttribute("cat_armor_special_protection.special_protection_type_acid", 5664); + nka_bracer_l.setIntAttribute("cat_armor_special_protection.special_protection_type_electricity", 5664); + + SWGObject nka_leggings = core.objectService.createObject("object/tangible/wearables/armor/clone_trooper/shared_armor_clone_trooper_neutral_s01_leggings.iff", planet); + nka_leggings.setIntAttribute("cat_armor_standard_protection.armor_eff_kinetic", 5664); + nka_leggings.setIntAttribute("cat_armor_standard_protection.armor_eff_energy", 5664); + nka_leggings.setIntAttribute("cat_armor_special_protection.special_protection_type_heat", 5664); + nka_leggings.setIntAttribute("cat_armor_special_protection.special_protection_type_cold", 5664); + nka_leggings.setIntAttribute("cat_armor_special_protection.special_protection_type_acid", 5664); + nka_leggings.setIntAttribute("cat_armor_special_protection.special_protection_type_electricity", 5664); + + SWGObject nka_helmet = core.objectService.createObject("object/tangible/wearables/armor/clone_trooper/shared_armor_clone_trooper_neutral_s01_helmet.iff", planet); + nka_helmet.setIntAttribute("cat_armor_standard_protection.armor_eff_kinetic", 5664); + nka_helmet.setIntAttribute("cat_armor_standard_protection.armor_eff_energy", 5664); + nka_helmet.setIntAttribute("cat_armor_special_protection.special_protection_type_heat", 5664); + nka_helmet.setIntAttribute("cat_armor_special_protection.special_protection_type_cold", 5664); + nka_helmet.setIntAttribute("cat_armor_special_protection.special_protection_type_acid", 5664); + nka_helmet.setIntAttribute("cat_armor_special_protection.special_protection_type_electricity", 5664); + + SWGObject nka_chest = core.objectService.createObject("object/tangible/wearables/armor/clone_trooper/shared_armor_clone_trooper_neutral_s01_chest_plate.iff", planet); + nka_chest.setIntAttribute("cat_armor_standard_protection.armor_eff_kinetic", 5664); + nka_chest.setIntAttribute("cat_armor_standard_protection.armor_eff_energy", 5664); + nka_chest.setIntAttribute("cat_armor_special_protection.special_protection_type_heat", 5664); + nka_chest.setIntAttribute("cat_armor_special_protection.special_protection_type_cold", 5664); + nka_chest.setIntAttribute("cat_armor_special_protection.special_protection_type_acid", 5664); + nka_chest.setIntAttribute("cat_armor_special_protection.special_protection_type_electricity", 5664); + + SWGObject nka_belt = core.objectService.createObject("object/tangible/wearables/armor/clone_trooper/shared_armor_clone_trooper_neutral_s01_belt.iff", planet); + SWGObject nka_boots = core.objectService.createObject("object/tangible/wearables/armor/clone_trooper/shared_armor_clone_trooper_neutral_s01_boots.iff", planet); + SWGObject nka_gloves = core.objectService.createObject("object/tangible/wearables/armor/clone_trooper/shared_armor_clone_trooper_neutral_s01_gloves.iff", planet); + + + + inventory.add(nka_bicep_r); + inventory.add(nka_bicep_l); + inventory.add(nka_bracer_r); + inventory.add(nka_bracer_l); + inventory.add(nka_leggings); + inventory.add(nka_helmet); + inventory.add(nka_chest); + inventory.add(nka_belt); + inventory.add(nka_boots); + inventory.add(nka_gloves); + return; case 80: // Marauder Armor