mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-01 16:12:53 -04:00
Added NPC stuff, read extended
Added a jedi_master npc, added support for custom weapons for creatures.
This commit is contained in:
@@ -23,6 +23,7 @@ package services.spawn;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
import main.NGECore;
|
||||
import resources.datatables.Options;
|
||||
import resources.datatables.PvpStatus;
|
||||
import resources.objects.weapon.WeaponObject;
|
||||
@@ -43,6 +44,7 @@ public class MobileTemplate {
|
||||
private float scale = 1;
|
||||
// this is a custom attack Range setting to use for large mobs like krayts
|
||||
private int attackRange;
|
||||
private String customWeaponTemplate;
|
||||
|
||||
public Vector<String> getTemplates() {
|
||||
return templates;
|
||||
@@ -155,5 +157,14 @@ public class MobileTemplate {
|
||||
public void setAttackRange(int attackRange) {
|
||||
this.attackRange = attackRange;
|
||||
}
|
||||
|
||||
|
||||
public void setCustomWeaponTemplate(String template)
|
||||
{
|
||||
this.customWeaponTemplate = template;
|
||||
}
|
||||
|
||||
public String getCustomWeaponTemplate()
|
||||
{
|
||||
return customWeaponTemplate;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user