예제 #1
0
파일: Magus.cs 프로젝트: JonECG/Brogue
 public Magus()
 {
     heroTexture = Engine.Engine.GetTexture("Hero/Magus");
     heroRole = Classes.Magus;
     baseHealth = 300;
     healthPerLevel = 35;
     requiredBranchLevel = 30;
     resetLevel();
     resetHealth();
     Enemies.Enemy.UpdateTargets(this);
     Enemies.BossEnemy.UpdateBossTargets(this);
     Hero.loadSprite();
     abilities[0] = new Fireball();
     abilities[1] = new Blink();
     abilities[2] = new ArcaneWeapon();
     abilities[3] = new SoulSiphon();
     Engine.Engine.Log(health.ToString());
 }
예제 #2
0
파일: Spellblade.cs 프로젝트: JonECG/Brogue
 public SpellBlade()
 {
     heroTexture = Engine.Engine.GetTexture("Hero/SpellBlade");
     Hero.loadSprite();
     heroRole = Classes.SpellBlade;
     baseHealth = 400;
     healthPerLevel = 40;
     requiredBranchLevel = int.MaxValue;
     resetLevel();
     resetHealth();
     abilities[0] = new Fireball();
     abilities[1] = new Blink();
     abilities[2] = new ArcaneWeapon();
     abilities[3] = new SoulSiphon();
     abilities[4] = new ArcaneBarrage();
     abilities[5] = new ArcaneOverload();
     Enemies.Enemy.UpdateTargets(this);
     Enemies.BossEnemy.UpdateBossTargets(this);
 }