Class BossSkillBeta

Define a boss skill.

Constructors

  • Beta

    Parameters

    • id: string

      Id of the boss skill.

    • cooldownTime: number

      Cooldown of the boss skill.

    • radius: number

      The radius within which entity can be effected by the skill.

    • effect: SkillEffect

      The effect of the skill.

    • Optionalmessage: string | RawMessage

      Message when the skill unleash.

    Returns BossSkill

Properties

cooldownTime: number

Cooldown of the boss skill.

effect: SkillEffect

The effect of the skill.

id: string

Id of the boss skill.

message?: string | RawMessage

Message when the skill unleash.

radius: number

The radius within which entity can be effected by the skill.

Methods

  • Beta

    Unleash the skill to an entity.

    Parameters

    • entity: Entity
    • boss: Entity

    Returns void

  • Beta

    Unleash the skill to entities.

    Parameters

    • entiies: Entity[]
    • boss: Entity

    Returns void