public static DamageEffect FromHealEffectData(DamageEffectData data) { DamageEffect effect = new DamageEffect(); effect.damageType = data.DamageType; effect.attackType = data.AttackType; effect.dieType = data.DieType; effect.numberOfDice = data.NumberOfDice; effect.modifier = data.Modifier; return(effect); }
public static DamageEffect FromHealEffectData(DamageEffectData data) { DamageEffect effect = new DamageEffect(); effect.damageType = data.DamageType; effect.attackType = data.AttackType; effect.dieType = data.DieType; effect.numberOfDice = data.NumberOfDice; effect.modifier = data.Modifier; return effect; }