Ejemplo n.º 1
0
 public Sorcerer()
 {
     heroTexture = Engine.Engine.GetTexture("Hero/Sorcerer");
     Hero.loadSprite();
     heroRole = Classes.Sorcerer;
     baseHealth = 200;
     healthPerLevel = 35;
     requiredBranchLevel = 30;
     resetLevel();
     resetHealth();
     Enemies.Enemy.UpdateTargets(this);
     Enemies.BossEnemy.UpdateBossTargets(this);
     abilities[0] = new Fireball();
     abilities[1] = new Blink();
     abilities[2] = new LightningStorm();
     abilities[3] = new IceArmor();
     Engine.Engine.Log(health.ToString());
 }
Ejemplo n.º 2
0
 public Mage()
 {
     heroTexture = Engine.Engine.GetTexture("Hero/MageSprite");
     Hero.loadSprite();
     visible = true;
     heroRole = Classes.Mage;
     canDuelWield = true;
     inventory.addItem(new Staff(1, 1));
     inventory.addItem(new Staff(1, 1));
     inventory.addItem(new SpellBook(1, 1));
     baseHealth = 200;
     healthPerLevel = 30;
     resetLevel();
     resetHealth();
     abilities[0] = new Fireball();
     abilities[1] = new Blink();
     Engine.Engine.Log(health.ToString());
 }
Ejemplo n.º 3
0
 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());
 }
Ejemplo n.º 4
0
 public Spellweaver()
 {
     heroTexture = Engine.Engine.GetTexture("Hero/SpellWeaver");
     Hero.loadSprite();
     heroRole = Classes.SpellWeaver;
     baseHealth = 350;
     healthPerLevel = 30;
     requiredBranchLevel = int.MaxValue;
     resetLevel();
     resetHealth();
     abilities[0] = new Fireball();
     abilities[1] = new Blink();
     abilities[2] = new LightningStorm();
     abilities[3] = new IceArmor();
     abilities[4] = new FlameStrike();
     abilities[5] = new TimeStop();
     Enemies.Enemy.UpdateTargets(this);
     Enemies.BossEnemy.UpdateBossTargets(this);
 }
Ejemplo n.º 5
0
 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);
 }