use of com.skelril.skree.content.zone.group.catacombs.instruction.WaveDamageModifier in project Skree by Skelril.
the class CatacombsManager method setUpWave.
private void setUpWave() {
Sponge.getEventManager().registerListeners(SkreePlugin.inst(), new BossListener<>(waveMobManager, Zombie.class));
List<Instruction<UnbindCondition, Boss<Zombie, CatacombsBossDetail>>> unbindProcessor = waveMobManager.getUnbindProcessor();
unbindProcessor.add(new CheckedSpawnWave());
unbindProcessor.add(new WaveDropInstruction(1));
List<Instruction<DamageCondition, Boss<Zombie, CatacombsBossDetail>>> damageProcessor = waveMobManager.getDamageProcessor();
damageProcessor.add(new WaveDamageModifier());
}
use of com.skelril.skree.content.zone.group.catacombs.instruction.WaveDamageModifier in project Skree by Skelril.
the class CatacombsManager method setUpBoss.
private void setUpBoss() {
Sponge.getEventManager().registerListeners(SkreePlugin.inst(), new BossListener<>(bossManager, Zombie.class));
List<Instruction<BindCondition, Boss<Zombie, CatacombsBossDetail>>> bindProcessor = bossManager.getBindProcessor();
bindProcessor.add(new NamedBindInstruction<>("Necromancer"));
bindProcessor.add(new CatacombsHealthInstruction(250));
List<Instruction<UnbindCondition, Boss<Zombie, CatacombsBossDetail>>> unbindProcessor = bossManager.getUnbindProcessor();
unbindProcessor.add(new CheckedSpawnWave());
unbindProcessor.add(new WaveDropInstruction(2));
List<Instruction<DamageCondition, Boss<Zombie, CatacombsBossDetail>>> damageProcessor = bossManager.getDamageProcessor();
damageProcessor.add(new WaveDamageModifier());
}
Aggregations