protected Spell(Stats stats, BaseSpell baseSpell, string name, float coef, float hotDuration, Color col) : base(baseSpell) { Name = name; CastTime = baseSpell.CastTime; HealingCoef = coef; HotDuration = hotDuration; GlobalCooldown = 1.5f * (1 - stats.SpellHasteRating / 15.7f / 100f); GraphColor = col; }
public BaseSpell(BaseSpell baseSpell) : this(baseSpell.Rank, baseSpell.MinHeal, baseSpell.MaxHeal, baseSpell.ManaCost, baseSpell.CastTime, baseSpell.RankCoef, baseSpell.HotDuration) { }
protected Spell(Stats stats, BaseSpell baseSpell, string name, float coef, Color col) : this(stats, baseSpell, name, coef, 0, col) { }