skeldjs
    Preparing search index...

    Class PlayerRevertShapeshiftEvent<RoomType>

    Emitted when a player (who is a shapeshifter) shapeshifts back into their own form after being shapeshifted as another play for some duration of time.

    Use PlayerShapeshiftEvent to listen for when a player actually shapeshifts initially.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    doAnimation: boolean

    Whether or not to show an animation of the player shapeshifting.

    eventName: "player.revertshapeshift" = ...
    message: undefined | ProtectPlayerMessage

    The message that this event originated from.

    player: Player<RoomType>

    The player that this event is for.

    reverted: boolean
    room: RoomType

    The room or client that the event came from.

    target: Player<RoomType>

    The player that the player shapeshifted from.

    eventName: "player.revertshapeshift" = ...

    Accessors

    Methods

    • Change whether or not an animation will show the player shapeshifting.

      Parameters

      • doAnimation: boolean

        Whether or not to do show an animation of the player shape shifting.

      Returns void