Пример #1
0
 public BattleMoveWithTarget(BattleMove move, IFighter target, IFighter owner, IMoveExecutor moveExecutor = null)
 {
     Move         = move;
     Target       = target;
     Owner        = owner;
     MoveExecutor = moveExecutor;
 }
Пример #2
0
        public ShieldMove(BattleMove copy) : base(copy)
        {
            ShieldMove shieldMove = copy as ShieldMove;

            if (shieldMove != null)
            {
                Shield = shieldMove.Shield.Copy();
            }
        }
Пример #3
0
 public BattleMove(BattleMove copy)
 {
     Description              = copy.Description;
     MoveType                 = copy.MoveType;
     TargetType               = copy.TargetType;
     Priority                 = copy.Priority;
     BattleMoveEffects        = new List <BattleMoveEffect>(copy.BattleMoveEffects);
     TargettingRuleCollection = copy.TargettingRuleCollection;
 }
        public ShieldFortifyingMove(BattleMove copy) : base(copy)
        {
            ShieldFortifyingMove shieldFortifyingMove = copy as ShieldFortifyingMove;

            if (shieldFortifyingMove != null)
            {
                FortifyingType   = shieldFortifyingMove.FortifyingType;
                FortifyingAmount = shieldFortifyingMove.FortifyingAmount;
            }
        }
Пример #5
0
        public AttackBattleMove(BattleMove copy) : base(copy)
        {
            AttackBattleMove copyAsAttack = copy as AttackBattleMove;

            if (copyAsAttack != null)
            {
                Accuracy   = copyAsAttack.Accuracy;
                CritChance = copyAsAttack.CritChance;
            }
        }
Пример #6
0
 public MultiTurnBattleMove(BattleMove copy) : base(copy)
 {
 }
Пример #7
0
 public MoveByLevel(BattleMove move, int level, FighterClass fighterClass = FighterClass.None)
 {
     Move         = move;
     Level        = level;
     FighterClass = fighterClass;
 }
Пример #8
0
 public ShadeAbsorbingMove(BattleMove copy) : base(copy)
 {
 }
Пример #9
0
 public BattleMoveWithTargetAndNumberInput(BattleMove move, IFighter target, IFighter owner, int numberValue, IMoveExecutor moveExecutor = null)
     : base(move, target, owner, moveExecutor)
 {
     NumberValue = numberValue;
 }
Пример #10
0
 public SpecialMove(BattleMove copy) : base(copy)
 {
 }
Пример #11
0
 public ConditionalPowerAttackBattleMove(BattleMove copy) : base(copy)
 {
     //right now, the only difference between an AttackBattleMove and a ConditionalPowerAttackBattleMove is the MoveType
     MoveType = BattleMoveType.ConditionalPowerAttack;
 }