Пример #1
0
    public Pikachu()
    {
        name  = "Pikachu";
        level = 100;
        nationalIdentifier = 25;

        defaultStats = new Dictionary <PokemonStat, int>();

        defaultStats[PokemonStat.HP]         = 211;
        defaultStats[PokemonStat.HP_MAX]     = 211;
        defaultStats[PokemonStat.ATTACK]     = 146;
        defaultStats[PokemonStat.DEFENSE]    = 116;
        defaultStats[PokemonStat.SP_ATTACK]  = 136;
        defaultStats[PokemonStat.SP_DEFENSE] = 136;
        defaultStats[PokemonStat.SPEED]      = 216;

        attackActions = new AttackAction[4];

        attackActions[0] = new Thunderbolt();
        attackActions[1] = new QuickAttack();
        attackActions[2] = new IronTail();
        attackActions[3] = new Wish();

        type = PokemonType.ELECTRIC;

        Init();
    }
Пример #2
0
 public Looter(string characterType, int level) : base(characterType, level)
 {
     CurrentHealth         = level * level * 10;
     MaxHealth             = level * level * 10;
     Damage                = 1.5;
     MaxDamage             = Damage;
     Defense               = 100;
     MaxDefense            = Defense;
     Energy                = 0;
     EnergyFillRate        = 6;
     CurrentQueueSize      = 0;
     MaxQueueSize          = 4;
     CriticalPercentage    = 15;
     MaxCriticalPercentage = CriticalPercentage;
     MissPercentage        = 15;
     MaxMissPercentage     = MissPercentage;
     ExperienceMultiplier  = 1.0;
     GoldMultiplier        = 2.0;
     attackOne             = new Attack();
     attackTwo             = new Steal();
     attackThree           = new QuickAttack();
     attackFour            = new Dash();
 }