Files
NGECore2/scripts/buffs/of_focus_fire_4.py
T

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', 4)
core.skillModService.addSkillMod(actor, 'expertise_critical_niche_all', 26)
core.skillModService.addSkillMod(actor, 'expertise_strikethrough_chance', 3)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'combat_strikethrough_value', 4)
core.skillModService.deductSkillMod(actor, 'expertise_critical_niche_all', 26)
core.skillModService.deductSkillMod(actor, 'expertise_strikethrough_chance', 4)
return