diff options
Diffstat (limited to 'src/creature.cc')
-rw-r--r-- | src/creature.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/creature.cc b/src/creature.cc index 1a1463c..24a8087 100644 --- a/src/creature.cc +++ b/src/creature.cc @@ -23,7 +23,6 @@ namespace creature { Creature::Creature(json data) : creatureName(data["name"]), size(data["size"]), type(data["type"]), alignment(data["alignment"]), hdCount(data["hit_die_count"]), hdSides(data["hit_die_sides"]), speed(data["speed"]), stats(data["stats"]), skills(data["skills"]), saves(data["saves"]), langs(data["langs"]), cr(data["cr"]), proficiency(data["prof"]), dmgImmunities(initDmgType(data["d_immunities"])), dmgResistances(initDmgType(data["d_resistances"])), dmgVulnerabilities(initDmgType(data["d_vulnerabilities"])), condImmunities(initDmgType(data["c_immunities"])) { - cout << "Initialized this far...\n\n"; // Initialize features + inventory for(json data : data["features"]) { features.push_back(feature::Feature::create(data)); @@ -175,10 +174,6 @@ namespace creature { return stats.at(ability); } - void Creature::setScore(const string& ability, int score) { - stats[ability] = score; - } - string Creature::getSpeed() const { return speed; } |