Added incapacitation and cloning sickness debuffs

This commit is contained in:
Mads Boddum
2016-10-18 14:50:58 +02:00
parent 7d4d14a3fa
commit 48cb3ebde0
3 changed files with 18 additions and 12 deletions
+2 -1
View File
@@ -27,6 +27,7 @@
***********************************************************************************/
package services.combat;
import intents.BuffIntent;
import intents.FactionIntent;
import intents.PlayerEventIntent;
import intents.chat.ChatBroadcastIntent;
@@ -367,7 +368,7 @@ public final class CorpseService extends Service {
corpse.setTurnScale(1);
corpse.setMovementScale(1);
corpse.setHealth(corpse.getMaxHealth());
// TODO NGE: cloning debuff
new BuffIntent("incapWeaken", corpse, corpse, true).broadcastAfterIntent(new BuffIntent("cloning_sickness", corpse, corpse, false));
}
/**