Ejemplo n.º 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;
        }
Ejemplo n.º 2
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);
        }
Ejemplo n.º 3
0
        public static HealEffect FromHealEffectData(HealEffectData data)
        {
            HealEffect effect = new HealEffect
            {
                healType     = data.HealType,
                dieType      = data.DieType,
                numberOfDice = data.NumberOfDice,
                modifier     = data.Modifier
            };

            return(effect);
        }