summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-08-10 04:10:35 -0400
committerNeil Moore <neil@s-z.org>2013-08-10 04:27:53 -0400
commitb8a0f35253dacce58825d5b1536a45bc47dfcc37 (patch)
treec5a5a810675b0304054bd614557793259860e5d0 /crawl-ref/source/fight.h
parenta9403497d928c93c25626c3bdae52a4c67972ae4 (diff)
downloadcrawl-ref-b8a0f35253dacce58825d5b1536a45bc47dfcc37.tar.gz
crawl-ref-b8a0f35253dacce58825d5b1536a45bc47dfcc37.zip
Refactor out finesse delay adjustment code.
As a side effect, make the one case that used /= 2 (namely, launcher_final_speed()) use div_round_rand() like the others.
Diffstat (limited to 'crawl-ref/source/fight.h')
-rw-r--r--crawl-ref/source/fight.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/fight.h b/crawl-ref/source/fight.h
index 3eb0736966..3bef80357a 100644
--- a/crawl-ref/source/fight.h
+++ b/crawl-ref/source/fight.h
@@ -47,4 +47,6 @@ void attack_cleave_targets(actor* attacker, list<actor*> &targets,
int attack_number = 0,
int effective_attack_number = 0);
+int finesse_adjust_delay(int delay);
+
#endif