Esempio n. 1
0
 private bool method_2(D3Actor d3Actor_0)
 {
     bool result;
     if (d3Actor_0 == null)
     {
         result = false;
     }
     else
     {
         if (d3Actor_0.Team != D3Team.Diablo)
         {
             result = false;
         }
         else
         {
             if (d3Actor_0.GetFloat((D3Attribute)4294963302u) < 0.0011f)
             {
                 result = false;
             }
             else
             {
                 if (d3Actor_0.GetInt((D3Attribute)4294963292u) == 1)
                 {
                     result = false;
                 }
                 else
                 {
                     if (d3Actor_0.GetInt((D3Attribute)4294963431u) == 1)
                     {
                         result = false;
                     }
                     else
                     {
                         if (Class138.smethod_0(d3Actor_0.UInt32_0))
                         {
                             result = false;
                         }
                         else
                         {
                             foreach (Class41 current in Class45.list_3)
                             {
                                 if (d3Actor_0.Modelname == current.ActorName)
                                 {
                                     result = false;
                                     return result;
                                 }
                             }
                             result = true;
                         }
                     }
                 }
             }
         }
     }
     return result;
 }
Esempio n. 2
0
 private bool method_1(D3Actor d3Actor_1, out float float_0)
 {
     float_0 = -1f;
     bool result;
     if (d3Actor_1.GetInt((D3Attribute)4294963682u) == 1)
     {
         result = false;
     }
     else
     {
         if (d3Actor_1.GetFloat((D3Attribute)4294963302u) != 0.001f)
         {
             result = false;
         }
         else
         {
             int @int = d3Actor_1.GetInt((D3Attribute)4294963540u);
             int int2 = d3Actor_1.GetInt((D3Attribute)4294963539u);
             if (int2 == @int && @int != 0)
             {
                 result = false;
             }
             else
             {
                 foreach (Class42 current in Class47.list_0)
                 {
                     if (current.ModelId != -1 && (ulong)d3Actor_1.UInt32_0 == (ulong)((long)current.ModelId))
                     {
                         float_0 = current.method_0();
                         result = true;
                         return result;
                     }
                 }
                 foreach (Class42 current in Class47.list_0)
                 {
                     if (current.ModelId == -1 && d3Actor_1.Modelname.Contains(current.ModelNameSubstring))
                     {
                         float_0 = current.method_0();
                         result = true;
                         return result;
                     }
                 }
                 result = false;
             }
         }
     }
     return result;
 }