mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-02 03:15:52 -04:00
Added MobilTemplate conversation file assignment option
NPCs can now have the conversation file assigned via mobile template rather than the creature spawn script.
This commit is contained in:
@@ -107,6 +107,9 @@ public class SpawnService {
|
||||
creature.setLootGroups(mobileTemplate.getLootGroups());
|
||||
|
||||
creature.setOptionsBitmask(mobileTemplate.getOptionsBitmask());
|
||||
if (mobileTemplate.getConversationFileName().length()>0)
|
||||
creature.setAttachment("conversationFile",mobileTemplate.getConversationFileName());
|
||||
|
||||
creature.setFaction(mobileTemplate.getFaction());
|
||||
creature.setFactionStatus(mobileTemplate.getFactionStatus());
|
||||
creature.setPvpBitmask(mobileTemplate.getPvpBitmask());
|
||||
|
||||
Reference in New Issue
Block a user