mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-28 23:15:53 -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
404 B
Python
12 lines
404 B
Python
import sys
|
|
|
|
def add(core, actor, name, base):
|
|
actor.addSkillMod(name, base)
|
|
core.skillModService.addSkillMod(actor, 'combat_evasion_value', (actor.getSkillModBase('expertise_evasion_value')))
|
|
return
|
|
|
|
def deduct(core, actor, name, base):
|
|
actor.deductSkillMod(name, base)
|
|
core.skillModService.deductSkillMod(actor, 'combat_evasion_value', (actor.getSkillModBase('expertise_evasion_value')))
|
|
return
|
|
|