*Fix mining.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-25 19:47:07 -06:00
parent 6e784a14fd
commit 56f8b5ee84

View File

@@ -2916,7 +2916,7 @@ void Spell::EffectOpenLock(uint32 /*i*/)
SkillId = SKILL_LOCKPICKING;
// skill bonus provided by casting spell (mostly item spells)
uint32 spellSkillBonus = uint32(m_currentBasePoints[0]/*+1*/);
uint32 spellSkillBonus = uint32(damage/*m_currentBasePoints[0]+1*/);
uint32 reqSkillValue = lockInfo->requiredminingskill;