public static HPChangeMessage GetDamageMessage(long damageValue, BattleAction_Bleed.DmgSrcType causeType, ElemType.ENUM elementType, EntityParent target, EntityParent source, bool isCritical, bool isParry, bool isMiss)
 {
     return(new HPChangeMessage
     {
         targetID = target.ID,
         modeType = HPChangeMessage.GetModeType(target, source),
         causeType = HPChangeMessage.GetCauseType(causeType),
         elementType = HPChangeMessage.GetElementType(elementType),
         hpChangeType = HPChangeMessage.GetHPChangeType(isCritical, isParry, isMiss),
         hpChangeValue = (float)damageValue
     });
 }
 public static HPChangeMessage GetTreatMessage(long treatValue, BattleAction_Treat.TreatSrcType causeType, EntityParent target, EntityParent source, bool hasCasterPosition, Vector3 casterPosition)
 {
     return(new HPChangeMessage
     {
         targetID = target.ID,
         modeType = HPChangeMessage.GetModeType(target, source),
         hpChangeType = HPChangeMessage.GetHPChangeType(causeType),
         hpChangeValue = (float)treatValue,
         hasCasterPosition = hasCasterPosition,
         casterPosition = casterPosition
     });
 }