Class FUMOS_DUO
FUMOS_DUO is a stronger variant of the FUMOS smoke shield spell that
expands the magical protection radius. While it inherits all smoke shield mechanics
from the parent FUMOS class (blocking projectile spells, displaying campfire smoke
particles), this version increases the effective radius from the default value to 5
blocks, providing broader protection coverage for the affected player.
Shield Mechanism (inherited from FUMOS/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
- Increased protection radius of 5 blocks (FUMOS_DUO variant)
- 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_DUO(@NotNull Ollivanders2 plugin, int duration, boolean isPermanent, @NotNull UUID pid) Constructor for creating an enhanced smoke shield with increased protection radius. -
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_DUO
public FUMOS_DUO(@NotNull @NotNull Ollivanders2 plugin, int duration, boolean isPermanent, @NotNull @NotNull UUID pid) Constructor for creating an enhanced smoke shield with increased protection radius.Creates a protective spell shield effect with an expanded protection radius. This variant increases the shield's effective radius to 5 blocks, providing broader magical protection compared to the standard FUMOS effect. All smoke shield particle effects and spell blocking mechanics are inherited from the parent FUMOS class.
- 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 enhanced smoke protection
-