UpdatedEffect
Gets called when the player has received an effect.
Start a script section
!-- OnEvent UpdatedEffect
-- require @evPlayer *evEffect $evIntensity $evDuration
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerEffectUpdatedEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player whose effect has been updated. |
*evEffect | reference to StatusEffectBase object | Gets the effect that is being updated. |
$evIntensity | number value | Gets the new intensity of the effect. |
$evDuration | number value | Gets the new duration of the effect in seconds. |