Core/Spells: reduce differences between branches

This commit is contained in:
Ovahlord committed 2025-08-02 09:39:15 +02:00
1 parent c158f40455
commit 48c21d7161
8 files changed
+41 -42

No files matched your search

+1 -1
View File
@@ -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;
}