aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.h
diff options
context:
space:
mode:
authorkrz <none@none>2009-06-07 19:10:01 +0200
committerkrz <none@none>2009-06-07 19:10:01 +0200
commitc7c092f54bc6aa988991c601d532322c5cb8df32 (patch)
tree53f5d369ff4176c595a3b1cb2cdb45b6dc7ad1b6 /src/game/Spell.h
parent5e87f3144cca2cae1add4acd18affcfbb2d981e5 (diff)
Calculate spell critical hit chance at spell cast instead spell hit. Patch by thenecromancer.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.h')
-rw-r--r--src/game/Spell.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Spell.h b/src/game/Spell.h
index 94166425675..8da9facb264 100644
--- a/src/game/Spell.h
+++ b/src/game/Spell.h
@@ -525,6 +525,7 @@ class Spell
uint8 effectMask:8;
bool processed:1;
int32 damage;
+ bool crit;
};
std::list<TargetInfo> m_UniqueTargetInfo;
uint8 m_needAliveTargetMask; // Mask req. alive targets