diff options
author | Your Name <you@example.com> | 2021-04-13 16:16:27 -0400 |
---|---|---|
committer | Your Name <you@example.com> | 2021-04-13 16:16:27 -0400 |
commit | 9034c3d2533177f7cb7a7ce939ec53f7fa63f60e (patch) | |
tree | 49bf01a4682c251cb3778f563afeb7e1ec8d41c7 /src/creature.cc | |
parent | 2ab51e507d620c4479e07ca0ec47d22c8c66bc90 (diff) | |
download | dmtool-9034c3d2533177f7cb7a7ce939ec53f7fa63f60e.tar.gz dmtool-9034c3d2533177f7cb7a7ce939ec53f7fa63f60e.tar.bz2 dmtool-9034c3d2533177f7cb7a7ce939ec53f7fa63f60e.zip |
Added spells
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; } |