mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-11 21:45:43 -04:00
Added heroism set and buffs, fixed robe_jedi_dark
Added rest of heroism set and associated buffs, robe_jedi_dark now properly deduct its effect, added buffs for heroism set bonuses. Still needs an check for piece count Credit for code Wefi.
This commit is contained in:
@@ -1,4 +1,26 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
return
|
||||
|
||||
def equip(core, actor, object):
|
||||
|
||||
|
||||
##Heroism
|
||||
if object.getStfName() == ('item_bracelet_l_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)
|
||||
return
|
||||
return
|
||||
|
||||
def unequip(core, actor, object):
|
||||
|
||||
##Heroism
|
||||
if object.getStfName() == ('item_bracelet_l_set_hero_01_01'):
|
||||
core.skillModService.deductSkillMod(actor, 'strength_modified', 30)
|
||||
core.skillModService.deductSkillMod(actor, 'precision_modified', 30)
|
||||
core.skillModService.deductSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
return
|
||||
|
||||
@@ -1,4 +1,26 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
return
|
||||
|
||||
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
|
||||
return
|
||||
|
||||
def unequip(core, actor, object):
|
||||
|
||||
##Heroism
|
||||
if object.getStfName() == ('item_ring_a_set_hero'):
|
||||
core.skillModService.deductSkillMod(actor, 'strength_modified', 30)
|
||||
core.skillModService.deductSkillMod(actor, 'precision_modified', 30)
|
||||
core.skillModService.deductSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
return
|
||||
|
||||
@@ -1,4 +1,26 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
return
|
||||
|
||||
def equip(core, actor, object):
|
||||
|
||||
|
||||
##Heroism
|
||||
if object.getStfName() == ('item_ring_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)
|
||||
return
|
||||
return
|
||||
|
||||
def unequip(core, actor, object):
|
||||
|
||||
##Heroism
|
||||
if object.getStfName() == ('item_ring_set_hero_01_01'):
|
||||
core.skillModService.deductSkillMod(actor, 'strength_modified', 30)
|
||||
core.skillModService.deductSkillMod(actor, 'precision_modified', 30)
|
||||
core.skillModService.deductSkillMod(actor, 'luck_modified', 30)
|
||||
return
|
||||
return
|
||||
|
||||
@@ -16,7 +16,7 @@ def equip(core, actor, target):
|
||||
if actor:
|
||||
core.buffService.addBuffToCreature(actor, 'proc_old_dark_jedi_gift')
|
||||
return
|
||||
|
||||
return
|
||||
|
||||
def unequip(core, actor, target):
|
||||
core.skillModService.deductSkillMod(actor, 'constitution_modified', 250)
|
||||
|
||||
Reference in New Issue
Block a user