Пример #1
0
        public override bool Apply()
        {
            SummonedClone summonedClone = new SummonedClone((int)base.Fight.GetNextContextualId(), base.Caster, base.TargetedCell);

            ActionsHandler.SendGameActionFightSummonMessage(base.Fight.Clients, summonedClone);
            base.Caster.AddSummon(summonedClone);
            base.Caster.Team.AddFighter(summonedClone);
            return(true);
        }
Пример #2
0
        protected override bool InternalApply()
        {
            var summon = new SummonedClone(Fight.GetNextContextualId(), Caster, TargetedCell)
            {
                SummoningEffect = this
            };

            Caster.AddSummon(summon);
            Caster.Team.AddFighter(summon);

            ActionsHandler.SendGameActionFightSummonMessage(Fight.Clients, summon);

            Fight.TriggerMarks(summon.Cell, summon, TriggerType.MOVE);

            return(true);
        }