示例#1
0
文件: Rogue.cs 项目: JonECG/Brogue
 public Rogue()
 {
     heroTexture = Engine.Engine.GetTexture("Hero/RogueSprite");
     Hero.loadSprite();
     visible = true;
     heroRole = Classes.Rogue;
     inventory.addItem(new TheWolverine(1, 1));
     baseHealth = 225;
     healthPerLevel = 35;
     resetLevel();
     resetHealth();
     canDuelWield = true;
     abilities[0] = new Mug();
     abilities[1] = new Invisibility();
     Engine.Engine.Log(health.ToString());
 }
示例#2
0
文件: Duelist.cs 项目: JonECG/Brogue
 public Duelist()
 {
     heroTexture = Engine.Engine.GetTexture("Hero/Duelist");
     Hero.loadSprite();
     heroRole = Classes.Duelist;
     baseHealth = 275;
     healthPerLevel = 35;
     requiredBranchLevel = 30;
     resetLevel();
     resetHealth();
     Enemies.Enemy.UpdateTargets(this);
     Enemies.BossEnemy.UpdateBossTargets(this);
     abilities[0] = new Mug();
     abilities[1] = new Invisibility();
     abilities[2] = new Parry();
     abilities[3] = new Eviscerate();
     Engine.Engine.Log(health.ToString());
 }
示例#3
0
文件: Ranger.cs 项目: JonECG/Brogue
 public Ranger()
 {
     heroTexture = Engine.Engine.GetTexture("Hero/Ranger");
     Hero.loadSprite();
     heroRole = Classes.Ranger;
     baseHealth = 350;
     healthPerLevel = 35;
     requiredBranchLevel = 30;
     resetLevel();
     resetHealth();
     Enemies.Enemy.UpdateTargets(this);
     Enemies.BossEnemy.UpdateBossTargets(this);
     abilities[0] = new Mug();
     abilities[1] = new Invisibility();
     abilities[2] = new Volley();
     abilities[3] = new SteadyShot();
     Engine.Engine.Log(health.ToString());
 }
示例#4
0
文件: Assassin.cs 项目: JonECG/Brogue
 public Assassin()
 {
     heroTexture = Engine.Engine.GetTexture("Hero/Assassin");
     Hero.loadSprite();
     heroRole = Classes.Assassin;
     baseHealth = 450;
     healthPerLevel = 35;
     requiredBranchLevel = int.MaxValue;
     resetLevel();
     resetHealth();
     abilities[0] = new Mug();
     abilities[1] = new Invisibility();
     abilities[2] = new Parry();
     abilities[3] = new Eviscerate();
     abilities[4] = new Assassinate();
     abilities[5] = new Poison();
     Enemies.Enemy.UpdateTargets(this);
     Enemies.BossEnemy.UpdateBossTargets(this);
 }