|
@@ -194,7 +194,7 @@ namespace GameLogic.Combat.CombatTool.CombatReport
|
|
}
|
|
}
|
|
|
|
|
|
allZhiLiao += recoverUpdateEventData.HarmReturnInfo.att;
|
|
allZhiLiao += recoverUpdateEventData.HarmReturnInfo.att;
|
|
- zhiLiao.Add(harmKey, recoverUpdateEventData.HarmReturnInfo.att);
|
|
|
|
|
|
+ zhiLiao.Add(harmKey, recoverUpdateEventData.HarmReturnInfo.att,true);
|
|
}
|
|
}
|
|
else if (recoverUpdateEventData.HarmReturnInfo.target.combatHeroEntity == CombatHeroEntity)
|
|
else if (recoverUpdateEventData.HarmReturnInfo.target.combatHeroEntity == CombatHeroEntity)
|
|
{
|
|
{
|
|
@@ -218,7 +218,7 @@ namespace GameLogic.Combat.CombatTool.CombatReport
|
|
}
|
|
}
|
|
|
|
|
|
allBeiZhiLiao += recoverUpdateEventData.HarmReturnInfo.att;
|
|
allBeiZhiLiao += recoverUpdateEventData.HarmReturnInfo.att;
|
|
- beiZhiLiao.Add(harmKey, recoverUpdateEventData.HarmReturnInfo.att);
|
|
|
|
|
|
+ beiZhiLiao.Add(harmKey, recoverUpdateEventData.HarmReturnInfo.att,true);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -227,17 +227,13 @@ namespace GameLogic.Combat.CombatTool.CombatReport
|
|
HeroInjuredEventData heroInjuredEventData = iEventData as HeroInjuredEventData;
|
|
HeroInjuredEventData heroInjuredEventData = iEventData as HeroInjuredEventData;
|
|
if (heroInjuredEventData.HarmReturnInfo.source == CombatHeroEntity)
|
|
if (heroInjuredEventData.HarmReturnInfo.source == CombatHeroEntity)
|
|
{
|
|
{
|
|
- string msg =
|
|
|
|
- $"我攻击了目标 {heroInjuredEventData.HarmReturnInfo.target.combatHeroEntity.CurrCombatHeroInfo.heroName}" +
|
|
|
|
- $" 造成伤害 {heroInjuredEventData.HarmReturnInfo.att} 伤害类型 {heroInjuredEventData.HarmReturnInfo.attType}";
|
|
|
|
- float t = CombatController.currActiveCombat.combatTime;
|
|
|
|
- MsgModule.Add(t, msg);
|
|
|
|
|
|
+
|
|
|
|
|
|
string harmKey = "无";
|
|
string harmKey = "无";
|
|
SkillBasic skillBasic = heroInjuredEventData.HarmReturnInfo.triggerData.Source as SkillBasic;
|
|
SkillBasic skillBasic = heroInjuredEventData.HarmReturnInfo.triggerData.Source as SkillBasic;
|
|
if (skillBasic != null)
|
|
if (skillBasic != null)
|
|
{
|
|
{
|
|
- harmKey = LanguageManager.Instance.Text(skillBasic.SelfSkillConfig.name);
|
|
|
|
|
|
+ harmKey = LanguageManager.Instance.Text(skillBasic.SelfSkillConfig.name)+" id:"+skillBasic.SelfSkillConfig.ID;
|
|
}
|
|
}
|
|
|
|
|
|
BuffBasic buffBasic = heroInjuredEventData.HarmReturnInfo.triggerData.Source as BuffBasic;
|
|
BuffBasic buffBasic = heroInjuredEventData.HarmReturnInfo.triggerData.Source as BuffBasic;
|
|
@@ -245,23 +241,24 @@ namespace GameLogic.Combat.CombatTool.CombatReport
|
|
{
|
|
{
|
|
harmKey = "B" + LanguageManager.Instance.Text(buffBasic.buffInf.BuffConfig.buffName);
|
|
harmKey = "B" + LanguageManager.Instance.Text(buffBasic.buffInf.BuffConfig.buffName);
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ string msg =
|
|
|
|
+ $"我攻击了目标 {heroInjuredEventData.HarmReturnInfo.target.combatHeroEntity.CurrCombatHeroInfo.heroName} 来源{harmKey} 原始伤害{ heroInjuredEventData.HarmReturnInfo.yuanShiAtt }" +
|
|
|
|
+ $" 造成伤害 {heroInjuredEventData.HarmReturnInfo.att} 伤害类型 {heroInjuredEventData.HarmReturnInfo.attType}";
|
|
|
|
+ float t = CombatController.currActiveCombat.combatTime;
|
|
|
|
+ MsgModule.Add(t, msg);
|
|
|
|
+
|
|
allHarm += heroInjuredEventData.HarmReturnInfo.att;
|
|
allHarm += heroInjuredEventData.HarmReturnInfo.att;
|
|
- CombatInfoModule.Add(harmKey, heroInjuredEventData.HarmReturnInfo.att);
|
|
|
|
|
|
+ CombatInfoModule.Add(harmKey, heroInjuredEventData.HarmReturnInfo.att,true);
|
|
}
|
|
}
|
|
else if (heroInjuredEventData.HarmReturnInfo.target.combatHeroEntity == CombatHeroEntity)
|
|
else if (heroInjuredEventData.HarmReturnInfo.target.combatHeroEntity == CombatHeroEntity)
|
|
{
|
|
{
|
|
- string msg =
|
|
|
|
- $"被攻击 {heroInjuredEventData.HarmReturnInfo.source.CurrCombatHeroInfo.heroName}" +
|
|
|
|
- $" 受到伤害 {heroInjuredEventData.HarmReturnInfo.att} 伤害类型 {heroInjuredEventData.HarmReturnInfo.attType}";
|
|
|
|
- float t = CombatController.currActiveCombat.combatTime;
|
|
|
|
- MsgModule.Add(t, msg);
|
|
|
|
|
|
+
|
|
|
|
|
|
string harmKey = "其他";
|
|
string harmKey = "其他";
|
|
SkillBasic skillBasic = heroInjuredEventData.HarmReturnInfo.triggerData.Source as SkillBasic;
|
|
SkillBasic skillBasic = heroInjuredEventData.HarmReturnInfo.triggerData.Source as SkillBasic;
|
|
if (skillBasic != null)
|
|
if (skillBasic != null)
|
|
{
|
|
{
|
|
- harmKey = LanguageManager.Instance.Text(skillBasic.SelfSkillConfig.name);
|
|
|
|
|
|
+ harmKey = LanguageManager.Instance.Text(skillBasic.SelfSkillConfig.name)+" id:"+skillBasic.SelfSkillConfig.ID;
|
|
}
|
|
}
|
|
|
|
|
|
BuffBasic buffBasic = heroInjuredEventData.HarmReturnInfo.triggerData.Source as BuffBasic;
|
|
BuffBasic buffBasic = heroInjuredEventData.HarmReturnInfo.triggerData.Source as BuffBasic;
|
|
@@ -269,9 +266,13 @@ namespace GameLogic.Combat.CombatTool.CombatReport
|
|
{
|
|
{
|
|
harmKey = "B" + LanguageManager.Instance.Text(buffBasic.buffInf.BuffConfig.buffName);
|
|
harmKey = "B" + LanguageManager.Instance.Text(buffBasic.buffInf.BuffConfig.buffName);
|
|
}
|
|
}
|
|
-
|
|
|
|
- allBeiZhiLiao += heroInjuredEventData.HarmReturnInfo.att;
|
|
|
|
- InjuredInfoModule.Add(harmKey, heroInjuredEventData.HarmReturnInfo.att);
|
|
|
|
|
|
+ string msg =
|
|
|
|
+ $"被攻击 {heroInjuredEventData.HarmReturnInfo.source.CurrCombatHeroInfo.heroName} 来源{harmKey} 原始伤害{ heroInjuredEventData.HarmReturnInfo.yuanShiAtt }" +
|
|
|
|
+ $" 受到伤害 {heroInjuredEventData.HarmReturnInfo.att} 伤害类型 {heroInjuredEventData.HarmReturnInfo.attType}";
|
|
|
|
+ float t = CombatController.currActiveCombat.combatTime;
|
|
|
|
+ MsgModule.Add(t, msg);
|
|
|
|
+ allChengShang += heroInjuredEventData.HarmReturnInfo.att;
|
|
|
|
+ InjuredInfoModule.Add(harmKey, heroInjuredEventData.HarmReturnInfo.att,true);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|