summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-04-14 12:43:16 +0200
committerRobert Vollmert <rvollmert@gmx.net>2010-04-15 16:35:56 +0200
commitb5d1ca88cc2af414894e22d84bc2aaf80a6d5f39 (patch)
tree3888a5f1afebfeb0f590e2b64f9b9a0e6ab27b39 /crawl-ref/source/fight.h
parenta37de029ebcfeb6297f24eed2049c3cf612ad44e (diff)
downloadcrawl-ref-b5d1ca88cc2af414894e22d84bc2aaf80a6d5f39.tar.gz
crawl-ref-b5d1ca88cc2af414894e22d84bc2aaf80a6d5f39.zip
calc_your_attack_delay() gives access to attack delay.
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 516b4565d7..56ec72bf69 100644
--- a/crawl-ref/source/fight.h
+++ b/crawl-ref/source/fight.h
@@ -9,6 +9,7 @@
#define FIGHT_H
#include "mon-enum.h"
+#include "random-var.h"
enum unarmed_attack_type
{
@@ -63,6 +64,7 @@ bool monsters_fight(monsters* attacker, monsters* attacked,
bool wielded_weapon_check(item_def *weapon, bool no_message = false);
int calc_your_to_hit(bool random_factor);
int calc_heavy_armour_penalty(bool random_factor);
+random_var calc_your_attack_delay();
unchivalric_attack_type is_unchivalric_attack(const actor *attacker,
const actor *defender);