Beispiel #1
0
        public static HealEffect FromHealEffectData(HealEffectData data)
        {
            HealEffect effect = new HealEffect();

            effect.healType = data.HealType;
            effect.dieType = data.DieType;
            effect.numberOfDice = data.NumberOfDice;
            effect.modifier = data.Modifier;

            return effect;
        }
        public static HealEffect FromHealEffectData(HealEffectData data)
        {
            HealEffect effect = new HealEffect();

            effect.healType     = data.HealType;
            effect.dieType      = data.DieType;
            effect.numberOfDice = data.NumberOfDice;
            effect.modifier     = data.Modifier;

            return(effect);
        }
        public static HealEffect FromHealEffectData(HealEffectData data)
        {
            HealEffect effect = new HealEffect
            {
                healType     = data.HealType,
                dieType      = data.DieType,
                numberOfDice = data.NumberOfDice,
                modifier     = data.Modifier
            };

            return(effect);
        }