示例#1
0
 private void GetPlayerHuntingHornAbnormalities(Int64 AbnormalityBaseAddress)
 {
     // Gets the player abnormalities caused by HH
     foreach (XmlNode HHBuff in AbnormalityData.GetHuntingHornAbnormalities())
     {
         int  BuffOffset = int.Parse(HHBuff.Attributes["Offset"].Value, System.Globalization.NumberStyles.HexNumber);
         bool IsDebuff   = bool.Parse(HHBuff.Attributes["IsDebuff"].Value);
         int  ID         = int.Parse(HHBuff.Attributes["ID"].Value);
         int  Stack      = int.Parse(HHBuff.Attributes["Stack"].Value);
         GetAbnormality("HUNTINGHORN", AbnormalityBaseAddress + BuffOffset, ID, $"HH_{ID}", IsDebuff, DoubleBuffStack: Stack, ParentOffset: BuffOffset);
     }
 }