mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-02 03:15:52 -04:00
Added invasion NPCs, debugged AI lockups and more
- 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
This commit is contained in:
@@ -113,6 +113,9 @@ public class SpawnService {
|
||||
creature.setFaction(mobileTemplate.getFaction());
|
||||
creature.setFactionStatus(mobileTemplate.getFactionStatus());
|
||||
creature.setPvpBitmask(mobileTemplate.getPvpBitmask());
|
||||
|
||||
creature.updatePvpStatus();
|
||||
|
||||
if (mobileTemplate.getCustomName()==null){
|
||||
creature.setStfFilename("mob/creature_names"); // TODO: set other STFs for NPCs other than creatures -> DONE
|
||||
if (mobileTemplate.getStfFilename()!=null)
|
||||
|
||||
Reference in New Issue
Block a user