mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-30 00:15:57 -04:00
19 lines
498 B
Python
19 lines
498 B
Python
import sys
|
|
|
|
def setup(core, actor, buff):
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
|
|
group = core.objectService.getObject(actor.getGroupId())
|
|
|
|
if target and target.getSlottedObject("ghost"):
|
|
if group and target in group.getMemberList():
|
|
core.buffService.addGroupBuff(target, 'me_buff_precision_3', actor)
|
|
else:
|
|
core.buffService.addBuffToCreature(target, 'me_buff_precision_3', actor)
|
|
else:
|
|
core.buffService.addGroupBuff(actor, 'me_buff_precision_3', actor)
|
|
|
|
return
|
|
|