mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-28 23:15:53 -04:00
19 lines
633 B
Python
19 lines
633 B
Python
import sys
|
|
|
|
def setup(core, actor, buff):
|
|
if actor.getSkillMod('expertise_aura_maintain'):
|
|
buff.setDuration(-1)
|
|
|
|
return
|
|
|
|
def add(core, actor, buff):
|
|
core.skillModService.addSkillMod(actor, 'expertise_dodge', 5)
|
|
core.skillModService.addSkillMod(actor, 'constitution_modified', 70)
|
|
core.skillModService.addSkillMod(actor, 'combat_critical_hit_reduction', 10)
|
|
return
|
|
|
|
def remove(core, actor, buff):
|
|
core.skillModService.deductSkillMod(actor, 'expertise_dodge', 5)
|
|
core.skillModService.deductSkillMod(actor, 'constitution_modified', 70)
|
|
core.skillModService.deductSkillMod(actor, 'combat_critical_hit_reduction', 10)
|
|
return |