mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
19 lines
727 B
Python
19 lines
727 B
Python
import sys
|
|
|
|
def setup(core, actor, buff):
|
|
if actor.getSkillMod('expertise_aura_maintain'):
|
|
if actor.getSkillModBase('expertise_aura_maintain') > 1:
|
|
buff.setDuration(-1)
|
|
return
|
|
|
|
def add(core, actor, buff):
|
|
core.skillModService.addSkillMod(actor, 'combat_strikethrough_value', 3)
|
|
core.skillModService.addSkillMod(actor, 'expertise_critical_niche_all', 20)
|
|
core.skillModService.addSkillMod(actor, 'expertise_strikethrough_chance', 2)
|
|
return
|
|
|
|
def remove(core, actor, buff):
|
|
core.skillModService.deductSkillMod(actor, 'combat_strikethrough_value', 3)
|
|
core.skillModService.deductSkillMod(actor, 'expertise_critical_niche_all', 20)
|
|
core.skillModService.deductSkillMod(actor, 'expertise_strikethrough_chance', 2)
|
|
return |