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); }