mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-15 00:07:39 -04:00
- Added Follow State to AI - Pets get attacked by enemies and do attack damaging enemies - Some QA fixes
16 lines
471 B
Python
16 lines
471 B
Python
from resources.common import RadialOptions
|
|
import sys
|
|
|
|
def createRadial(core, owner, target, radials):
|
|
radials.add(RadialOptions(0, 7, 1, ''))
|
|
radials.add(RadialOptions(0, 15, 1, ''))
|
|
radials.add(RadialOptions(0, 61, 3, '@pet/pet_menu:menu_generate'))
|
|
return
|
|
|
|
def handleSelection(core, owner, target, option):
|
|
if option == 61 and target:
|
|
core.objectService.useObject(owner, target)
|
|
if option == 15 and target:
|
|
core.objectService.destroyObject(target)
|
|
return
|
|
|