mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-01 02:16:15 -04:00
Added performance effects, fixed band flos, minor ent service code changes
(Bug Fix) Band Flourishes will now give experience (Added) Performance Commands (Code) Changed to ConcurrentHashMap for performance tables
This commit is contained in:
@@ -31,6 +31,7 @@ import org.apache.mina.core.buffer.IoBuffer;
|
||||
|
||||
import protocol.swg.ChatSystemMessage;
|
||||
import protocol.swg.ObjControllerMessage;
|
||||
import protocol.swg.PlayClientEffectObjectMessage;
|
||||
import protocol.swg.PlayMusicMessage;
|
||||
import protocol.swg.UpdatePostureMessage;
|
||||
import protocol.swg.UpdatePVPStatusMessage;
|
||||
@@ -167,6 +168,9 @@ public class CreatureObject extends TangibleObject implements IPersistent {
|
||||
@NotPersistent
|
||||
private int flourishCount = 0;
|
||||
|
||||
@NotPersistent
|
||||
private boolean performingEffect;
|
||||
|
||||
public CreatureObject(long objectID, Planet planet, Point3D position, Quaternion orientation, String Template) {
|
||||
super(objectID, planet, Template, position, orientation);
|
||||
messageBuilder = new CreatureMessageBuilder(this);
|
||||
@@ -1655,4 +1659,16 @@ public class CreatureObject extends TangibleObject implements IPersistent {
|
||||
this.spectatorTask = spectatorTask;
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isPerformingEffect() {
|
||||
synchronized(objectMutex) {
|
||||
return performingEffect;
|
||||
}
|
||||
}
|
||||
|
||||
public void setPerformingEffect(boolean hasEffect) {
|
||||
synchronized(objectMutex) {
|
||||
this.performingEffect = hasEffect;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user