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

20 lines
866 B
Python

import sys
def setup(core, actor, target, command):
if actor.getSkillMod('expertise_cooldown_line_fs_dm'):
command.setCooldown(command.getCooldown() + (actor.getSkillMod('expertise_cooldown_line_fs_dm').getBase()/10))
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