require "pry" require "dotenv" Dotenv.load!(".env") require_relative "../src/metal_adventures" include MetalAdventures c1 = Character.new(name: "Harlock", username: "Tenkai").save Trait.new(name: "Fraternité Pirate", character: c1).save Trait.new(name: "Rebelle", character: c1).save Trait.new(name: "Cicatrices", character: c1).save Trait.new(name: "Signe distinctif (-3)", character: c1).save Trait.new(name: "Pied marin", character: c1).save Trait.new(name: "Violent", character: c1).save Trait.new(name: "Courageux", character: c1).save Trait.new(name: "Vif", character: c1).save Trait.new(name: "Combattant flamboyant", character: c1).save abi1 = Ability.new(character: c1, name: "Agilité", value: 4).save abi2 = Ability.new(character: c1, name: "Carrure", value: 3).save abi3 = Ability.new(character: c1, name: "Perception", value: 3).save abi4 = Ability.new(character: c1, name: "Intelligence", value: 3).save abi5 = Ability.new(character: c1, name: "Presence", value: 3).save abi6 = Ability.new(character: c1, name: "Sang-Froid", value: 3).save skill1 = Skill.new(character: c1, name: "Commandement", value: 6).save skill2 = Skill.new(character: c1, name: "Athlétisme", value: 4).save skill3 = Skill.new(character: c1, name: "Mêlée", value: 4).save