private void _removeEffectsFomrUnit(EquipItem eitem) { Dictionary <GameTypes.UnitStatType, float> effs = eitem.getEffectDict(); foreach (KeyValuePair <GameTypes.UnitStatType, float> eff in effs) { mActer.addToStat(eff.Key, -1 * eff.Value); } return; }