示例#1
0
 private void GetPlayerPalicoAbnormalities(Int64 AbnormalityBaseAddress)
 {
     // Gets the player abnormalities caused by palico's skills
     foreach (XmlNode PalBuff in AbnormalityData.GetPalicoAbnormalities())
     {
         int  BuffOffset = int.Parse(PalBuff.Attributes["Offset"].Value, System.Globalization.NumberStyles.HexNumber);
         bool IsDebuff   = bool.Parse(PalBuff.Attributes["IsDebuff"].Value);
         int  ID         = int.Parse(PalBuff.Attributes["ID"].Value);
         GetAbnormality("PALICO", AbnormalityBaseAddress + BuffOffset, ID, $"PAL_{ID}", IsDebuff);
     }
 }