mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-15 00:07:39 -04:00
20 lines
855 B
Python
20 lines
855 B
Python
import sys
|
|
|
|
def setup(core, actor, buff):
|
|
if actor.getSkillMod('expertise_buff_duration_line_of_group_buff'):
|
|
buff.setDuration(buff.getDuration() + actor.getSkillModBase('expertise_buff_duration_line_of_group_buff'))
|
|
return
|
|
|
|
def add(core, actor, buff):
|
|
core.skillModService.addSkillMod(actor, 'expertise_glancing_blow_all', 2)
|
|
core.skillModService.addSkillMod(actor, 'movement_resist_snare', 15)
|
|
core.skillModService.addSkillMod(actor, 'movement_resist_root', 2)
|
|
core.skillModService.addSkillMod(actor, 'movement', 5)
|
|
return
|
|
|
|
def remove(core, actor, buff):
|
|
core.skillModService.deductSkillMod(actor, 'movement', 5)
|
|
core.skillModService.deductSkillMod(actor, 'expertise_glancing_blow_all', 2)
|
|
core.skillModService.deductSkillMod(actor, 'movement_resist_snare', 15)
|
|
core.skillModService.deductSkillMod(actor, 'movement_resist_root', 2)
|
|
return |