public void UpdateRecord(LivingHealthMasterBase livingHealth, PlayerScript playerScript)
 {
     mobID             = livingHealth.mobID;
     mind              = playerScript.mind;
     name              = playerScript.playerName;
     characterSettings = playerScript.characterSettings;
     oxyDmg            = livingHealth.GetOxyDamage();
     burnDmg           = livingHealth.GetTotalBurnDamage();
     toxinDmg          = 0;
     bruteDmg          = livingHealth.GetTotalBruteDamage();
     uniqueIdentifier  = "35562Eb18150514630991";
 }
Exemple #2
0
 public void UpdateRecord(LivingHealthMasterBase livingHealth, PlayerScript playerScript)
 {
     mobID             = livingHealth.mobID;
     mind              = playerScript.mind;
     name              = playerScript.playerName;
     characterSettings = playerScript.characterSettings;
     oxyDmg            = livingHealth.GetOxyDamage;
     burnDmg           = livingHealth.GetTotalBurnDamage();
     toxinDmg          = livingHealth.GetTotalToxDamage();
     bruteDmg          = livingHealth.GetTotalBruteDamage();
     uniqueIdentifier  = "35562Eb18150514630991";
     foreach (BodyPart part in livingHealth.SurfaceBodyParts)
     {
         BodyPartRecord partRecord = new BodyPartRecord();
         surfaceBodyParts.Add(partRecord.Copy(part));
     }
     foreach (SicknessAffliction sickness in livingHealth.mobSickness.sicknessAfflictions)
     {
         sicknessList.Add(sickness.Sickness.SicknessName);
     }
 }