SkeldJS
    Preparing search index...

    Class PlayerShapeshiftEvent<RoomType>

    Emitted when a player (who is a shapeshifter) shapeshifts into another player.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    eventName: "player.shapeshift" = ...
    doAnimation: boolean

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

    duration: number

    The duration, in seconds, for how long the player is shapeshifted for.

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

    The message that this event originated from.

    player: Player<RoomType>
    reverted: boolean
    room: RoomType
    target: Player<RoomType>

    The target that the player shapeshifted into.

    Accessors

    Methods