Files
NGECore2/scripts/commands/applypowerup.py
T
CharonInferar 5e8180c5fd Advancement towards PUP Application
A few PUPS can now be applied.
Some effect names do not match the buff.iff table yet
2014-06-11 16:44:29 +02:00

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