Misc stuff

This commit is contained in:
hondacrx
2019-11-27 11:23:07 -05:00
parent 3ce916a82c
commit 916f9a2ea2
3 changed files with 14 additions and 3 deletions
+1
View File
@@ -2113,6 +2113,7 @@ namespace Game.Spells
player.DestroyItemCount(itemTarget, ref count, true);
unitTarget = player;
// and add a scroll
damage = 1;
DoCreateItem(effIndex, effectInfo.ItemType, m_spellInfo.HasAttribute(SpellAttr0.Tradespell) ? ItemContext.TradeSkill : ItemContext.None);
itemTarget = null;
m_targets.SetItemTarget(null);