mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
19 lines
667 B
Python
19 lines
667 B
Python
import sys
|
|
|
|
def setup(core, actor, buff):
|
|
if actor.getSkillMod('expertise_aura_maintain'):
|
|
if actor.getSkillModBase('expertise_aura_maintain') > 0:
|
|
buff.setDuration(-1)
|
|
return
|
|
|
|
def add(core, actor, buff):
|
|
core.skillModService.addSkillMod(actor, 'expertise_dodge', -6)
|
|
core.skillModService.addSkillMod(actor, 'expertise_parry', -6)
|
|
core.skillModService.addSkillMod(actor, 'critical_hit_vulnerable', 7)
|
|
return
|
|
|
|
def remove(core, actor, buff):
|
|
core.skillModService.deductSkillMod(actor, 'expertise_dodge', -6)
|
|
core.skillModService.deductSkillMod(actor, 'expertise_parry', -6)
|
|
core.skillModService.deductSkillMod(actor, 'critical_hit_vulnerable', 7)
|
|
return |