public DamageEvent(DamageSource by, Damageable target, Unit source) { this.source = source; this.by = by; this.target = target; this.usedModifier = this.GetModifier(); this.damageDone = by.baseDamage * this.usedModifier; }