mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
16 lines
695 B
Python
16 lines
695 B
Python
import sys
|
|
|
|
def setup(core, actor, target, command):
|
|
if actor.getSkillMod('expertise_damage_line_fs_dm'):
|
|
command.setAddedDamage(command.getAddedDamage() + ((command.getAddedDamage() * actor.getSkillMod('expertise_damage_line_fs_dm').getBase())/100))
|
|
|
|
if actor.getSkillMod('expertise_critical_line_fs_dm'):
|
|
command.setCriticalChance(command.getCriticalChance() + actor.getSkillMod('expertise_critical_line_fs_dm').getBase())
|
|
|
|
if actor.getSkillMod('expertise_action_line_fs_dm'):
|
|
command.setActionCost(command.getActionCost() - ((command.getActionCost() * actor.getSkillMod('expertise_action_line_fs_dm').getBase())/100))
|
|
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
return |