mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-15 00:07:39 -04:00
A few PUPS can now be applied. Some effect names do not match the buff.iff table yet
11 lines
261 B
Python
11 lines
261 B
Python
import sys
|
|
from java.lang import Long
|
|
|
|
def setup():
|
|
return
|
|
|
|
def run(core, actor, target, objectid):
|
|
object = core.objectService.getObject(long(objectid))
|
|
target.setAttachment('UsedObjectID',Long(objectid))
|
|
core.objectService.useObject(actor, target)
|
|
return |