mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-14 04:13:14 -04:00
Merge pull request #980 from ProjectSWGCore/GCWRewards
Factional recruiter rewards
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttachment('radial_filename', 'deeds/vehicleDeed')
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('item_deed_barc_imperial_06_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('item_deed_barc_imperial_06_01')
|
||||
object.setIntAttribute('no_trade', 1)
|
||||
return
|
||||
|
||||
def use(core, actor, object):
|
||||
core.mountService.generateVehicle(actor, object, 'object/mobile/vehicle/shared_barc_speeder_imperial.iff', 'object/intangible/vehicle/shared_barc_speeder_imperial_pcd.iff')
|
||||
return
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttachment('radial_filename', 'deeds/vehicleDeed')
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('item_deed_barc_rebel_06_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('item_deed_barc_rebel_06_01')
|
||||
object.setIntAttribute('no_trade', 1)
|
||||
return
|
||||
|
||||
def use(core, actor, object):
|
||||
core.mountService.generateVehicle(actor, object, 'object/mobile/vehicle/shared_barc_speeder_rebel.iff', 'object/intangible/vehicle/shared_barc_speeder_rebel_pcd.iff')
|
||||
return
|
||||
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('item_pvp_lieutenant_comm_link_imperial_reward_04_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('item_pvp_lieutenant_comm_link_imperial_reward_04_01')
|
||||
|
||||
return
|
||||
@@ -1,4 +1,5 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setIntAttribute('no_trade', 1)
|
||||
return
|
||||
@@ -1,10 +1,4 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttachment('radial_filename', 'object/usable')
|
||||
return
|
||||
|
||||
def use(core, actor, object):
|
||||
if object.getStfName() == ('item_consumable_detect_hidden_02_04'):
|
||||
core.buffService.addBuffToCreature(actor, 'detectHiddenConsumable100', actor)
|
||||
return
|
||||
@@ -1,14 +1,4 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttachment('radial_filename', 'object/usable')
|
||||
return
|
||||
|
||||
def use(core, actor, object):
|
||||
if object.getStfName() == ('item_consumable_detect_hidden_02_01'):
|
||||
core.buffService.addBuffToCreature(actor, 'detectHiddenConsumable20', actor)
|
||||
elif object.getStfName() == ('item_consumable_detect_hidden_02_02'):
|
||||
core.buffService.addBuffToCreature(actor, 'detectHiddenConsumable40', actor)
|
||||
elif object.getStfName() == ('item_consumable_detect_hidden_02_03'):
|
||||
core.buffService.addBuffToCreature(actor, 'detectHiddenConsumable65', actor)
|
||||
return
|
||||
@@ -0,0 +1,14 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttachment('radial_filename', 'object/usable')
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('item_consumable_detect_hidden_02_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('item_consumable_detect_hidden_02_01')
|
||||
object.setIntAttribute('reuse_time', 5)
|
||||
object.setUses(8)
|
||||
object.setStringAttribute('proc_name', '@ui_buff:detecthiddenconsumable20')
|
||||
object.setAttachment('alternateBuffName', 'detectHiddenConsumable20')
|
||||
return
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttachment('radial_filename', 'object/usable')
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('item_consumable_detect_hidden_02_02')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('item_consumable_detect_hidden_02_02')
|
||||
object.setIntAttribute('reuse_time', 5)
|
||||
object.setUses(8)
|
||||
object.setStringAttribute('proc_name', '@ui_buff:detecthiddenconsumable40')
|
||||
object.setAttachment('alternateBuffName', 'detectHiddenConsumable40')
|
||||
return
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttachment('radial_filename', 'object/usable')
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('item_consumable_detect_hidden_02_03')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('item_consumable_detect_hidden_02_03')
|
||||
object.setIntAttribute('reuse_time', 5)
|
||||
object.setUses(8)
|
||||
object.setStringAttribute('proc_name', '@ui_buff:detecthiddenconsumable65')
|
||||
object.setAttachment('alternateBuffName', 'detectHiddenConsumable65')
|
||||
return
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttachment('radial_filename', 'object/usable')
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('item_consumable_detect_hidden_02_04')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('item_consumable_detect_hidden_02_04')
|
||||
object.setIntAttribute('reuse_time', 5)
|
||||
object.setUses(8)
|
||||
object.setStringAttribute('proc_name', '@ui_buff:detecthiddenconsumable100')
|
||||
object.setAttachment('alternateBuffName', 'detectHiddenConsumable100')
|
||||
return
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('item_pvp_imperial_painting_03_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('item_pvp_imperial_painting_03_01')
|
||||
return
|
||||
|
||||
#No name (Palpatine and Star Destroyers)
|
||||
#Might of the Empire
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setCustomizationVariable('/private/index_color_1', 15);
|
||||
object.setCustomizationVariable('/private/index_color_2', 15);
|
||||
object.setCustomizationVariable('/private/index_color_3', 2);
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('armor_pvp_spec_ops_imperial_black_belt_05_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('armor_pvp_spec_ops_imperial_black_belt_05_01')
|
||||
object.setStringAttribute('faction_restriction', 'Imperial')
|
||||
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
|
||||
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
|
||||
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
|
||||
return
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setCustomizationVariable('/private/index_color_1', 15);
|
||||
object.setCustomizationVariable('/private/index_color_2', 15);
|
||||
object.setCustomizationVariable('/private/index_color_3', 2);
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('armor_pvp_spec_ops_imperial_black_bicep_l_05_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('armor_pvp_spec_ops_imperial_black_bicep_l_05_01')
|
||||
object.setStringAttribute('faction_restriction', 'Imperial')
|
||||
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
|
||||
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
|
||||
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
|
||||
return
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setCustomizationVariable('/private/index_color_1', 15);
|
||||
object.setCustomizationVariable('/private/index_color_2', 15);
|
||||
object.setCustomizationVariable('/private/index_color_3', 2);
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('armor_pvp_spec_ops_imperial_black_bicep_r_05_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('armor_pvp_spec_ops_imperial_black_bicep_r_05_01')
|
||||
object.setStringAttribute('faction_restriction', 'Imperial')
|
||||
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
|
||||
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
|
||||
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
|
||||
return
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setCustomizationVariable('/private/index_color_1', 15);
|
||||
object.setCustomizationVariable('/private/index_color_2', 15);
|
||||
object.setCustomizationVariable('/private/index_color_3', 2);
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('armor_pvp_spec_ops_imperial_black_boots_05_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('armor_pvp_spec_ops_imperial_black_boots_05_01')
|
||||
object.setStringAttribute('faction_restriction', 'Imperial')
|
||||
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
|
||||
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
|
||||
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
|
||||
return
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setCustomizationVariable('/private/index_color_1', 15);
|
||||
object.setCustomizationVariable('/private/index_color_2', 15);
|
||||
object.setCustomizationVariable('/private/index_color_3', 2);
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('armor_pvp_spec_ops_imperial_black_bracer_l_05_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('armor_pvp_spec_ops_imperial_black_bracer_l_05_01')
|
||||
object.setStringAttribute('faction_restriction', 'Imperial')
|
||||
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
|
||||
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
|
||||
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
|
||||
return
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setCustomizationVariable('/private/index_color_1', 15);
|
||||
object.setCustomizationVariable('/private/index_color_2', 15);
|
||||
object.setCustomizationVariable('/private/index_color_3', 2);
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('armor_pvp_spec_ops_imperial_black_bracer_r_05_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('armor_pvp_spec_ops_imperial_black_bracer_r_05_01')
|
||||
object.setStringAttribute('faction_restriction', 'Imperial')
|
||||
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
|
||||
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
|
||||
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
|
||||
return
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setCustomizationVariable('/private/index_color_1', 15);
|
||||
object.setCustomizationVariable('/private/index_color_2', 15);
|
||||
object.setCustomizationVariable('/private/index_color_3', 2);
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('armor_pvp_spec_ops_imperial_black_gloves_05_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('armor_pvp_spec_ops_imperial_black_gloves_05_01')
|
||||
object.setStringAttribute('faction_restriction', 'Imperial')
|
||||
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
|
||||
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
|
||||
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
|
||||
return
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setCustomizationVariable('/private/index_color_1', 15);
|
||||
object.setCustomizationVariable('/private/index_color_2', 15);
|
||||
object.setCustomizationVariable('/private/index_color_3', 2);
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('armor_pvp_spec_ops_imperial_black_helmet_05_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('armor_pvp_spec_ops_imperial_black_helmet_05_01')
|
||||
object.setStringAttribute('faction_restriction', 'Imperial')
|
||||
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
|
||||
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
|
||||
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
|
||||
return
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setCustomizationVariable('/private/index_color_1', 15);
|
||||
object.setCustomizationVariable('/private/index_color_2', 15);
|
||||
object.setCustomizationVariable('/private/index_color_3', 2);
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('armor_pvp_spec_ops_imperial_black_leggings_05_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('armor_pvp_spec_ops_imperial_black_leggings_05_01')
|
||||
object.setStringAttribute('faction_restriction', 'Imperial')
|
||||
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
|
||||
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
|
||||
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
|
||||
return
|
||||
+14
@@ -1,4 +1,18 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setCustomizationVariable('/private/index_color_1', 15);
|
||||
object.setCustomizationVariable('/private/index_color_2', 15);
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('armor_pvp_spec_ops_imperial_black_chest_plate_orange_pad_05_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('armor_pvp_spec_ops_imperial_black_chest_plate_orange_pad_05_01')
|
||||
object.setStringAttribute('faction_restriction', 'Imperial')
|
||||
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
|
||||
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
|
||||
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
|
||||
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
|
||||
return
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
import sys
|
||||
|
||||
|
||||
def setup(core, object):
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('item_pvp_imperial_sergeant_major_medal_03_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('item_pvp_imperial_sergeant_major_medal_03_01')
|
||||
object.setIntAttribute('no_trade', 1)
|
||||
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 30)
|
||||
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 30)
|
||||
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 24)
|
||||
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 24)
|
||||
return
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
def setup(core, object):
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('item_pvp_imperial_colonel_signet_ring_05_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('item_pvp_imperial_colonel_signet_ring_05_01')
|
||||
object.setIntAttribute('no_trade', 1)
|
||||
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 24)
|
||||
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 60)
|
||||
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 24)
|
||||
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:agility_modified', 24)
|
||||
return
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import sys
|
||||
from resources.datatables import WeaponType
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttackSpeed(1.0)
|
||||
object.setMaxRange(5)
|
||||
object.setDamageType('kinetic')
|
||||
object.setMinDamage(300)
|
||||
object.setMaxDamage(400)
|
||||
object.setWeaponType(WeaponType.POLEARMMELEE)
|
||||
return
|
||||
@@ -0,0 +1,11 @@
|
||||
import sys
|
||||
from resources.datatables import WeaponType
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttackSpeed(1.0)
|
||||
object.setMaxRange(5)
|
||||
object.setDamageType('kinetic')
|
||||
object.setMinDamage(300)
|
||||
object.setMaxDamage(400)
|
||||
object.setWeaponType(WeaponType.ONEHANDEDMELEE)
|
||||
return
|
||||
@@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from resources.datatables import WeaponType
|
||||
|
||||
def setup(core, object):
|
||||
object.setStringAttribute('faction_restriction', 'Imperial')
|
||||
object.setAttackSpeed(0.6)
|
||||
object.setCustomName('Exceptional Imperial E-11 Carbine')
|
||||
object.setMaxRange(50)
|
||||
object.setDamageType('energy')
|
||||
object.setMinDamage(310)
|
||||
object.setMaxDamage(550)
|
||||
object.setWeaponType(WeaponType.CARBINE)
|
||||
return
|
||||
@@ -0,0 +1,11 @@
|
||||
import sys
|
||||
from resources.datatables import WeaponType
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttackSpeed(0.6)
|
||||
object.setMaxRange(50)
|
||||
object.setDamageType('energy')
|
||||
object.setMinDamage(350)
|
||||
object.setMaxDamage(700)
|
||||
object.setWeaponType(WeaponType.CARBINE)
|
||||
return
|
||||
@@ -0,0 +1,11 @@
|
||||
import sys
|
||||
from resources.datatables import WeaponType
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttackSpeed(0.6)
|
||||
object.setMaxRange(50)
|
||||
object.setDamageType('energy')
|
||||
object.setMinDamage(350)
|
||||
object.setMaxDamage(700)
|
||||
object.setWeaponType(WeaponType.CARBINE)
|
||||
return
|
||||
@@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from resources.datatables import WeaponType
|
||||
|
||||
def setup(core, object):
|
||||
object.setStringAttribute('faction_restriction', 'Imperial')
|
||||
object.setAttackSpeed(0.6)
|
||||
object.setCustomName('Imperial E-11 Carbine')
|
||||
object.setMaxRange(50)
|
||||
object.setDamageType('energy')
|
||||
object.setMinDamage(200)
|
||||
object.setMaxDamage(350)
|
||||
object.setWeaponType(WeaponType.CARBINE)
|
||||
return
|
||||
@@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from resources.datatables import WeaponType
|
||||
|
||||
def setup(core, object):
|
||||
object.setStringAttribute('required_skill', 'None')
|
||||
object.setStringAttribute('faction_restriction', 'Imperial')
|
||||
object.setAttackSpeed(0.6);
|
||||
object.setMaxRange(50);
|
||||
object.setDamageType("energy");
|
||||
object.setMinDamage(310);
|
||||
object.setMaxDamage(550);
|
||||
object.setWeaponType(WeaponType.CARBINE);
|
||||
return
|
||||
@@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from resources.datatables import WeaponType
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttackSpeed(1)
|
||||
object.setMaxRange(64)
|
||||
object.setDamageType('energy')
|
||||
object.setMinDamage(400)
|
||||
object.setMaxDamage(775)
|
||||
object.setWeaponType(WeaponType.HEAVYWEAPON)
|
||||
object.setStringAttribute('wpn_elemental_type', 'heat')
|
||||
object.setStringAttribute('wpn_elemental_value', '70')
|
||||
return
|
||||
@@ -1,16 +0,0 @@
|
||||
import sys
|
||||
|
||||
def exceptionalPistol(core, object, owner):
|
||||
object = core.objectService.createObject('object/weapon/ranged/pistol/shared_pistol_dl44.iff', owner.getPlanet())
|
||||
object.setStringAttribute('required_skill', 'None')
|
||||
object.setStringAttribute('faction_restriction', 'Rebel')
|
||||
object.setAttackSpeed(0.4);
|
||||
object.setCustomName('Exceptional Rebel DL44 Pistol');
|
||||
object.setMaxRange(35);
|
||||
object.setDamageType("energy");
|
||||
object.setMinDamage(275);
|
||||
object.setMaxDamage(518);
|
||||
object.setWeaponType(2);
|
||||
inventory = owner.getSlottedObject('inventory')
|
||||
inventory.add(object)
|
||||
return
|
||||
@@ -0,0 +1,11 @@
|
||||
import sys
|
||||
from resources.datatables import WeaponType
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttackSpeed(0.4)
|
||||
object.setMaxRange(35)
|
||||
object.setDamageType('energy')
|
||||
object.setMinDamage(80)
|
||||
object.setMaxDamage(130)
|
||||
object.setWeaponType(WeaponType.PISTOL)
|
||||
return
|
||||
@@ -0,0 +1,11 @@
|
||||
import sys
|
||||
from resources.datatables import WeaponType
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttackSpeed(0.4)
|
||||
object.setMaxRange(35)
|
||||
object.setDamageType('energy')
|
||||
object.setMinDamage(80)
|
||||
object.setMaxDamage(130)
|
||||
object.setWeaponType(WeaponType.PISTOL)
|
||||
return
|
||||
@@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from resources.datatables import WeaponType
|
||||
|
||||
def setup(core, object):
|
||||
object.setStringAttribute('faction_restriction', 'Imperial')
|
||||
object.setAttackSpeed(0.4)
|
||||
object.setCustomName('Imperial Power5 Pistol')
|
||||
object.setMaxRange(35)
|
||||
object.setDamageType('energy')
|
||||
object.setMinDamage(90)
|
||||
object.setMaxDamage(210)
|
||||
object.setWeaponType(WeaponType.PISTOL)
|
||||
return
|
||||
@@ -0,0 +1,16 @@
|
||||
import sys
|
||||
from resources.datatables import WeaponType
|
||||
|
||||
def setup(core, object):
|
||||
object.setStringAttribute('faction_restriction', 'Rebel')
|
||||
object.setStfFilename('static_item_n')
|
||||
object.setStfName('weapon_pistol_pvp_rebel_general_reward_06_01')
|
||||
object.setDetailFilename('static_item_d')
|
||||
object.setDetailName('weapon_pistol_pvp_rebel_general_reward_06_01')
|
||||
object.setAttackSpeed(0.4)
|
||||
object.setMaxRange(35)
|
||||
object.setDamageType('energy')
|
||||
object.setMinDamage(275)
|
||||
object.setMaxDamage(518)
|
||||
object.setWeaponType(WeaponType.PISTOL)
|
||||
return
|
||||
Reference in New Issue
Block a user