Files
NGECore2/scripts/buffs/of_deb_def_4.py
T

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', -4)
core.skillModService.addSkillMod(actor, 'expertise_parry', -4)
core.skillModService.addSkillMod(actor, 'critical_hit_vulnerable', 4)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_dodge', -4)
core.skillModService.deductSkillMod(actor, 'expertise_parry', -4)
core.skillModService.deductSkillMod(actor, 'critical_hit_vulnerable', 4)
return