mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-27 12:12:51 -04:00
More work on combat, added 2 obj Controller packets, added /setspeed, fixed object permissions
This commit is contained in:
@@ -342,6 +342,16 @@ public class CreatureObject extends TangibleObject implements IPersistent {
|
||||
public List<SkillMod> getSkillMods() {
|
||||
return skillMods;
|
||||
}
|
||||
|
||||
public SkillMod getSkillMod(String name) {
|
||||
synchronized(objectMutex) {
|
||||
for(SkillMod skillMod : skillMods) {
|
||||
if(skillMod.getSkillModString().equals(name))
|
||||
return skillMod;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public short getSkillModsUpdateCounter() {
|
||||
synchronized(objectMutex) {
|
||||
|
||||
Reference in New Issue
Block a user