Files
NGECore2/scripts/commands/combat/fs_dm_3.py
T

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