From 9034c3d2533177f7cb7a7ce939ec53f7fa63f60e Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 13 Apr 2021 16:16:27 -0400 Subject: Added spells --- src/creature.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/creature.cc') 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; } -- cgit v1.2.3