EffectAddBeforeEvent Class
Contains information related to changes to an effect - like poison - being added to an entity.
Properties
cancel
cancel: boolean;
When set to true will cancel the event.
Type: boolean
duration
duration: number;
Effect duration.
Type: number
effectType
read-only effectType: string;
The type of the effect that is being added.
Type: string
entity
read-only entity: Entity;
Entity that the effect is being added to.
Type: Entity
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for