Description

To learn a skill. If status are present, they are afflicted with the character

Usage

Parameters

  • states {Integer|Array}

    Array with an array of two states: [ID state, Percent affectation]

    Percent affectation :

    • 200
    • 100
    • 50
    • 0
    • -100

Example

global.game_player.setDefStates([[4, 100], [3, 50]]);

State #4 = 100% State #3 = 50%

Discussion