mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-14 04:13:11 -04:00
Being incapacitated while having the weakened debuff now results in instant death
This commit is contained in:
@@ -368,7 +368,10 @@ public final class CorpseService extends Service {
|
||||
corpse.setTurnScale(1);
|
||||
corpse.setMovementScale(1);
|
||||
corpse.setHealth(corpse.getMaxHealth());
|
||||
new BuffIntent("incapWeaken", corpse, corpse, true).broadcastAfterIntent(new BuffIntent("cloning_sickness", corpse, corpse, false));
|
||||
|
||||
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