Skip to main content

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

VariableTypeDescription
@evPlayerplayer valueGets the player whose effect has been updated.
*evEffectreference to StatusEffectBase objectGets the effect that is being updated.
$evIntensitynumber valueGets the new intensity of the effect.
$evDurationnumber valueGets the new duration of the effect in seconds.