public override void Collected(Hero collector) { var list = collector.GetEffectsFromWeapons().ToArray(); foreach(var effect in list) { collector.otherPlayer.AddEffectToWeapons(effect); collector.RemoveEffectFromWeapon(effect); } collector.AddEffectToWeapons(new Damage(15)); base.CreatePopUpText("Ultimate sacrifice", collector); //GameObject.Destroy(gameObject); }