Files
NGECore2/scripts/commands/endduel.py
T

25 lines
319 B
Python

import sys
def setup():
return
def run(core, actor, target, commandString):
combatSvc = core.combatService
if not target:
return
if not target.getClient():
return
if actor == target:
return
if not combatSvc.areInDuel(actor, target):
return
combatSvc.handleEndDuel(actor, target)
return