mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
19 lines
471 B
Python
19 lines
471 B
Python
import sys
|
|
|
|
def setup():
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
|
|
command = 'Dazzle1'
|
|
effect = 'entertainer_dazzle_level_1.cef'
|
|
|
|
if actor.getLevel() < 10:
|
|
actor.sendSystemMessage('@performance:effect_lack_skill_self', 0)
|
|
return
|
|
|
|
# TODO: Find out levels for other dazzle 2 and 3
|
|
|
|
if core.entertainmentService.performEffect(actor, command, effect, target) is True:
|
|
actor.sendSystemMessage('@performance:effect_perform_dazzle', 0)
|
|
return |