import S1 from './actives/S1.js';
import S2 from './actives/S2.js';
import S3 from './actives/S3.js';
import S4 from './actives/S4.js';
import S5 from './actives/S5.js';
import S6 from './actives/S6.js';
import S7 from './actives/S7.js';
import S8 from './actives/S8.js';
import U1 from './actives/U1.js';
import R1 from './actives/R1.js';
import R2 from './actives/R2.js';
import P1 from './actives/P1.js';
import P2 from './actives/P2.js';
import P3 from './actives/P3.js';
import P4 from './actives/P4.js';
import B1 from './actives/B1.js';
import B2 from './actives/B2.js';
import B3 from './actives/B3.js';
import T1 from './actives/T1.js';
import T2 from './actives/T2.js';
import T3 from './actives/T3.js';
import T4 from './actives/T4.js';
import G1 from './actives/G1.js';
import V1 from './actives/V1.js';
import V2 from './actives/V2.js';
import Y1 from './actives/Y1.js';
import D2 from './actives/D2.js';
import D1 from './actives/D1.js';
import C1 from './actives/C1.js';
import C2 from './actives/C2.js';
import A1 from './actives/A1.js';
import A2 from './actives/A2.js';
import A3 from './actives/A3.js';
import I1 from './actives/I1.js';
import I2 from './actives/I2.js';
import O0 from './actives/O0.js';

const abilities = {
    O0: O0,
    S1: S1,
    S2: S2,
    S3: S3,
    S4: S4,
    S5: S5,
    S6: S6,
    S7: S7,
    S8: S8,
    U1: U1,
    R1: R1,
    R2: R2,
    P1: P1,
    P2: P2,
    P3: P3,
    P4: P4,
    B1: B1,
    B2: B2,
    B3: B3,
    T1: T1,
    T2: T2,
    T3: T3,
    T4: T4,
    G1: G1,
    C2: C2,
    D1: D1,
    D2: D2,
    C1: C1,
    A1: A1,
    A2: A2,
    A3: A3,
    V1: V1,
    V2: V2,
    Y1: Y1,
    I1: I1,
    I2: I2,
}

export default abilities;

export function getAbilities(Class){
    let abilityy = Array.from(abilities)
    let abilityName = []
    for(let i = 0; i < abilities.length; i++) {
        if(abilityy[i].level == Class){
            abilityName.push([abilityy[i].display_name,abilityy[i].name])
        }
    }
    return abilityName
}