Enum Class O2EffectType

java.lang.Object
java.lang.Enum<O2EffectType>
net.pottercraft.ollivanders2.effect.O2EffectType
All Implemented Interfaces:
Serializable, Comparable<O2EffectType>, Constable

public enum O2EffectType extends Enum<O2EffectType>
Enumeration of all available magical effects in Ollivanders2.

O2EffectType defines every magical effect that can be applied to players, from beneficial effects (HEAL, LUCK, NIGHT_VISION) to harmful effects (POISON, HARM, WEAKNESS) to utility effects (FLYING, PROTECTION). Each effect type maps to:

  • An O2Effect implementation class used for instantiation via reflection
  • A MagicLevel indicating the spell's difficulty and for counter-spell matching
  • An enabled flag allowing runtime configuration of which effects are active

Effects are created by spells and divination, managed by O2Effects, and applied to players through the effect system. Each effect type has a corresponding O2Effect subclass that implements the specific behavior of that effect.

See Also: