Class FUMOS
java.lang.Object
net.pottercraft.ollivanders2.effect.O2Effect
net.pottercraft.ollivanders2.effect.ShieldSpellEffect
net.pottercraft.ollivanders2.effect.FUMOS
- Direct Known Subclasses:
FUMOS_DUO
Spell shield effect that surrounds the player with smoke, blocking incoming projectile spells.
FUMOS is a specialized spell shield that protects the affected player from projectile spell attacks by creating a smoke barrier. Unlike regular shields, FUMOS displays continuous smoke particle effects (campfire smoke) that pulse around the player, creating a visual representation of the magical protection. When projectile spells are blocked by this shield, they are intercepted without triggering impact effects.
Shield Mechanism (inherited from SpellShieldEffect):
- Blocks incoming projectile spells from hitting the player
- Only blocks spells up to 1 level higher than the shield's magic level
- Prevents entity targeting of the shielded player
- Pulses campfire smoke particles continuously around the player
- No impact flair displayed when spells are blocked
- See Also:
-
Field Summary
Fields inherited from class net.pottercraft.ollivanders2.effect.O2Effect
affectedPlayerText, duration, effectType, informousText, kill, legilimensText, p, permanent, targetID -
Constructor Summary
ConstructorsConstructorDescriptionFUMOS(@NotNull Ollivanders2 plugin, int duration, boolean isPermanent, @NotNull UUID pid) Constructor for creating a smoke shield spell barrier effect. -
Method Summary
Methods inherited from class net.pottercraft.ollivanders2.effect.ShieldSpellEffect
checkEffect, doRemove, getRadiusMethods inherited from class net.pottercraft.ollivanders2.effect.O2Effect
age, getAffectedPlayerText, getInformousText, getLegilimensText, getMaxDuration, getMinDuration, getRemainingDuration, getTargetID, isKilled, isPermanent, kill, setPermanent
-
Constructor Details
-
FUMOS
public FUMOS(@NotNull @NotNull Ollivanders2 plugin, int duration, boolean isPermanent, @NotNull @NotNull UUID pid) Constructor for creating a smoke shield spell barrier effect.Creates a protective spell shield effect that surrounds the player with smoke. The shield blocks incoming projectile spells while displaying continuous campfire smoke particle effects around the player. Configuration:
- flairPulse = true: Particles continuously pulse around the protected player
- pulseFlairParticle = CAMPFIRE_COSY_SMOKE: Cozy campfire smoke particles for the visual effect
- flairOnSpellImpact = false: No additional impact particles when spells are blocked
- Parameters:
plugin- a callback to the MC pluginduration- the duration of the shield effect in game ticksisPermanent- is this effect permanent (does not age)pid- the unique ID of the player to shield with smoke protection
-