class Skill {
  static parse ({ name, value, description }) {
    return new Skill({ name, value, description })
  }

  constructor ({ name, value, description }) {
    this.name = name
    this.value = value
    this.description = description
  }

  toJSON () {
    return {
      name: this.name,
      value: this.value,
      description: this.description
    }
  }
}

export default Skill

@@ -11,112 +11,8 @@
 l %7B%0A
-  static parse (%7B name, value, description %7D) %7B%0A    return new Skill(%7B name, value, description %7D)%0A  %7D%0A%0A
   co
@@ -34,26 +34,17 @@
 me, 
-value, description
+abilities
  %7D) 
@@ -79,178 +79,188 @@
 his.
-value = value%0A    this.description = description%0A  %7D%0A%0A  toJSON () %7B%0A    return %7B%0A      name: this.name,%0A      value: this.value,%0A      description: this.description%0A    %7D
+abilities = abilities%0A  %7D%0A%0A  apply (game) %7B%0A    this.abilities.forEach(ability =%3E ability.apply(game))%0A  %7D%0A%0A  toJSON () %7B%0A    return this.abilities.map(ability =%3E ability.toJSON())
 %0A  %7D

Refactor skills