Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public BaseSpell(BaseSpell baseSpell) :
     this(baseSpell.Rank, baseSpell.MinHeal, baseSpell.MaxHeal, baseSpell.ManaCost, baseSpell.CastTime, baseSpell.RankCoef, baseSpell.HotDuration)
 {
 }
Ejemplo n.º 3
0
 protected Spell(Stats stats, BaseSpell baseSpell, string name, float coef, Color col)
     : this(stats, baseSpell, name, coef, 0, col)
 {
 }