diff options
author | megamage <none@none> | 2008-12-25 21:45:41 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-25 21:45:41 -0600 |
commit | 682184c668942c9a65beef92d9adf74cfb763e5a (patch) | |
tree | d66769f5d559ed8e7c5b370bfaa66797ff8ab352 /src | |
parent | 4365900bddd2da1dd83ee6e202c26806d39dbdde (diff) |
*Fix mining (this time it should work).
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Spell.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index a5da4e0fe78..1e2ac245aeb 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -3890,7 +3890,8 @@ uint8 Spell::CanCast(bool strict) SkillValue = 0; // add the damage modifier from the spell casted (cheat lock / skeleton key etc.) (use m_currentBasePoints, CalculateDamage returns wrong value) - SkillValue += m_currentBasePoints[i]/*+1*/; + // TODO: is this a hack? + SkillValue += m_currentBasePoints[i]+1; // get the required lock value int32 ReqValue=0; |