Пример #1
0
 public Warrior()
 {
     heroTexture = Engine.Engine.GetTexture("Hero/WarriorSprite");
     Hero.loadSprite();
     visible = true;
     heroRole = Classes.Warrior;
     inventory.addItem(new WarHammer(1, 1));
     baseHealth = 300;
     healthPerLevel = 50;
     resetLevel();
     resetHealth();
     abilities[0] = new Cleave();
     abilities[1] = new WhirlwindSlash();
     Engine.Engine.Log(health.ToString());
 }
Пример #2
0
 public Sentinel()
 {
     heroTexture = Engine.Engine.GetTexture("Hero/Sentinel");
     Hero.loadSprite();
     heroRole = Classes.Sentinel;
     baseHealth = 400;
     healthPerLevel = 65;
     requiredBranchLevel = 30;
     resetLevel();
     resetHealth();
     abilities[0] = new Cleave();
     abilities[1] = new WhirlwindSlash();
     abilities[2] = new ShieldBlock();
     abilities[3] = new ShieldBash();
     Engine.Engine.Log(health.ToString());
     Enemies.Enemy.UpdateTargets(this);
     Enemies.BossEnemy.UpdateBossTargets(this);
 }
Пример #3
0
 public Brawler()
 {
     heroTexture = Engine.Engine.GetTexture("Hero/Brawler");
     Hero.loadSprite();
     heroRole = Classes.Brawler;
     baseHealth = 300;
     healthPerLevel = 40;
     requiredBranchLevel = 30;
     resetLevel();
     resetHealth();
     Enemies.Enemy.UpdateTargets(this);
     Enemies.BossEnemy.UpdateBossTargets(this);
     abilities[0] = new Cleave();
     abilities[1] = new WhirlwindSlash();
     abilities[2] = new Slam();
     abilities[3] = new DoubleSlash();
     Engine.Engine.Log(health.ToString());
 }
Пример #4
0
 public Juggernaut()
 {
     heroTexture = Engine.Engine.GetTexture("Hero/Juggernaut");
     Hero.loadSprite();
     heroRole = Classes.Juggernaut;
     baseHealth = 500;
     healthPerLevel = 75;
     requiredBranchLevel = int.MaxValue;
     resetLevel();
     resetHealth();
     abilities[0] = new Cleave();
     abilities[1] = new WhirlwindSlash();
     abilities[2] = new ShieldBlock();
     abilities[3] = new ShieldBash();
     abilities[4] = new Thornmail();
     abilities[5] = new DivineShield();
     Enemies.Enemy.UpdateTargets(this);
     Enemies.BossEnemy.UpdateBossTargets(this);
 }
Пример #5
0
 public Berserker()
 {
     heroTexture = Engine.Engine.GetTexture("Hero/Berserker");
     Hero.loadSprite();
     heroRole = Classes.Berserker;
     baseHealth = 500;
     healthPerLevel = 40;
     requiredBranchLevel = int.MaxValue;
     resetLevel();
     resetHealth();
     abilities[0] = new Cleave();
     abilities[1] = new WhirlwindSlash();
     abilities[2] = new Slam();
     abilities[3] = new DoubleSlash();
     abilities[4] = new Rage();
     abilities[5] = new Execute();
     Enemies.Enemy.UpdateTargets(this);
     Enemies.BossEnemy.UpdateBossTargets(this);
 }