Skip to main content

SkillSetModifier

Callable

  • SkillSetModifier(C: Character, SkillType: SkillType, Value: number, Duration: number, Push?: boolean): boolean

  • Set a specific skill modifier to apply for a given duration on the target character.


    Parameters

    • C: Character

      The character to change the modifier on

    • SkillType: SkillType

      The skill the modifier applies to

    • Value: number

      The new value of the modifier

    • Duration: number

      The length of the modifier effect, in ms

    • optionalPush: boolean = true

      Pushes the skills to the server if TRUE

    Returns boolean

    true if the new value was valid, false if it got capped.