1
This commit is contained in:
parent
cdf4acffd0
commit
cde2d860c0
@ -2731,7 +2731,8 @@ void Room::AddPlayerPostProc(Player* hum)
|
||||
{
|
||||
Human* hum = (Human*)param.sender.GetUserData();
|
||||
std::string debugmsg = a8::Format("weapon_id:%d weapon_lv:%d atk:%f fire_rate:%f "
|
||||
"volume:%d maxhp:%f curr_hp:%f",
|
||||
"volume:%d maxhp:%f hp:%f curr_hp:%f curr_max_hp:%f "
|
||||
"base_reload_time:%f grow_reload_time:%f finaly_reload_time:%f",
|
||||
{
|
||||
hum->curr_weapon->weapon_id,
|
||||
hum->curr_weapon->weapon_lv,
|
||||
@ -2739,7 +2740,14 @@ void Room::AddPlayerPostProc(Player* hum)
|
||||
hum->curr_weapon->GetAttrValue(kHAT_FireRate),
|
||||
hum->curr_weapon->GetAttrValue(kHAT_Volume),
|
||||
hum->curr_weapon->GetAttrValue(kHAT_MaxHp),
|
||||
hum->GetHP()
|
||||
hum->curr_weapon->GetAttrValue(kHAT_Hp),
|
||||
hum->GetHP(),
|
||||
hum->GetMaxHP(),
|
||||
hum->curr_weapon->meta->i->reload_time(),
|
||||
hum->curr_weapon->GetUpgradeMeta() ?
|
||||
hum->curr_weapon->GetUpgradeMeta()->GetAttrValue
|
||||
(hum->curr_weapon->weapon_lv, kHAT_ReloadTime) : 0,
|
||||
hum->curr_weapon->GetAttrValue(kHAT_ReloadTime)
|
||||
});
|
||||
hum->SendDebugMsg(debugmsg);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user