mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-14 04:13:11 -04:00
Merged in M4SS/holocore/ability_buffs (pull request #335)
NGE-449 - Abilities applying Buffs
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
***********************************************************************************/
|
||||
package services.combat;
|
||||
|
||||
import intents.BuffIntent;
|
||||
import intents.FactionIntent;
|
||||
import intents.PlayerEventIntent;
|
||||
import intents.chat.ChatBroadcastIntent;
|
||||
@@ -379,7 +380,10 @@ public final class CorpseService extends Service {
|
||||
corpse.setTurnScale(1);
|
||||
corpse.setMovementScale(1);
|
||||
corpse.setHealth(corpse.getMaxHealth());
|
||||
// TODO NGE: cloning debuff
|
||||
|
||||
BuffIntent cloningSickness = new BuffIntent("cloning_sickness", corpse, corpse, false);
|
||||
new BuffIntent("incapweaken", corpse, corpse, true).broadcastAfterIntent(cloningSickness);
|
||||
cloningSickness.broadcast();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user