mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-29 14:12:52 -04:00
Added xp gain on killing NPCs, fixed some bugs, added 2 new config options
This commit is contained in:
@@ -39,6 +39,8 @@ public class MobileTemplate {
|
||||
private int maxDamage;
|
||||
private int difficulty = 0;
|
||||
private int health, action;
|
||||
private String creatureName;
|
||||
private float scale = 1;
|
||||
|
||||
public Vector<String> getTemplates() {
|
||||
return templates;
|
||||
@@ -128,4 +130,20 @@ public class MobileTemplate {
|
||||
this.defaultAttack = defaultAttack;
|
||||
}
|
||||
|
||||
public String getCreatureName() {
|
||||
return creatureName;
|
||||
}
|
||||
|
||||
public void setCreatureName(String creatureName) {
|
||||
this.creatureName = creatureName;
|
||||
}
|
||||
|
||||
public float getScale() {
|
||||
return scale;
|
||||
}
|
||||
|
||||
public void setScale(float scale) {
|
||||
this.scale = scale;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user