예제 #1
0
        public Charmeleon() : base("Charmeleon", 60)
        {
            Weakness   weakness   = new Weakness(EnergyType.energyTypeName.Water, 2);
            Resistance resistance = new Resistance(EnergyType.energyTypeName.Lighting, 10);

            Energytype = EnergyType.energyTypeName.Fire;
            Attacks.Add(WindowsFormsApp1.Attack.attackName.HeadButt);
            Attacks.Add(WindowsFormsApp1.Attack.attackName.Flare);
            Weakness   = weakness;
            Resistance = resistance;
        }
예제 #2
0
        public Pikachu() : base("Pikachu", 60)
        {
            Weakness   weakness   = new Weakness(EnergyType.energyTypeName.Fire, 1.5);
            Resistance resistance = new Resistance(EnergyType.energyTypeName.Fighting, 20);

            Energytype = EnergyType.energyTypeName.Lighting;
            Attacks.Add(WindowsFormsApp1.Attack.attackName.ElectricRing);
            Attacks.Add(WindowsFormsApp1.Attack.attackName.PikaPunch);
            Weakness   = weakness;
            Resistance = resistance;
        }