public void GainStrengthWhenAllyRecievesDamage(object sender, OnUnitAppliedDamageEventArgs e) { if (!e.DamagedUnit.Equals(UnitWithAbility)) { UnitWithAbility.AddWeaponStrength(WeaponStrengthGain); } }
private void CallAction(object sender, OnUnitAppliedDamageEventArgs e) { if (ActionActingOnAppliedDamage is null) { return; } ActionActingOnAppliedDamage(sender, e); }