mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-30 00:15:57 -04:00
(BugFix) Build-A-Buff applies correct stats now -- NOTE: Stats that the player does not have yet may not show in character sheet but the server will recognize still recognize their new stats (Added) Inspiration Ticks (BugFix) Inspiration Buffs time corresponds to the players inspiration ticks. (BugFix) "Watch" on radial menu working again (Added) Put in the effects for the multi-tiered performance abilities (Feature) You can now type /[performance effect] [tier number] to use that specific effect (BugFix) showFlyText boolean for showing to observers or not (fixes other players exp gain shown to other players) (Code) Few minor additions/fixes
28 lines
743 B
Python
28 lines
743 B
Python
import sys
|
|
|
|
def setup():
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
|
|
command = 'Distract1'
|
|
effect = 'clienteffect/entertainer_distract_level_1.cef'
|
|
rLevel = 18 # minimum level to perform this effect
|
|
|
|
if commandString == '2':
|
|
command = 'Distract2'
|
|
effect = 'clienteffect/entertainer_distract_level_2.cef'
|
|
rLevel = 50
|
|
|
|
elif commandString == '3':
|
|
command = 'Distract3'
|
|
effect = 'clienteffect/entertainer_distract_level_3.cef'
|
|
rLevel = 75
|
|
|
|
if actor.getLevel() < rLevel:
|
|
actor.sendSystemMessage('@performance:effect_lack_skill_self')
|
|
return
|
|
|
|
if core.entertainmentService.performEffect(actor, command, effect, target) is True:
|
|
actor.sendSystemMessage('@performance:effect_perform_distract', 0)
|
|
return |