Exemple #1
0
        public void InitializeValue()
        {
            // Attack
            Assassin = new Treat("Assassin", (int)Treat.TreatType.PhysicAttack +
                                 (int)Treat.TreatType.RangeAttack, pValueNeed: false);
            Brutal = new Treat("Brutal", (int)Treat.TreatType.PhysicAttack +
                               (int)Treat.TreatType.RangeAttack);
            Strengh           = new Treat("Strengh", Treat.TreatType.PhysicAttack);
            ArmourPiercing    = new Treat("Armour Piercing", Treat.TreatType.PhysicAttack, pValueNeed: false);
            Sharp             = new Treat("Sharp", Treat.TreatType.PhysicAttack, pValueNeed: false);
            Strong            = new Treat("Strong", Treat.TreatType.PhysicAttack, pValueNeed: false);
            UnbreakableStrike = new Treat("Unbreakable Strike", Treat.TreatType.PhysicAttack);
            Weak = new Treat("Weak", Treat.TreatType.PhysicAttack, pValueNeed: false);
            // Defence
            Parry  = new Treat("Parry", Treat.TreatType.PhysicDefence);
            Armour = new Treat("Armour", (int)Treat.TreatType.PhysicDefence +
                               (int)Treat.TreatType.RangeDefence);
            Toughness = new Treat("Toughness", (int)Treat.TreatType.PhysicDefence +
                                  (int)Treat.TreatType.RangeDefence);
            Durable = new Treat("Durable", (int)Treat.TreatType.PhysicDefence +
                                (int)Treat.TreatType.RangeDefence, pValueNeed: false);
            ImpenetrableDefence = new Treat("Impenetrable Defence",
                                            Treat.TreatType.PhysicDefence, pValueNeed: false);
            // Ki
            ForceOfWill = new Treat("Force of Will", Treat.TreatType.KiAttack);
            IronMind    = new Treat("Iron Mind", Treat.TreatType.KiDefence);
            StrongMind  = new Treat("Strong Mind", (int)Treat.TreatType.KiAttack
                                    + (int)Treat.TreatType.KiDefence);
            WeakMind = new Treat("Weak Mind", (int)Treat.TreatType.KiAttack
                                 + (int)Treat.TreatType.KiDefence);
            // reroll
            MartialProwess = new Treat("Martial Prowess", (int)Treat.TreatType.PhysicAttack
                                       + (int)Treat.TreatType.PhysicDefence);
            Dodge = new Treat("Dodge", Treat.TreatType.PhysicDefence);
            Feint = new Treat("Feint", (int)Treat.TreatType.PhysicAttack);

            // shoot
            RangedDefence = new Treat("Ranged Defence", (int)Treat.TreatType.RangeDefence);
            RapidFire     = new Treat("Rapid Fire", (int)Treat.TreatType.RangeAttack);
            Bonus         = new Treat("Bonus (Exhausted, big...)", (int)Treat.TreatType.RangeDefence);
        }
Exemple #2
0
 private static void AddToDic(Dictionary <string, Treat> Dic, Treat Val)
 {
     Dic.Add(Val.Name, Val);
 }