예제 #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;
        }
예제 #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);
        }