Gestion de personnage et de pool de personnage en javascript vanilla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516
  1. if( typeof characters === "undefined" )
  2. var characters = new Characters();
  3. /*characters.createSamourai( "bushi", "f", "", "sons of the mountain tribe", "mirumoto bushi", 0, 0, { "knives" : 2 }) ;
  4. characters.createSamourai( "bushi", "f", "", "sons of the mountain tribe", "mirumoto bushi", 0, 0, { "swordwanship" : 2 }) ;
  5. characters.createSamourai( "bushi", "f", "", "sons of the mountain tribe", "mirumoto bushi", 0, 0, { "crossbow" : 2 }) ;
  6. characters.createSamourai( "bushi", "f", "", "daughters of the flame", "mirumoto bushi", 0, 0, { "crossbow" : 2 }) ;
  7. */
  8. /*characters.createPeople( "f", "smith staff", "shokunin", "craftman", { "staves" : 2 });
  9. characters.createPeople( "f", "smith knives", "shokunin", "craftman", { "knives" : 2 });
  10. characters.createPeople( "f", "smith browler", "shokunin", "craftman", { "jiujtsu" : 2 });
  11. characters.createPeople( "f", "smith spear", "shokunin", "craftman", { "spear" : 2 });
  12. */
  13. /* Topaze */
  14. characters.createPeople( "f", "z", "shokunin", "craftman", { "z_fist" : 2 });