Added action skill mod

This commit is contained in:
Seefo
2014-03-31 22:03:39 -04:00
parent 515cb92ce7
commit f93a7b68db
3 changed files with 18 additions and 2 deletions
+2
View File
@@ -100,6 +100,8 @@ public class BuffService implements INetworkDispatch {
return null;
}
if(target.hasBuff(buffName)) return null;
final Buff buff = new Buff(buffName, target.getObjectID());
if(target.getSlottedObject("ghost") != null)
buff.setTotalPlayTime(((PlayerObject) target.getSlottedObject("ghost")).getTotalPlayTime());