mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-30 00:15:57 -04:00
Take cover now uses setRadarVisible command to take player off radar for the buff duration.
17 lines
490 B
Python
17 lines
490 B
Python
import sys
|
|
|
|
def setup(core, actor, buff):
|
|
return
|
|
|
|
def add(core, actor, buff):
|
|
core.skillModService.addSkillMod(actor, 'expertise_damage_all', 10)
|
|
core.skillModService.addSkillMod(actor, 'expertise_glancing_blow_ranged', 40)
|
|
actor.setRadarVisible(False)
|
|
return
|
|
|
|
def remove(core, actor, buff):
|
|
core.skillModService.deductSkillMod(actor, 'expertise_damage_all', 10)
|
|
core.skillModService.deductSkillMod(actor, 'expertise_glancing_blow_ranged', 40)
|
|
actor.setRadarVisible(True)
|
|
return
|
|
|