summaryrefslogtreecommitdiff
path: root/src/emap/battle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-31 21:26:22 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-31 21:26:22 +0300
commit1e49a9dd41900d045c94ebfe34909fa9e4dba32f (patch)
treef521e38b69ea7409645c8b6ac18fc576d9aa74d8 /src/emap/battle.h
parent48ce547ec3ead9228f81404c7abf4ee99dbe2819 (diff)
downloadevol-hercules-1e49a9dd41900d045c94ebfe34909fa9e4dba32f.tar.gz
evol-hercules-1e49a9dd41900d045c94ebfe34909fa9e4dba32f.tar.bz2
evol-hercules-1e49a9dd41900d045c94ebfe34909fa9e4dba32f.tar.xz
evol-hercules-1e49a9dd41900d045c94ebfe34909fa9e4dba32f.zip
Add into item_db.conf support for attribute AllowAmmo for bows.
This allow limit any arrow/ammo for any bows/guns.
Diffstat (limited to 'src/emap/battle.h')
-rw-r--r--src/emap/battle.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/emap/battle.h b/src/emap/battle.h
new file mode 100644
index 0000000..7ab2db2
--- /dev/null
+++ b/src/emap/battle.h
@@ -0,0 +1,10 @@
+// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+// Copyright (c) 2014 - 2015 Evol developers
+
+#ifndef EVOL_MAP_BATTLE
+#define EVOL_MAP_BATTLE
+
+bool ebattle_check_arrows_post(bool retVal,
+ struct map_session_data *sd);
+
+#endif // EVOL_MAP_BATTLE