Started work on Factional NPC's

Added setFaction and setFactionStatus to Mobiletemplate
This commit is contained in:
tacef
2014-05-18 18:08:49 +02:00
parent 25ab7d3abe
commit ef4e73e24e
15 changed files with 530 additions and 0 deletions
+2
View File
@@ -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());