mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-30 00:15:57 -04:00
Lots of fixes and updates to Jedi expertise. Everything included in this update should now work properly, changing the characters stats correctly based off of expertise choices. Added a line in CombatService that factors in melee damage increases from expertise when determining raw damage.
12 lines
300 B
Python
12 lines
300 B
Python
import sys
|
|
|
|
def setup(core, actor, buff):
|
|
actor.playEffectObject('appearance/pt_sokan_focus.prt', 'fs_buff_ca_1')
|
|
core.skillModService.addSkillMod(actor, 'expertise_focus', 1)
|
|
|
|
return
|
|
|
|
def removeBuff(core, actor, buff):
|
|
core.skillModService.deductSkillMod(actor, 'expertise_focus', 1)
|
|
return
|
|
|