Package | Description |
---|---|
eu.wauz.wauzcore.players.effects |
This package contains effect classes for managing the player's status effects.
|
Modifier and Type | Field and Description |
---|---|
private WauzPlayerEffectSource |
WauzPlayerEffect.source
The source of the effect.
|
Modifier and Type | Method and Description |
---|---|
WauzPlayerEffectSource |
WauzPlayerEffect.getSource() |
static WauzPlayerEffectSource |
WauzPlayerEffectSource.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WauzPlayerEffectSource[] |
WauzPlayerEffectSource.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
WauzPlayerEffects.addEffect(WauzPlayerEffectType type,
WauzPlayerEffectSource source,
int duration)
Adds a new temporary status effect to the player.
|
boolean |
WauzPlayerEffects.addEffect(WauzPlayerEffectType type,
WauzPlayerEffectSource source,
int duration,
int power)
Adds a new temporary status effect to the player.
|
Constructor and Description |
---|
WauzPlayerEffect(WauzPlayerEffectType type,
WauzPlayerEffectSource source,
int duration,
int power)
Creates a new temporary status effect on a player.
|