Core/Spells: reduce differences between branches
This commit is contained in:
1 parent
c158f40455
commit
48c21d7161
8 files changed
+41
-42
No files matched your search
@@ -8103,7 +8103,7 @@ void Player::CastItemUseSpell(Item* item, SpellCastTargets const& targets, uint8
|
||||
Spell* spell = new Spell(this, spellInfo, TRIGGERED_NONE);
|
||||
spell->m_CastItem = item;
|
||||
spell->m_cast_count = castId;
|
||||
spell->SetSpellValue(SPELLVALUE_BASE_POINT0, learning_spell_id);
|
||||
spell->SetSpellValue({ SPELLVALUE_BASE_POINT0, learning_spell_id });
|
||||
spell->prepare(targets);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user