This commit is contained in:
aozhiwei 2024-01-10 13:47:34 +08:00
parent 4a5db23797
commit e2c3b65a04

View File

@ -790,20 +790,20 @@ float BattleDataContext::CalcDmg(Creature* target, IBullet* bullet)
{ {
std::vector<std::string> tmp_strings; std::vector<std::string> tmp_strings;
tmp_strings = owner_.Get()->GetAbility()->GMShowAttrs(); tmp_strings = owner_.Get()->GetAbility()->GMShowAttrs();
tmp_strings.push_back(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"); owner_.Get()->SendDebugMsg("数值: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
for (auto& str : tmp_strings) { for (auto& str : tmp_strings) {
owner_.Get()->SendDebugMsg("数值: self " + str); owner_.Get()->SendDebugMsg("数值: self " + str);
} }
tmp_strings.push_back(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"); owner_.Get()->SendDebugMsg("数值: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
} }
{ {
std::vector<std::string> tmp_strings; std::vector<std::string> tmp_strings;
tmp_strings = target->GetAbility()->GMShowAttrs(); tmp_strings = target->GetAbility()->GMShowAttrs();
tmp_strings.push_back("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"); owner_.Get()->SendDebugMsg("数值: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<");
for (auto& str : tmp_strings) { for (auto& str : tmp_strings) {
owner_.Get()->SendDebugMsg("数值: target " + str); owner_.Get()->SendDebugMsg("数值: target " + str);
} }
tmp_strings.push_back("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"); owner_.Get()->SendDebugMsg("数值: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<");
} }
} }
#endif #endif