public DamageOrHealEffect(decimal damageFactor, decimal healFactor, SecondaryAttributeTypes attribute, SchoolTypes school) { DamageFactor = damageFactor; HealFactor = healFactor; Attribute = attribute; School = school; }
public DotAbilityEffect(decimal factor, SecondaryAttributeTypes attribute, SchoolTypes school, int tickDelay) { Factor = factor; Attribute = attribute; School = school; TickDelay = tickDelay; }
public DamageAbilityEffect(decimal factor, SecondaryAttributeTypes attribute, SchoolTypes school) { Factor = factor; Attribute = attribute; School = school; }
public HotAbilityEffect(decimal factor, SecondaryAttributeTypes attribute, int tickDelay) { Factor = factor; Attribute = attribute; TickDelay = tickDelay; }
public HealSourceAbilityEffect(decimal factor, SecondaryAttributeTypes attribute) { Factor = factor; Attribute = attribute; }
protected int ComputeAttributeBasedAmount(ICharacter source, SecondaryAttributeTypes attribute, decimal factor) { return((int)Math.Ceiling(factor * source[attribute] / 100.0m)); }