mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-02 03:15:52 -04:00
Started work on Factional NPC's
Added setFaction and setFactionStatus to Mobiletemplate
This commit is contained in:
@@ -104,6 +104,8 @@ public class SpawnService {
|
||||
creature.setLootGroups(mobileTemplate.getLootGroups());
|
||||
|
||||
creature.setOptionsBitmask(mobileTemplate.getOptionsBitmask());
|
||||
creature.setFaction(mobileTemplate.getFaction());
|
||||
creature.setFactionStatus(mobileTemplate.getFactionStatus());
|
||||
creature.setPvpBitmask(mobileTemplate.getPvpBitmask());
|
||||
creature.setStfFilename("mob/creature_names"); // TODO: set other STFs for NPCs other than creatures
|
||||
creature.setStfName(mobileTemplate.getCreatureName());
|
||||
|
||||
Reference in New Issue
Block a user