mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-27 17:57:22 -04:00
Added BH jewelry sets and buffs
Added BH heroic jewelry sets for Bounty Hunter with their buffs. Added 5-piece bonus to each sets necklace for testing purposes.
This commit is contained in:
@@ -1,4 +1,27 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
return
|
||||
|
||||
def equip(core, actor, object):
|
||||
|
||||
##Enforcer
|
||||
if object.getStfName() == ('item_bracelet_l_set_bh_dps_01_01'):
|
||||
core.skillModService.addSkillMod(actor, 'expertise_action_line_dm', 1)
|
||||
core.skillModService.addSkillMod(actor, 'expertise_action_line_dm_crit', 1)
|
||||
core.skillModService.addSkillMod(actor, 'expertise_buff_duration_line_bh_return_fire' , 1)
|
||||
core.skillModService.addSkillMod(actor, 'expertise_cooldown_line_dm' , 1)
|
||||
return
|
||||
return
|
||||
|
||||
def unequip(core, actor, object):
|
||||
|
||||
##Enforcer
|
||||
if object.getStfName() == ('item_bracelet_l_set_bh_dps_01_01'):
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_action_line_dm', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_action_line_dm_crit', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_buff_duration_line_bh_return_fire' , 1)
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_cooldown_line_dm' , 1)
|
||||
return
|
||||
return
|
||||
|
||||
|
||||
@@ -1,4 +1,27 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
return
|
||||
|
||||
def equip(core, actor, object):
|
||||
|
||||
##Enforcer
|
||||
if object.getStfName() == ('item_bracelet_r_set_bh_dps_01_01'):
|
||||
core.skillModService.addSkillMod(actor, 'expertise_action_line_dm', 1)
|
||||
core.skillModService.addSkillMod(actor, 'expertise_action_line_dm_crit', 1)
|
||||
core.skillModService.addSkillMod(actor, 'expertise_buff_duration_line_bh_return_fire' , 1)
|
||||
core.skillModService.addSkillMod(actor, 'expertise_cooldown_line_dm' , 1)
|
||||
return
|
||||
return
|
||||
|
||||
def unequip(core, actor, object):
|
||||
|
||||
##Enforcer
|
||||
if object.getStfName() == ('item_bracelet_r_set_bh_dps_01_01'):
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_action_line_dm', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_action_line_dm_crit', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_buff_duration_line_bh_return_fire' , 1)
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_cooldown_line_dm' , 1)
|
||||
return
|
||||
return
|
||||
|
||||
|
||||
@@ -12,6 +12,12 @@ def equip(core, actor, object):
|
||||
core.skillModService.addSkillMod(actor, 'precision_modified', 30)
|
||||
core.skillModService.addSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
|
||||
##Flawless
|
||||
elif object.getStfName() == ('item_bracelet_l_set_bh_utility_a_01_01'):
|
||||
core.skillModService.addSkillMod(actor, 'precision_modified', 50)
|
||||
core.skillModService.addSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
return
|
||||
|
||||
def unequip(core, actor, object):
|
||||
@@ -22,5 +28,11 @@ def unequip(core, actor, object):
|
||||
core.skillModService.deductSkillMod(actor, 'precision_modified', 30)
|
||||
core.skillModService.deductSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
|
||||
##Flawless
|
||||
elif object.getStfName() == ('item_bracelet_l_set_bh_utility_a_01_01'):
|
||||
core.skillModService.deductSkillMod(actor, 'precision_modified', 50)
|
||||
core.skillModService.deductSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
return
|
||||
|
||||
@@ -12,6 +12,12 @@ def equip(core, actor, object):
|
||||
core.skillModService.addSkillMod(actor, 'precision_modified', 30)
|
||||
core.skillModService.addSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
|
||||
##Flawless
|
||||
elif object.getStfName() == ('item_bracelet_r_set_bh_utility_a_01_01'):
|
||||
core.skillModService.addSkillMod(actor, 'precision_modified', 50)
|
||||
core.skillModService.addSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
return
|
||||
|
||||
def unequip(core, actor, object):
|
||||
@@ -22,4 +28,10 @@ def unequip(core, actor, object):
|
||||
core.skillModService.deductSkillMod(actor, 'precision_modified', 30)
|
||||
core.skillModService.deductSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
|
||||
##Flawless
|
||||
elif object.getStfName() == ('item_bracelet_r_set_bh_utility_a_01_01'):
|
||||
core.skillModService.deductSkillMod(actor, 'precision_modified', 50)
|
||||
core.skillModService.deductSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
return
|
||||
@@ -1,4 +1,25 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
return
|
||||
|
||||
def equip(core, actor, object):
|
||||
|
||||
##Direfate
|
||||
if object.getStfName() == ('item_bracelet_l_set_bh_utility_b_01_01'):
|
||||
core.skillModService.addSkillMod(actor, 'bh_dire_root', 1)
|
||||
core.skillModService.addSkillMod(actor, 'bh_dire_snare', 1)
|
||||
core.skillModService.addSkillMod(actor, 'fast_attack_line_dm_cc', 2)
|
||||
return
|
||||
return
|
||||
|
||||
def unequip(core, actor, object):
|
||||
|
||||
##Direfate
|
||||
if object.getStfName() == ('item_bracelet_l_set_bh_utility_b_01_01'):
|
||||
core.skillModService.deductSkillMod(actor, 'bh_dire_root', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'bh_dire_snare', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'fast_attack_line_dm_cc', 2)
|
||||
return
|
||||
return
|
||||
|
||||
|
||||
@@ -1,4 +1,26 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
return
|
||||
|
||||
def equip(core, actor, object):
|
||||
|
||||
##Direfate
|
||||
if object.getStfName() == ('item_bracelet_r_set_bh_utility_b_01_01'):
|
||||
core.skillModService.addSkillMod(actor, 'bh_dire_root', 1)
|
||||
core.skillModService.addSkillMod(actor, 'bh_dire_snare', 1)
|
||||
core.skillModService.addSkillMod(actor, 'fast_attack_line_dm_cc', 2)
|
||||
return
|
||||
return
|
||||
|
||||
def unequip(core, actor, object):
|
||||
|
||||
##Direfate
|
||||
if object.getStfName() == ('item_bracelet_r_set_bh_utility_b_01_01'):
|
||||
core.skillModService.deductSkillMod(actor, 'bh_dire_root', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'bh_dire_snare', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'fast_attack_line_dm_cc', 2)
|
||||
return
|
||||
return
|
||||
|
||||
|
||||
@@ -3,9 +3,40 @@ import sys
|
||||
def setup(core, object):
|
||||
return
|
||||
|
||||
def equip(core, actor, target):
|
||||
def equip(core, actor, object):
|
||||
|
||||
##Enforcer
|
||||
if object.getStfName() == ('item_necklace_set_bh_dps_01_01'):
|
||||
core.skillModService.addSkillMod(actor, 'expertise_action_line_dm', 1)
|
||||
core.skillModService.addSkillMod(actor, 'expertise_action_line_dm_crit', 1)
|
||||
core.skillModService.addSkillMod(actor, 'expertise_buff_duration_line_bh_return_fire' , 1)
|
||||
core.skillModService.addSkillMod(actor, 'expertise_cooldown_line_dm' , 1)
|
||||
|
||||
Buff = actor.getBuffByName('set_bonus_bh_dps_3')
|
||||
if actor.getBuffList().contains(Buff):
|
||||
core.buffService.removeBuffFromCreature(actor, Buff)
|
||||
return
|
||||
|
||||
if actor:
|
||||
core.buffService.addBuffToCreature(actor, 'set_bonus_bh_dps_3')
|
||||
return
|
||||
return
|
||||
return
|
||||
|
||||
def unequip(core, actor, target):
|
||||
def unequip(core, actor, object):
|
||||
##Enforcer
|
||||
if object.getStfName() == ('item_necklace_set_bh_dps_01_01'):
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_action_line_dm', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_action_line_dm_crit', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_buff_duration_line_bh_return_fire' , 1)
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_cooldown_line_dm' , 1)
|
||||
|
||||
Buff = actor.getBuffByName('set_bonus_bh_dps_3')
|
||||
if actor.getBuffList().contains(Buff):
|
||||
core.buffService.removeBuffFromCreature(actor, Buff)
|
||||
return
|
||||
return
|
||||
return
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,36 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
return
|
||||
|
||||
def equip(core, actor, object):
|
||||
|
||||
##Flawless
|
||||
if object.getStfName() == ('item_necklace_set_bh_utility_a_01_01'):
|
||||
core.skillModService.addSkillMod(actor, 'precision_modified', 50)
|
||||
core.skillModService.addSkillMod(actor, 'luck_modified', 30)
|
||||
|
||||
Buff = actor.getBuffByName('set_bonus_bh_utility_a_3')
|
||||
if actor.getBuffList().contains(Buff):
|
||||
core.buffService.removeBuffFromCreature(actor, Buff)
|
||||
return
|
||||
|
||||
if actor:
|
||||
core.buffService.addBuffToCreature(actor, 'set_bonus_bh_utility_a_3')
|
||||
return
|
||||
return
|
||||
return
|
||||
|
||||
def unequip(core, actor, object):
|
||||
|
||||
##Flawless
|
||||
if object.getStfName() == ('item_necklace_set_bh_utility_a_01_01'):
|
||||
core.skillModService.deductSkillMod(actor, 'precision_modified', 50)
|
||||
core.skillModService.deductSkillMod(actor, 'luck_modified', 30)
|
||||
|
||||
Buff = actor.getBuffByName('set_bonus_bh_utility_a_3')
|
||||
if actor.getBuffList().contains(Buff):
|
||||
core.buffService.removeBuffFromCreature(actor, Buff)
|
||||
return
|
||||
return
|
||||
return
|
||||
|
||||
@@ -1,4 +1,40 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
return
|
||||
|
||||
def equip(core, actor, object):
|
||||
|
||||
##Direfate
|
||||
if object.getStfName() == ('item_necklace_set_bh_utility_b_01_01'):
|
||||
core.skillModService.addSkillMod(actor, 'bh_dire_root', 1)
|
||||
core.skillModService.addSkillMod(actor, 'bh_dire_snare', 1)
|
||||
core.skillModService.addSkillMod(actor, 'fast_attack_line_dm_cc', 2)
|
||||
|
||||
Buff = actor.getBuffByName('set_bonus_bh_utility_b_3')
|
||||
if actor.getBuffList().contains(Buff):
|
||||
core.buffService.removeBuffFromCreature(actor, Buff)
|
||||
return
|
||||
|
||||
if actor:
|
||||
core.buffService.addBuffToCreature(actor, 'set_bonus_bh_utility_b_3')
|
||||
return
|
||||
return
|
||||
return
|
||||
|
||||
def unequip(core, actor, object):
|
||||
|
||||
##Direfate
|
||||
if object.getStfName() == ('item_necklace_set_bh_utility_b_01_01'):
|
||||
core.skillModService.deductSkillMod(actor, 'bh_dire_root', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'bh_dire_snare', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'fast_attack_line_dm_cc', 2)
|
||||
|
||||
Buff = actor.getBuffByName('set_bonus_bh_utility_b_3')
|
||||
if actor.getBuffList().contains(Buff):
|
||||
core.buffService.removeBuffFromCreature(actor, Buff)
|
||||
return
|
||||
return
|
||||
return
|
||||
|
||||
|
||||
@@ -5,12 +5,20 @@ def setup(core, object):
|
||||
|
||||
def equip(core, actor, object):
|
||||
|
||||
|
||||
##Heroism
|
||||
if object.getStfName() == ('item_necklace_set_hero_01_01'):
|
||||
core.skillModService.addSkillMod(actor, 'strength_modified', 30)
|
||||
core.skillModService.addSkillMod(actor, 'precision_modified', 30)
|
||||
core.skillModService.addSkillMod(actor, 'luck_modified', 30)
|
||||
|
||||
Buff = actor.getBuffByName('set_bonus_hero_3')
|
||||
if actor.getBuffList().contains(Buff):
|
||||
core.buffService.removeBuffFromCreature(actor, Buff)
|
||||
return
|
||||
|
||||
if actor:
|
||||
core.buffService.addBuffToCreature(actor, 'set_bonus_hero_3')
|
||||
return
|
||||
return
|
||||
return
|
||||
|
||||
@@ -21,5 +29,10 @@ def unequip(core, actor, object):
|
||||
core.skillModService.deductSkillMod(actor, 'strength_modified', 30)
|
||||
core.skillModService.deductSkillMod(actor, 'precision_modified', 30)
|
||||
core.skillModService.deductSkillMod(actor, 'luck_modified', 30)
|
||||
|
||||
Buff = actor.getBuffByName('set_bonus_hero_3')
|
||||
if actor.getBuffList().contains(Buff):
|
||||
core.buffService.removeBuffFromCreature(actor, Buff)
|
||||
return
|
||||
return
|
||||
return
|
||||
@@ -1,4 +1,42 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
return
|
||||
|
||||
def equip(core, actor, object):
|
||||
|
||||
##Direfate
|
||||
if object.getStfName() == ('item_ring_set_bh_utility_b_01_01'):
|
||||
core.skillModService.addSkillMod(actor, 'bh_dire_root', 1)
|
||||
core.skillModService.addSkillMod(actor, 'bh_dire_snare', 1)
|
||||
core.skillModService.addSkillMod(actor, 'fast_attack_line_dm_cc', 2)
|
||||
return
|
||||
|
||||
##Enforcer
|
||||
elif object.getStfName() == ('item_ring_set_bh_dps_01_01'):
|
||||
core.skillModService.addSkillMod(actor, 'expertise_action_line_dm', 1)
|
||||
core.skillModService.addSkillMod(actor, 'expertise_action_line_dm_crit', 1)
|
||||
core.skillModService.addSkillMod(actor, 'expertise_buff_duration_line_bh_return_fire' , 1)
|
||||
core.skillModService.addSkillMod(actor, 'expertise_cooldown_line_dm' , 1)
|
||||
return
|
||||
return
|
||||
|
||||
def unequip(core, actor, object):
|
||||
|
||||
##Direfate
|
||||
if object.getStfName() == ('item_ring_set_bh_utility_b_01_01'):
|
||||
core.skillModService.deductSkillMod(actor, 'bh_dire_root', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'bh_dire_snare', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'fast_attack_line_dm_cc', 2)
|
||||
return
|
||||
|
||||
##Enforcer
|
||||
elif object.getStfName() == ('item_ring_set_bh_dps_01_01'):
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_action_line_dm', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_action_line_dm_crit', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_buff_duration_line_bh_return_fire' , 1)
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_cooldown_line_dm' , 1)
|
||||
return
|
||||
return
|
||||
|
||||
|
||||
@@ -5,13 +5,18 @@ def setup(core, object):
|
||||
|
||||
def equip(core, actor, object):
|
||||
|
||||
|
||||
##Heroism
|
||||
if object.getStfName() == ('item_ring_a_set_hero'):
|
||||
core.skillModService.addSkillMod(actor, 'strength_modified', 30)
|
||||
core.skillModService.addSkillMod(actor, 'precision_modified', 30)
|
||||
core.skillModService.addSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
|
||||
##Flawless
|
||||
elif object.getStfName() == ('item_ring_set_bh_utility_a_01_01'):
|
||||
core.skillModService.addSkillMod(actor, 'precision_modified', 50)
|
||||
core.skillModService.addSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
return
|
||||
|
||||
def unequip(core, actor, object):
|
||||
@@ -22,5 +27,11 @@ def unequip(core, actor, object):
|
||||
core.skillModService.deductSkillMod(actor, 'precision_modified', 30)
|
||||
core.skillModService.deductSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
|
||||
##Flawless
|
||||
elif object.getStfName() == ('item_ring_set_bh_utility_a_01_01'):
|
||||
core.skillModService.deductSkillMod(actor, 'precision_modified', 50)
|
||||
core.skillModService.deductSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
return
|
||||
|
||||
@@ -1,4 +1,42 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
return
|
||||
|
||||
def equip(core, actor, object):
|
||||
|
||||
##Direfate
|
||||
if object.getStfName() == ('item_ring_a_set_bh_utility_b'):
|
||||
core.skillModService.addSkillMod(actor, 'bh_dire_root', 1)
|
||||
core.skillModService.addSkillMod(actor, 'bh_dire_snare', 1)
|
||||
core.skillModService.addSkillMod(actor, 'fast_attack_line_dm_cc', 2)
|
||||
return
|
||||
|
||||
##Enforcer
|
||||
elif object.getStfName() == ('item_ring_a_set_bh_dps'):
|
||||
core.skillModService.addSkillMod(actor, 'expertise_action_line_dm', 1)
|
||||
core.skillModService.addSkillMod(actor, 'expertise_action_line_dm_crit', 1)
|
||||
core.skillModService.addSkillMod(actor, 'expertise_buff_duration_line_bh_return_fire' , 1)
|
||||
core.skillModService.addSkillMod(actor, 'expertise_cooldown_line_dm' , 1)
|
||||
return
|
||||
return
|
||||
|
||||
def unequip(core, actor, object):
|
||||
|
||||
##Direfate
|
||||
if object.getStfName() == ('item_ring_a_set_bh_utility_b'):
|
||||
core.skillModService.deductSkillMod(actor, 'bh_dire_root', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'bh_dire_snare', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'fast_attack_line_dm_cc', 2)
|
||||
return
|
||||
|
||||
##Enforcer
|
||||
elif object.getStfName() == ('item_ring_a_set_bh_dps'):
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_action_line_dm', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_action_line_dm_crit', 1)
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_buff_duration_line_bh_return_fire' , 1)
|
||||
core.skillModService.deductSkillMod(actor, 'expertise_cooldown_line_dm' , 1)
|
||||
return
|
||||
return
|
||||
|
||||
|
||||
@@ -12,6 +12,12 @@ def equip(core, actor, object):
|
||||
core.skillModService.addSkillMod(actor, 'precision_modified', 30)
|
||||
core.skillModService.addSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
|
||||
##Flawless
|
||||
elif object.getStfName() == ('item_ring_a_set_bh_utility_a'):
|
||||
core.skillModService.addSkillMod(actor, 'precision_modified', 50)
|
||||
core.skillModService.addSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
return
|
||||
|
||||
def unequip(core, actor, object):
|
||||
@@ -22,5 +28,11 @@ def unequip(core, actor, object):
|
||||
core.skillModService.deductSkillMod(actor, 'precision_modified', 30)
|
||||
core.skillModService.deductSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
|
||||
##Flawless
|
||||
elif object.getStfName() == ('item_ring_a_set_bh_utility_a'):
|
||||
core.skillModService.deductSkillMod(actor, 'precision_modified', 50)
|
||||
core.skillModService.deductSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user