Added Buff Workshop Collection, hologram variable to creatureobject

(Added) BuffWorkshop Collection
(Code) Added hologram variable to CreatureObject
(BugFix) Inspiration ticks stop at max duration
This commit is contained in:
Waverunner
2014-03-23 13:42:18 -04:00
parent 640973da22
commit cf5c36dd29
7 changed files with 72 additions and 16 deletions
+3 -1
View File
@@ -60,7 +60,7 @@ public class BuffService implements INetworkDispatch {
}
public void addBuffToCreature(final CreatureObject creature, String buffName) {
public boolean addBuffToCreature(final CreatureObject creature, String buffName) {
/*if(!FileUtilities.doesFileExist("scripts/buffs/" + buffName + ".py")) {
//System.out.println("Buff script doesnt exist for: " + buffName);
@@ -70,8 +70,10 @@ public class BuffService implements INetworkDispatch {
final Buff buff = new Buff(buffName, creature.getObjectID());
if(buff.isGroupBuff()) {
addGroupBuff(creature, buffName);
return true;
} else {
doAddBuff(creature, buffName, null);
return true;
}
}