Open SirFancyBacon opened 4 years ago
Basic minecraft effects found here: https://minecraft.gamepedia.com/Status_effect Command and how to use it are found here: https://minecraft.gamepedia.com/Commands/effect
I'm thinking you could use an optional that if it has values would pass them to the same functions that issue the command; but in Java.
https://docs.spongepowered.org/stable/en/plugin/effects.html?highlight=effects
import org.spongepowered.api.effect.potion.PotionEffect;
import org.spongepowered.api.effect.potion.PotionEffectTypes;
PotionEffect potion = PotionEffect.builder()
.potionType(PotionEffectTypes.HASTE)
.duration(10)
.amplifier(5)
.build();
Seems to be a good starting point; If EffectSmith already supports this then Effect Smith support simply needs to be added to Brawlator.
This would allow for Mobs to spawn with effects on them, the ability to inflict effects on attack (with configurable percentage), and apply an effect to the player within a certain radius.
This would be similar to how Diablo/Binding of Isaak functions with their "Champions" Also how the mod "Infernal Mobs" functions.