Files
NGECore2/scripts/commands/me_reckless_stimulation_3.py
T

25 lines
628 B
Python

import sys
from services.command import CombatCommand
def setup(core, actor, buff):
return
def run(core, actor, target, commandString):
combatSvc = core.combatService
weapon = core.objectService.getObject(actor.getWeaponId())
if not weapon:
weapon = actor.getSlottedObject('default_weapon')
command = core.commandService.getCommandByName('me_reckless_stimulation_3')
if not combatSvc.applySpecialCost(actor, weapon, CombatCommand('me_reckless_stimulation_3')):
return
actor.playEffectObject('clienteffect/medic_reckless_stimulation.cef', 'root')
actor.setAction(actor.getAction() + 2000)
return