/// <summary> /// Resolves the IEE and applies it to the PC /// </summary> /// <param name="eventModifier">Event modifier for item amount</param> /// <param name="pcm">The PC model to apply to</param> public override void ResolveEffect(double eventModifier, PCModel pcm) { int amount = item.GetAmount(); if (amount < 0) { int remove = Math.Abs(amount); pcm.RemoveRandomItemFromInventory(remove); } else { pcm.ModifyInventory(item, amount); } }