private static AbnormalityEffect ParseAbnormalityEffect(Dictionary <string, object> data) { AbnormalityEffect effect = new AbnormalityEffect(); effect.AppearEffectId = data.GetInt("appearEffectId"); effect.AttackEffectId = data.GetInt("attackEffectId"); effect.DamageEffectId = data.GetInt("damageEffectId"); effect.DisappearEffectId = data.GetInt("disappearEffectId"); effect.EffectId = data.GetInt("effectId"); effect.EffectPart = data.GetString("effectPart"); effect.Method = data.GetInt("method"); effect.TickInterval = data.GetInt("tickInterval"); effect.Type = data.GetInt("type"); effect.Value = data.GetFloat("value"); effect.OverlayEffectId = data.GetInt("overlayEffectId"); return(effect); }
public virtual void Release() { Creature = null; Abnormality = null; Effect = null; }