mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-02 03:15:52 -04:00
Moved loot groups to mobile template scripts, moved respawn time to spawn service as last argument
Please no longer use loot in object template scripts and move them over to the mobiles/ folder.
This commit is contained in:
@@ -100,6 +100,9 @@ public class SpawnService {
|
||||
creature.setWeaponId(mobileTemplate.getCustomWeapon().getObjectID());
|
||||
}*/
|
||||
|
||||
if(mobileTemplate.getLootGroups() != null)
|
||||
creature.setLootGroups(mobileTemplate.getLootGroups());
|
||||
|
||||
creature.setOptionsBitmask(mobileTemplate.getOptionBitmask());
|
||||
creature.setPvPBitmask(mobileTemplate.getPvpBitmask());
|
||||
creature.setStfFilename("mob/creature_names"); // TODO: set other STFs for NPCs other than creatures
|
||||
|
||||
Reference in New Issue
Block a user