コード例 #1
0
 public MoveDictionary(string name, Pokemon.PokeType t, MoveStore.Speciality b, MoveCategory stat, int pp, int acc, int pri)
 {
     Name        = name;
     Type        = t;
     Speciality  = b;
     StatusValue = stat;
     Accuracy    = acc;
     Priority    = pri;
 }
コード例 #2
0
 public MoveDictionary(string name, int pp, Pokemon.PokeType t, MoveStore.Speciality b, MoveCategory stat, int acc, StatusType status, string toFoe, int pri) : this(name, pp, 0, t, b, stat, acc, pri, toFoe)
 {
     this.Status = status;
     if (toFoe.Contains("all"))
     {
         AttackAll = true;
     }
     ToFoe           = Parser.parseToFoe(toFoe);
     StatusLikliness = 100;
 }
コード例 #3
0
 public MoveDictionary(string name, int pp, Pokemon.PokeType t, MoveStore.Speciality b, MoveCategory stat, int acc, Action <bool> act, int pri)
 {
     Name        = name;
     PP          = pp;
     Type        = t;
     Speciality  = b;
     StatusValue = stat;
     Accuracy    = acc;
     uniqueActionSetSomeBattleEffect = act;
     Priority = pri;
 }
コード例 #4
0
 public MoveDictionary(string name, int pp, Pokemon.PokeType t, MoveStore.Speciality b, MoveCategory stat, int acc, Func <MoveDictionary, bool> protection, int pri)
 {
     Name                 = name;
     PP                   = pp;
     Type                 = t;
     Speciality           = b;
     StatusValue          = stat;
     Accuracy             = acc;
     Protection           = protection;
     Priority             = pri;
     IncreasinglyUnlikely = true;
 }
コード例 #5
0
 public MoveDictionary(string name, int d, int pp, Pokemon.PokeType t, MoveStore.Speciality b, MoveCategory stat, int acc, List <Pokemon.Stat> statToChange, string toFoe, int pri) : this(name, d, pp, t, b, stat, acc, pri, toFoe)
 {
     StatsToChange = statToChange;
     if (toFoe.Contains("all"))
     {
         AttackAll = true;
     }
     ToFoe          = Parser.parseToFoe(toFoe);
     statToFoe      = Parser.parseToFoe(toFoe);
     statAmount     = d;
     StatLikeliness = 100;
 }
コード例 #6
0
 public MoveDictionary(string name, int pp, Pokemon.PokeType t, MoveStore.Speciality b, MoveCategory stat, int acc, string toFoe, Func <Pokemon, string> act, int pri)
 {
     Name                   = name;
     PP                     = pp;
     Type                   = t;
     Speciality             = b;
     StatusValue            = stat;
     Accuracy               = acc;
     uniqueActionOnePokemon = act;
     if (toFoe.Contains("all"))
     {
         AttackAll = true;
     }
     ToFoe    = Parser.parseToFoe(toFoe);
     Priority = pri;
 }
コード例 #7
0
 public MoveDictionary(string name, int d, int pp, Pokemon.PokeType t, MoveStore.Speciality b, MoveCategory stat, int acc, int pri, string toFoe)
 {
     Name        = name;
     damage      = d;
     Type        = t;
     Speciality  = b;
     StatusValue = stat;
     Accuracy    = acc;
     PP          = pp;
     if (toFoe.Contains("all"))
     {
         AttackAll = true;
     }
     ToFoe    = Parser.parseToFoe(toFoe);
     Priority = pri;
 }
コード例 #8
0
 public MoveDictionary(string name, int pp, Pokemon.PokeType t, MoveStore.Speciality b, MoveCategory stat, int acc, StatusType status, string statusToFoe, List <Pokemon.Stat> statsToChange, int statVal, string statToFoe, int pri)
 {
     Name        = name;
     PP          = pp;
     Type        = t;
     Speciality  = b;
     StatusValue = stat;
     Accuracy    = acc;
     Status      = status;
     if (statusToFoe.Contains("all"))
     {
         AttackAll = true;
     }
     ToFoe          = Parser.parseToFoe(statusToFoe);
     StatsToChange  = statsToChange;
     statAmount     = statVal;
     this.statToFoe = Parser.parseToFoe(statToFoe);
     Priority       = pri;
 }
コード例 #9
0
        public MoveDictionary(string name, int damage, int statValue, int pp, Pokemon.PokeType t, MoveStore.Speciality b, MoveCategory category, int acc, List <Pokemon.Stat> statsToChange, string atkToFoe, string statToFoe, int statLikeliness, int pri)
        {
            Name        = name;
            this.damage = damage;
            Type        = t;
            Speciality  = b;
            StatusValue = category;
            Accuracy    = acc;
            PP          = pp;

            statAmount    = statValue;
            StatsToChange = statsToChange;
            if (atkToFoe.Contains("all"))
            {
                AttackAll = true;
            }
            ToFoe          = Parser.parseToFoe(atkToFoe);
            StatLikeliness = statLikeliness;
            this.statToFoe = Parser.parseToFoe(statToFoe);
            Priority       = pri;
        }
コード例 #10
0
 public MoveDictionary(string name, int d, int pp, Pokemon.PokeType t, MoveStore.Speciality b, MoveCategory stat, int acc, string toFoe, int drainAmount, int pri) : this(name, d, pp, t, b, stat, acc, pri, toFoe)
 {
     this.DrainAmount = drainAmount;
 }
コード例 #11
0
 public MoveDictionary(string name, int d, int pp, Pokemon.PokeType t, MoveStore.Speciality b, MoveCategory stat, int acc, StatusType status, string toFoe, int likeliness, int pri) : this(name, d, pp, t, b, stat, acc, pri, toFoe)
 {
     this.Status          = status;
     this.StatusLikliness = likeliness;
 }