*Remove m_currentBasePoints from spell class, use m_spellValue instead.
--HG-- branch : trunk
This commit is contained in:
1 parent
bed85f565b
commit
c1ac063ba1
4 files changed
+7
-17
No files matched your search
@@ -7947,7 +7947,7 @@ void Player::CastItemUseSpell(Item *item,SpellCastTargets const& targets,uint8 c
|
||||
Spell *spell = new Spell(this, spellInfo,false);
|
||||
spell->m_CastItem = item;
|
||||
spell->m_cast_count = cast_count; //set count of casts
|
||||
spell->m_currentBasePoints[0] = SpellMgr::CalculateSpellEffectBaseAmount(learning_spell_id, spellInfo, 0);
|
||||
spell->SetSpellValue(SPELLVALUE_BASE_POINT0, learning_spell_id);
|
||||
spell->prepare(&targets);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user