Ejemplo n.º 1
0
 public void setBarbarianFeatures(Data barbarianFeatures) {
   barbarianFeatures.abilName = "Barbarian Class Features";
   barbarianFeatures.dClass = "Barbarian";
   barbarianFeatures.dlevel = 0;
   int pbonus[] = {2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6};
   int rages[] = {2, 2, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 100};
   int rageDam[] = {2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4};
   //                {Str,  Dex  ,Con  ,Int  ,Wis  ,Cha  };
   boolean saves[] = {true, false, true, false, false, false};
   barbarianFeatures.profbonus = pbonus;
   barbarianFeatures.classPoints = rages;
   barbarianFeatures.ragedamage = rageDam;
   barbarianFeatures.hitdie = 12;
   barbarianFeatures.armorProf = "Light Armor, Medium Armor, Shields";
   barbarianFeatures.weaponProf = "Simple Weapons, Martial Weapons";
   barbarianFeatures.savingThrows = saves;
   // Skills alphabetically: Acrobatics, Animal Handling, Arcana, Athletics, Deception, History,
   // Insight, Intimidation,Investigation, Medicine, Nature, Perception, Performance, Persuasion,
   // Religion, Sleight of Hand, Stealth, Survival.
   boolean classskills[] = {
     false, true, false, true, false, false, false, true, false, false, true, true, false, false,
     false, false, false, true
   };
   barbarianFeatures.chaClassSkills = classskills;
   barbarianFeatures.numclassSkills = 2;
 }
Ejemplo n.º 2
0
  public void setSorcererFeatures(Data sorcererFeatures) {
    sorcererFeatures.abilName = "Sorcerer Class Features";
    sorcererFeatures.dlevel = 0;
    sorcererFeatures.dClass = "Sorcerer";
    int pbonus[] = {2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6};
    int sorcPoints[] = {0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
    int cans[] = {4, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6};
    int spells[] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 12, 13, 13, 14, 14, 15, 15, 15, 15};
    int slot1[] = {2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4};
    // add other spell slots for later levels here.
    //                {Str,  Dex  ,Con  ,Int  ,Wis  ,Cha  };
    boolean saves[] = {false, false, true, false, false, true};

    sorcererFeatures.classPoints = sorcPoints;
    sorcererFeatures.profbonus = pbonus;
    sorcererFeatures.knownCantrips = cans;
    sorcererFeatures.knownSpells = spells;
    sorcererFeatures.spellslots1 = slot1;
    sorcererFeatures.hitdie = 6;
    sorcererFeatures.armorProf = "None";
    sorcererFeatures.weaponProf = "Daggers, Darts, Slings, Quarterstaffs, Light Crossbows";
    //                      {0    ,1    ,2    ,3    ,4    ,5    ,6    ,7    ,8    ,9    ,10   ,11
    // ,12   ,13   ,14   ,15   ,16   ,17  }
    boolean classskills[] = {
      false, false, true, false, true, false, true, true, false, false, false, false, false, true,
      true, false, false, false
    };
    sorcererFeatures.numclassSkills = 2;
    sorcererFeatures.chaClassSkills = classskills;
    sorcererFeatures.savingThrows = saves;
    sorcererFeatures.toolProf = "Three musical instraments of your choice.";
  }
Ejemplo n.º 3
0
  public void setWarlockFeatures(Data warlockFeatures) {
    warlockFeatures.abilName = "Warlock Class Features";
    warlockFeatures.dlevel = 0;
    warlockFeatures.dClass = "Warlock";
    int pbonus[] = {2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6};
    int cans[] = {2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4};
    int spells[] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15};
    int slot1[] = {1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4};
    int slotlevel[] = {1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
    int inv[] = {0, 2, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8};
    // add other spell slots for later levels here.
    //                {Str,  Dex  ,Con  ,Int  ,Wis  ,Cha  };
    boolean saves[] = {false, false, false, false, true, true};

    warlockFeatures.classPoints = slotlevel; // this is the level of the spell slots.
    warlockFeatures.profbonus = pbonus;
    warlockFeatures.knownCantrips = cans;
    warlockFeatures.knownSpells = spells;
    warlockFeatures.spellslots1 = slot1;
    warlockFeatures.invocations = inv;
    warlockFeatures.hitdie = 8;
    warlockFeatures.armorProf = "Light Armor";
    warlockFeatures.weaponProf = "Simple Weapons";
    //                      {0    ,1    ,2    ,3    ,4    ,5    ,6    ,7    ,8    ,9    ,10   ,11
    // ,12   ,13   ,14   ,15   ,16   ,17  }
    boolean classskills[] = {
      false, false, true, false, true, true, false, true, true, false, true, false, false, false,
      true, false, false, false
    };

    warlockFeatures.numclassSkills = 2;
    warlockFeatures.chaClassSkills = classskills;
    warlockFeatures.savingThrows = saves;
  }
Ejemplo n.º 4
0
  public void setMonkFeatures(Data monkFeatures) {
    monkFeatures.abilName = "Monk Class Features";
    monkFeatures.dlevel = 0;
    monkFeatures.dClass = "Monk";
    int pbonus[] = {2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6};
    int marts[] = {4, 4, 4, 4, 6, 6, 6, 6, 6, 6, 8, 8, 8, 8, 8, 8, 10, 10, 10, 10};
    int ki[] = {0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
    //                {Str,  Dex  ,Con  ,Int  ,Wis  ,Cha  };
    boolean saves[] = {true, true, false, false, false, false};

    monkFeatures.profbonus = pbonus;
    monkFeatures.classPoints = ki;
    monkFeatures.mArts = marts;
    monkFeatures.hitdie = 8;
    monkFeatures.armorProf = "None";
    monkFeatures.weaponProf = "Simple Weapons, Shortswords";
    //                      {0    ,1   ,2    ,3    ,4   ,5   ,6   ,7   ,8    ,9   ,10     ,11   ,12
    //  ,13   ,14   ,15   ,16   ,17  }
    boolean classskills[] = {
      true, false, false, true, false, true, true, false, false, false, false, false, false, false,
      true, false, false, true
    };
    monkFeatures.numclassSkills = 2;
    monkFeatures.chaClassSkills = classskills;
    monkFeatures.savingThrows = saves;
    monkFeatures.toolProf = "Choose one type of artisan’s tools or one musical instrument.";
  }