public Monk(string name, int health, int mana, int damage, int armor) : base(name, health, mana, damage, armor, DefaultAttackSpeed) { this.fireball = Fireball.CreateFireball(); this.hitTimer = new Timer(this.AttackSpeed); this.hitTimer.Elapsed += this.HitTimerElapsed; }
public NpcMage(int level, string name, int health, int mana, int damage, int armor, Location location) : base(level, name, health, mana, damage, armor, DefaultAttackSpeed, DefaultHitRange, location) { this.fireball = Fireball.CreateFireball(DefaultAttackSpeed); this.hitTimer = new Timer(this.AttackSpeed); this.hitTimer.Elapsed += this.HitTimerElapsed; this.MaxHealth += (this.Level * 50); this.MaxMana += (this.Level * 50); this.Armor += (this.Level * 50); this.Damage += (this.Level * 20); this.Health = this.MaxHealth; this.Mana = this.MaxMana; this.Level = level; }