Exemple #1
0
 internal NonDirectHealthDamageEvent(CombatItem evtcItem, AgentData agentData, SkillData skillData, ArcDPSEnums.ConditionResult result) : base(evtcItem, agentData, skillData)
 {
     HealthDamage = evtcItem.BuffDmg;
     IsAbsorbed   = result == ArcDPSEnums.ConditionResult.InvulByBuff ||
                    result == ArcDPSEnums.ConditionResult.InvulByPlayerSkill1 ||
                    result == ArcDPSEnums.ConditionResult.InvulByPlayerSkill2 ||
                    result == ArcDPSEnums.ConditionResult.InvulByPlayerSkill3;
     HasHit        = result == ArcDPSEnums.ConditionResult.ExpectedToHit;
     ShieldDamage  = evtcItem.IsShields > 0 ? HealthDamage : 0;
     _cycle        = GetBuffCycle(evtcItem.IsOffcycle);
     AgainstDowned = evtcItem.Pad1 == 1;
 }
 internal NonDirectBreakbarDamageEvent(CombatItem evtcItem, AgentData agentData, SkillData skillData) : base(evtcItem, agentData, skillData)
 {
     BreakbarDamage = evtcItem.BuffDmg / 10.0;
     _cycle         = GetBuffCycle(evtcItem.IsOffcycle);
 }