summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-16 00:20:56 -0300
committershennetsind <ind@henn.et>2013-04-16 00:20:56 -0300
commitf3e20da4be387c0e49da58a8be676c9878818ebb (patch)
tree6fcb047ca4d0e5cc39638d205e5260561a17d5b7 /src/map/battle.h
parent1e21ff7d621ca19f341318c67756d7b39baa7d7b (diff)
downloadhercules-f3e20da4be387c0e49da58a8be676c9878818ebb.tar.gz
hercules-f3e20da4be387c0e49da58a8be676c9878818ebb.tar.bz2
hercules-f3e20da4be387c0e49da58a8be676c9878818ebb.tar.xz
hercules-f3e20da4be387c0e49da58a8be676c9878818ebb.zip
Fixed Bug #7060
When using official magical reflection, the damage is no longer reduceable by mdef items or cards (elemental armors work), assumption doesnt reduce either when used in pre-re mode and energy coat is capable of reducing the damage. http://hercules.ws/board/tracker/issue-7060-bmagicdamagereturn/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index 8b1f757f5..bea224b1c 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -462,6 +462,8 @@ extern int attr_fix_table[4][10][10];
* Battle.c Interface
**/
struct battle_interface {
+ /* vars */
+ bool isMagicReflect;/* maybe better as a flag atlho the system isnt threaded so there isn't any bug by using it like this */
/* init */
void (*init) (void);
/* final */