コード例 #1
0
        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);
        }
コード例 #2
0
ファイル: EfDefault.cs プロジェクト: tbs005/Temu
 public virtual void Release()
 {
     Creature    = null;
     Abnormality = null;
     Effect      = null;
 }