Exemplo n.º 1
0
 public BattleMoveWithTarget(BattleMove move, IFighter target, IFighter owner, IMoveExecutor moveExecutor = null)
 {
     Move         = move;
     Target       = target;
     Owner        = owner;
     MoveExecutor = moveExecutor;
 }
Exemplo n.º 2
0
        public ShieldMove(BattleMove copy) : base(copy)
        {
            ShieldMove shieldMove = copy as ShieldMove;

            if (shieldMove != null)
            {
                Shield = shieldMove.Shield.Copy();
            }
        }
Exemplo n.º 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;
            }
        }
Exemplo n.º 5
0
        public AttackBattleMove(BattleMove copy) : base(copy)
        {
            AttackBattleMove copyAsAttack = copy as AttackBattleMove;

            if (copyAsAttack != null)
            {
                Accuracy   = copyAsAttack.Accuracy;
                CritChance = copyAsAttack.CritChance;
            }
        }
Exemplo n.º 6
0
 public MultiTurnBattleMove(BattleMove copy) : base(copy)
 {
 }
Exemplo n.º 7
0
 public MoveByLevel(BattleMove move, int level, FighterClass fighterClass = FighterClass.None)
 {
     Move         = move;
     Level        = level;
     FighterClass = fighterClass;
 }
Exemplo n.º 8
0
 public ShadeAbsorbingMove(BattleMove copy) : base(copy)
 {
 }
Exemplo n.º 9
0
 public BattleMoveWithTargetAndNumberInput(BattleMove move, IFighter target, IFighter owner, int numberValue, IMoveExecutor moveExecutor = null)
     : base(move, target, owner, moveExecutor)
 {
     NumberValue = numberValue;
 }
Exemplo n.º 10
0
 public SpecialMove(BattleMove copy) : base(copy)
 {
 }
Exemplo n.º 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;
 }