RefixCharacterProperty() public method

public RefixCharacterProperty ( EntityInfo entity ) : void
entity EntityInfo
return void
        public static void RefixAttrByImpact(EntityInfo obj)
        {
            List <ImpactInfo> impacts = obj.GetSkillStateInfo().GetAllImpact();

            for (int i = 0; i < impacts.Count; ++i)
            {
                ImpactInfo impact = impacts[i];
                impact.RefixCharacterProperty(obj);
            }
        }
Ejemplo n.º 2
0
        public static void RefixAttrByImpact(EntityInfo obj)
        {
            List <ImpactInfo> impacts = obj.GetSkillStateInfo().GetAllImpact();

            for (int i = 0; i < impacts.Count; ++i)
            {
                ImpactInfo impact = impacts[i];
                if (impact.ConfigData.type == (int)SkillOrImpactType.Buff)
                {
                    impact.RefixCharacterProperty(obj);
                }
            }
        }
 static public int RefixCharacterProperty(IntPtr l)
 {
     try {
         GameFramework.ImpactInfo self = (GameFramework.ImpactInfo)checkSelf(l);
         GameFramework.EntityInfo a1;
         checkType(l, 2, out a1);
         self.RefixCharacterProperty(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }