mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
- Added barrier and tower plus the according buffs - Added defender NPCs - Fixed enemy NPCs not showing hostile after faction change - Added ally function implementation to rebel and imperial scripts - AI does not lock up in a state anymore - AI seeks better position if LOS is blocked - AI resumes previous states better now
18 lines
548 B
Python
18 lines
548 B
Python
import sys
|
|
|
|
def setup(core, actor, buff):
|
|
|
|
return
|
|
|
|
def add(core, actor, buff):
|
|
core.skillModService.addSkillMod(actor, 'expertise_dodge', 35)
|
|
core.skillModService.addSkillMod(actor, 'display_only_evasion', 5000)
|
|
core.skillModService.addSkillMod(actor, 'combat_evasion_value', 50)
|
|
return
|
|
|
|
def remove(core, actor, buff):
|
|
core.skillModService.deductSkillMod(actor, 'expertise_dodge', 35)
|
|
core.skillModService.deductSkillMod(actor, 'display_only_evasion', 5000)
|
|
core.skillModService.deductSkillMod(actor, 'combat_evasion_value', 50)
|
|
return
|
|
|