mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-02 17:12:58 -04:00
Added collidable areas which can trigger a script, started work on AI, fixed position secured, updated engine
This commit is contained in:
@@ -6,7 +6,7 @@ def setup():
|
||||
def run(core, actor, target, commandString):
|
||||
|
||||
if actor.hasBuff('co_position_secured'):
|
||||
core.buffService.removeBuffFromCreature(actor, actor.getBuff('co_position_secured'))
|
||||
core.buffService.removeBuffFromCreature(actor, actor.getBuffByName('co_position_secured'))
|
||||
else:
|
||||
core.buffService.addBuffToCreature(actor, 'co_position_secured')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user