Incap debuff uses new format, added MOTD on login

This commit is contained in:
Waverunner
2014-03-27 19:33:38 -04:00
parent 1464f5b428
commit d8eb437348
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -817,7 +817,7 @@ public class CombatService implements INetworkDispatch {
}, target.getIncapTimer(), TimeUnit.SECONDS);
target.setIncapTask(incapTask);
core.buffService.addBuffToCreature(target, "incapWeaken");
core.buffService.addBuffToCreature(target, "incapWeaken", target);
if(target.getSlottedObject("ghost") != null)
attacker.sendSystemMessage("You incapacitate " + target.getCustomName() + ".", (byte) 0);
return;