<commit_before>// -*- mode: c++, coding: utf-8 -*-
/**
 * tbrpg – Text based roll playing game
 * 
 * Copyright © 2012  <NAME> (<EMAIL>)
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
#include "RuleSet.hpp"


/**
 * Text based roll playing game
 * 
 * DD2387 Program construction with C++
 * Laboration 3
 * 
 * @author  <NAME> <<EMAIL>>
 */
namespace tbrpg
{
  /**
   * Constructor
   */
  RuleSet::RuleSet()
  {
    ////TODO implement constructor
    //this->attack_roll_die = 0;
    //this->attack_roll_dice = 0;
    //this->critical_hit = 0;
    //this->critical_miss = 0;
    //this->idle_healing = 0;
    //this->idle_healing_turns = 0;
    //this->combat_healing = 0;
    //this->combat_healing_turns = 0;
    //this->rest_healing = 0;
    //this->rest_healing_turns = 0;
    //this->racial_enemy_bonus = 0;
    //this->racial_enemy_penality = 0;
    //this->reputation_chart = nullptr;
    //this->ability_chart = nullptr;
    //this->inventory_prototype = nullptr;
    //this->spells = nullptr;
    //this->races = nullptr;
    
    ABJURATION.opposite = {ALTERATION};
    ALTERATION.opposite = {ABJURATION, NECROMANCY};
    CONJURATION.opposite = {DIVINATION};
    DIVINATION.opposite = {CONJURATION};
    ENCHANTMENT.opposite = {INVOCATION};
    ILLUSION.opposite = {NECROMANCY};<commit_msg>some default rules<commit_after>// -*- mode: c++, coding: utf-8 -*-
/**
 * tbrpg – Text based roll playing game
 * 
 * Copyright © 2012  <NAME> (<EMAIL>)
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
#include "RuleSet.hpp"


/**
 * Text based roll playing game
 * 
 * DD2387 Program construction with C++
 * Laboration 3
 * 
 * @author  <NAME> <<EMAIL>>
 */
namespace tbrpg
{
  /**
   * Constructor
   */
  RuleSet::RuleSet()
  {
    ////TODO implement constructor
    this->attack_roll_die = 20;
    this->attack_roll_dice = 1;
    this->critical_hit = 20;
    this->critical_miss = 1;
    this->idle_healing = 1;
    this->idle_healing_turns = 1;
    this->combat_healing = 0;
    this->combat_healing_turns = 1;
    this->rest_healing = 2;
    this->rest_healing_turns = 1;
    this->racial_enemy_bonus = 4;
    this->racial_enemy_penality = 4;
    //this->reputation_chart = nullptr;
    //this->ability_chart = nullptr;
    //this->inventory_prototype = nullptr;
    //this->spells = nullptr;
    //this->races = nullptr;
    
    ABJURATION.opposite = {ALTERATION};
    ALTERATION.opposite = {ABJURATION, NECROMANCY};
    CONJURATION.opposite = {DIVINATION};
    DIVINATION.opposite = {CONJURATION};
    ENCHANTMENT.opposite = {INVOCATION};
    ILLUSION.opposite = {NECROMANCY};
{'fraction_non_alphanumeric': 0.12089356110381078, 'fraction_numerical': 0.012614980289093298, 'mean_word_length': 3.070588235294118, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5781584', 'n_tokens_mistral': 1287, 'n_tokens_neox': 1208, 'n_words': 375}