예제 #1
0
파일: Wand.cs 프로젝트: zwand19/zerds
 public Wand(Zerd zerd) : base(AbilityTypes.Wand, zerd, AbilityConstants.WandCooldown, AbilityConstants.WandCastTime, 0f, "fairy-wand")
 {
     if (zerd.Player.ChargeAbilities)
     {
         zerd.AddCastingAnimation(AnimationTypes.Attack, TimeSpan.Zero, AbilityConstants.WandFollowThroughTime, null, Casted);
     }
     else
     {
         zerd.AddCastingAnimation(AnimationTypes.Attack, AbilityConstants.WandCastTime, AbilityConstants.WandFollowThroughTime, Execute, Casted);
     }
 }
예제 #2
0
파일: LavaBlast.cs 프로젝트: zwand19/zerds
 public LavaBlast(Zerd zerd) : base(AbilityTypes.LavaBlast, zerd, AbilityConstants.LavaBlastCooldown, AbilityConstants.LavaBlastCastTime, AbilityConstants.LavaBlastManaCost, "lava_blast")
 {
     zerd.AddCastingAnimation(AnimationTypes.LavaBlastAttack, AbilityConstants.LavaBlastCastTime, AbilityConstants.LavaBlastFollowThroughTime, Execute, Casted);
 }
예제 #3
0
 public Fireball(Zerd zerd) : base(AbilityTypes.Fireball, zerd, AbilityConstants.FireballCooldown, AbilityConstants.FireballCastTime, AbilityConstants.FireballManaCost, "fireball")
 {
     zerd.AddCastingAnimation(AnimationTypes.FireAttack, AbilityConstants.FireballCastTime, AbilityConstants.FireballFollowThroughTime, Execute, Casted);
 }
예제 #4
0
파일: FrostPound.cs 프로젝트: zwand19/zerds
 public FrostPound(Zerd zerd) : base(AbilityTypes.FrostPound, zerd, AbilityConstants.FrostPoundCooldown, AbilityConstants.FrostPoundCastTime, AbilityConstants.FrostPoundManaCost, "ice-punch")
 {
     zerd.AddCastingAnimation(AnimationTypes.FrostPoundAttack, AbilityConstants.FrostPoundCastTime, AbilityConstants.FrostPoundFollowThroughTime, Execute, Casted);
 }
예제 #5
0
파일: Charm.cs 프로젝트: zwand19/zerds
 public Charm(Zerd zerd) : base(AbilityTypes.Charm, zerd, AbilityConstants.CharmCooldown, AbilityConstants.CharmCastTime, AbilityConstants.CharmManaCost, "chained-heart")
 {
     zerd.AddCastingAnimation(AnimationTypes.Charm, AbilityConstants.CharmCastTime, AbilityConstants.CharmFollowThroughTime, Execute, Casted);
 }