diff options
author | Robert Burnham <burnhamrobertp@gmail.com> | 2011-03-25 10:13:16 -0500 |
---|---|---|
committer | Robert Burnham <burnhamrobertp@gmail.com> | 2011-03-25 10:13:16 -0500 |
commit | cbc40fc8f57ae65c96ff61f049bb0076dbbcb736 (patch) | |
tree | 6392f4ae83116a528914c74c5d83dccd9f16fb6b /crawl-ref/source/attack.h | |
parent | c29de29ce95cd402298e8bef5965ae1f4f361f22 (diff) | |
download | crawl-ref-cbc40fc8f57ae65c96ff61f049bb0076dbbcb736.tar.gz crawl-ref-cbc40fc8f57ae65c96ff61f049bb0076dbbcb736.zip |
Update to-do, juxtapose method declarations
Diffstat (limited to 'crawl-ref/source/attack.h')
-rw-r--r-- | crawl-ref/source/attack.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/attack.h b/crawl-ref/source/attack.h index e107a4e3df..5a430e7f08 100644 --- a/crawl-ref/source/attack.h +++ b/crawl-ref/source/attack.h @@ -96,10 +96,8 @@ public: // damage. /* virtual bool do_attack(); */ - // To-hit is a function of attacker/defender, but we may adjust it - // for a particular attack, especially if there are temporary effects - /* TODO: Implement */ - //virtual int adjust_to_hit(bool random = true); + // To-hit is a function of attacker/defender, defined in sub-classes + virtual int calc_to_hit(bool) = 0; // Exact copies of their melee_attack predecessors std::string actor_name(const actor *a, description_level_type desc, |