mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -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
11 lines
138 B
Python
11 lines
138 B
Python
import sys
|
|
|
|
def isAlly(ally):
|
|
if ally == 'imperial':
|
|
return 1
|
|
return 0
|
|
|
|
def isEnemy(enemy):
|
|
if enemy == 'rebel':
|
|
return 1
|
|
return 0 |