예제 #1
0
파일: Spell.cs 프로젝트: say1981/Rawr
 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;
 }
예제 #2
0
파일: Spell.cs 프로젝트: say1981/Rawr
 public BaseSpell(BaseSpell baseSpell) :
     this(baseSpell.Rank, baseSpell.MinHeal, baseSpell.MaxHeal, baseSpell.ManaCost, baseSpell.CastTime, baseSpell.RankCoef, baseSpell.HotDuration)
 {
 }
예제 #3
0
파일: Spell.cs 프로젝트: say1981/Rawr
 protected Spell(Stats stats, BaseSpell baseSpell, string name, float coef, Color col)
     : this(stats, baseSpell, name, coef, 0, col)
 {
 }