Exemple #1
0
 public Bulbasaur(int level, string name = "Bulbasaur")
 {
     this.health_scale = 4.2f;
     this.health_base  = 45f;
     this.attack_scale = 1.7f;
     this.attack_base  = 20f;
     this.name         = name;
     this.level        = level;
     this.exp          = 0;
     this.health       = setMaxHealth(level);
     this.maxhealth    = setMaxHealth(level);
     this.attack       = setAttack(level);
     this.type         = 1;
     moves             = new Moves[4];
     moves[0]          = new Tackle();
     moves[1]          = new BulletSeed();
     uri            = new Uri("pack://application:,,,/Resources/bulbasaur.jpg");
     bitmap         = new BitmapImage(uri);
     this.movecount = 2;
     alive          = true;
     if (this.level >= 15)
     {
         this.moves[2] = new FrenzyPlant();
     }
     if (this.level >= 30)
     {
         this.moves[3] = new LeafBlade();
     }
 }
Exemple #2
0
 public Clamperl(int level, string name = "Clamperl")
 {
     this.health_scale = 4f;
     this.health_base  = 30f;
     this.attack_scale = 1.6f;
     this.attack_base  = 20f;
     this.name         = name;
     this.level        = level;
     this.exp          = 0;
     this.health       = setMaxHealth(level);
     this.maxhealth    = setMaxHealth(level);
     this.attack       = setAttack(level);
     this.type         = 3;
     moves             = new Moves[4];
     moves[0]          = new Tackle();
     moves[1]          = new Bubbles();
     uri            = new Uri("pack://application:,,,/Resources/clamperl.jpg");
     bitmap         = new BitmapImage(uri);
     this.movecount = 2;
     alive          = true;
     if (this.level >= 15)
     {
         this.moves[2] = new WaterPulse();
     }
     if (this.level >= 30)
     {
         this.moves[3] = new HydroCannon();
     }
 }
Exemple #3
0
 public Arcanine(int level, string name = "Arcanine")
 {
     this.health_scale = 3.5f;
     this.health_base  = 32f;
     this.attack_scale = 2.1f;
     this.attack_base  = 25f;
     this.name         = name;
     this.level        = level;
     this.exp          = 0;
     this.health       = setMaxHealth(level);
     this.maxhealth    = setMaxHealth(level);
     this.attack       = setAttack(level);
     this.type         = 2;
     moves             = new Moves[4];
     moves[0]          = new Tackle();
     moves[1]          = new FireSpin();
     uri            = new Uri("pack://application:,,,/Resources/arcanine.jpg");
     bitmap         = new BitmapImage(uri);
     this.movecount = 2;
     alive          = true;
     if (this.level >= 15)
     {
         this.moves[2] = new BlazeKick();
     }
     if (this.level >= 30)
     {
         this.moves[3] = new Eruption();
     }
 }
Exemple #4
0
 public Grandmamon(int level, string name = "Grandma")
 {
     this.health_scale = 6.6f;
     this.health_base  = 45f;
     this.attack_scale = 5.5f;
     this.attack_base  = 20f;
     this.name         = name;
     this.level        = 100;
     this.exp          = 0;
     this.health       = setMaxHealth(level);
     this.maxhealth    = setMaxHealth(level);
     this.attack       = setAttack(level);
     this.type         = 1;
     moves             = new Moves[4];
     moves[0]          = new LeafBlade();
     moves[1]          = new HydroCannon();
     moves[2]          = new Eruption();
     moves[3]          = new Tackle();
     uri            = new Uri("pack://application:,,,/Resources/grandmamon.png");
     bitmap         = new BitmapImage(uri);
     this.movecount = 2;
     alive          = true;
 }