1
This commit is contained in:
parent
35aededcf4
commit
0a2dd098a2
@ -372,7 +372,7 @@ void Ability::GMClearAttr()
|
|||||||
std::vector<std::string> Ability::GMShowAttrs()
|
std::vector<std::string> Ability::GMShowAttrs()
|
||||||
{
|
{
|
||||||
std::vector<std::string> strings;
|
std::vector<std::string> strings;
|
||||||
strings.push_back(a8::Format("curr_hp:%f max_hp:%f atk:%f def:%f block:%f crit:%f",
|
strings.push_back(a8::Format("curr_hp:%f max_hp:%f atk:%f def:%f block:%f crit:%f level:%d exp:%f",
|
||||||
{
|
{
|
||||||
owner_.Get()->GetHP(),
|
owner_.Get()->GetHP(),
|
||||||
owner_.Get()->GetNetData()->GetMaxHP(),
|
owner_.Get()->GetNetData()->GetMaxHP(),
|
||||||
@ -380,6 +380,8 @@ std::vector<std::string> Ability::GMShowAttrs()
|
|||||||
owner_.Get()->GetNetData()->GetDef(),
|
owner_.Get()->GetNetData()->GetDef(),
|
||||||
owner_.Get()->GetNetData()->GetBlock(),
|
owner_.Get()->GetNetData()->GetBlock(),
|
||||||
owner_.Get()->GetNetData()->GetCrit(),
|
owner_.Get()->GetNetData()->GetCrit(),
|
||||||
|
owner_.Get()->GetHeroLevel(),
|
||||||
|
owner_.Get()->GetHeroExp()
|
||||||
}));
|
}));
|
||||||
{
|
{
|
||||||
std::vector<std::string> tmp_strings;
|
std::vector<std::string> tmp_strings;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user