Some cleanups

This commit is contained in:
hondacrx
2021-07-08 13:01:46 -04:00
parent 970ac30730
commit 50fcbd3aaf
9 changed files with 14 additions and 23 deletions
-1
View File
@@ -1699,7 +1699,6 @@ namespace Game.Spells
DamageInfo damageInfo = eventInfo.GetDamageInfo();
if (damageInfo != null)
{
WeaponAttackType attType = damageInfo.GetAttackType();
if (damageInfo.GetAttackType() != WeaponAttackType.OffAttack)
item = target.ToPlayer().GetUseableItemByPos(InventorySlots.Bag0, EquipmentSlot.MainHand);
else