mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-12 02:13:48 -04:00
Added No Trace Stealth Buff
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
actor.setInStealth(True)
|
||||
actor.setRadarVisible(False)
|
||||
|
||||
if actor.getSkillMod('expertise_sp_covert_mastery_1'):
|
||||
core.skillModService.addSkillMod(actor, 'sp_covert_mastery')
|
||||
|
||||
return
|
||||
|
||||
def remove(core, actor, buff):
|
||||
actor.setInStealth(False)
|
||||
actor.setRadarVisible(True)
|
||||
|
||||
if actor.getSkillMod('expertise_sp_covert_mastery_1'):
|
||||
core.skillModService.deductSkillMod(actor, 'sp_covert_mastery')
|
||||
|
||||
return
|
||||
Reference in New Issue
Block a user