Dual Mode Support

This commit is contained in:
Kam committed 2026-02-06 20:25:37 -05:00
1 parent fe1cec8981
commit 8917e37a6d
4 files changed
+71

No files matched your search

@@ -216,4 +216,21 @@ public interface IAbility {
* Set this ability's data from NBT.
*/
void setNbt(INbt nbt);
// Burst system
boolean isBurstEnabled();
void setBurstEnabled(boolean enabled);
int getBurstAmount();
void setBurstAmount(int amount);
int getBurstDelay();
void setBurstDelay(int delay);
boolean isBurstReplayAnimations();
void setBurstReplayAnimations(boolean replay);
boolean isBurstOverlap();
void setBurstOverlap(boolean overlap);
}
@@ -73,4 +73,22 @@ public interface IAbilityDisc extends IAbility {
*/
int getAnchorPoint();
void setAnchorPoint(int point);
// Dual/Projectile count
int getProjectileCount();
void setProjectileCount(int count);
int getDualFireDelay();
void setDualFireDelay(int delay);
// Indexed accessors (for dual mode)
int getInnerColor(int projectileIndex);
void setInnerColor(int projectileIndex, int color);
int getOuterColor(int projectileIndex);
void setOuterColor(int projectileIndex, int color);
int getAnchorPoint(int projectileIndex);
void setAnchorPoint(int projectileIndex, int point);
}
@@ -67,4 +67,22 @@ public interface IAbilityEnergyBeam extends IAbility {
*/
int getAnchorPoint();
void setAnchorPoint(int point);
// Dual/Projectile count
int getProjectileCount();
void setProjectileCount(int count);
int getDualFireDelay();
void setDualFireDelay(int delay);
// Indexed accessors (for dual mode)
int getInnerColor(int projectileIndex);
void setInnerColor(int projectileIndex, int color);
int getOuterColor(int projectileIndex);
void setOuterColor(int projectileIndex, int color);
int getAnchorPoint(int projectileIndex);
void setAnchorPoint(int projectileIndex, int point);
}
@@ -64,4 +64,22 @@ public interface IAbilityOrb extends IAbility {
*/
int getAnchorPoint();
void setAnchorPoint(int point);
// Dual/Projectile count
int getProjectileCount();
void setProjectileCount(int count);
int getDualFireDelay();
void setDualFireDelay(int delay);
// Indexed accessors (for dual mode)
int getInnerColor(int projectileIndex);
void setInnerColor(int projectileIndex, int color);
int getOuterColor(int projectileIndex);
void setOuterColor(int projectileIndex, int color);
int getAnchorPoint(int projectileIndex);
void setAnchorPoint(int projectileIndex, int point);
}