mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-28 13:12:54 -04:00
Fixed several AI bugs, listed in description
Fixed #0000061 : Houses can now be destroyed, even when not redeeding - Added AI action regeneration when in combat - Fixed NPC self-buffing null pointer exception
This commit is contained in:
@@ -56,6 +56,7 @@ public class BuildingObject extends TangibleObject implements IPersistent, Seria
|
||||
private Vector<Long> entryList = new Vector<Long>();
|
||||
private Vector<Long> banList = new Vector<Long>();
|
||||
private Vector<Long> adminList = new Vector<Long>();
|
||||
private int destructionFee = 0;
|
||||
|
||||
public static final byte PRIVATE = (byte) 0;
|
||||
public static final byte PUBLIC = (byte) 1;
|
||||
@@ -427,5 +428,13 @@ public class BuildingObject extends TangibleObject implements IPersistent, Seria
|
||||
return adminList.contains(creature.getObjectID());
|
||||
}
|
||||
|
||||
public int getDestructionFee() {
|
||||
return destructionFee;
|
||||
}
|
||||
|
||||
public void setDestructionFee(int destructionFee) {
|
||||
this.destructionFee = destructionFee;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user