Create Custom RuneEffects
Instead of using the existing examples(RuneEffectBurn, RuneEffectExplode, RuneEffectFreeze and RuneEffectLaunch) you can create youre own RuneEffects too. Example:
public class RuneEffectBurn extends RuneEffect{ private static final long serialVersionUID = 123456789L; //It's important to have this in youre class. //Just replace 123456789L with an auto generated ID. @Override public void execute(Rune rune) { //You can write the code for youre effect here. //You can access all parameters of the rune. } }
You want to see youre own RuneEffect implemented in this plugin? Just write me a PM or email with the code and prehaps I'll add youre class to the next update.
Comments