1
This commit is contained in:
parent
66a65e8b7b
commit
80f3bae4ea
@ -51,8 +51,7 @@ enum HumanAttrType_e
|
||||
kXHAT_End
|
||||
};
|
||||
|
||||
enum NewHumanAttrType_e
|
||||
{
|
||||
A8_DECLARE_ENUM(NewHumanAttrType_e,
|
||||
kNHAT_Begin = 0,
|
||||
kNHAT_vCurrnetHealth = 1,
|
||||
kNHAT_vHealth = 2,
|
||||
@ -106,10 +105,9 @@ enum NewHumanAttrType_e
|
||||
|
||||
kNHAT_Hold = 55,
|
||||
kNHAT_End
|
||||
};
|
||||
);
|
||||
|
||||
enum HumanVirtualAttrType_e
|
||||
{
|
||||
A8_DECLARE_ENUM(HumanVirtualAttrType_e,
|
||||
kHVAT_Begin = 1000,
|
||||
kHVAT_Dmg = 1001,
|
||||
kHVAT_BulletAngle = 1002,
|
||||
@ -129,4 +127,4 @@ enum HumanVirtualAttrType_e
|
||||
kHVAT_Volume = 1015,
|
||||
kHVAT_FireRate = 1016,
|
||||
kHVAT_End
|
||||
};
|
||||
);
|
||||
|
@ -46,3 +46,8 @@ bool AttrHelper::ParseAttr(std::shared_ptr<a8::XObject> xobj,
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string AttrHelper::GetAttrName(int attr_id)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -13,4 +13,5 @@ class AttrHelper
|
||||
std::array<float, kNHAT_End>& attr_abs,
|
||||
std::array<float, kNHAT_End>& attr_rate);
|
||||
|
||||
static std::string GetAttrName(int attr_id);
|
||||
};
|
||||
|
@ -785,8 +785,8 @@ float BattleDataContext::CalcDmg(Creature* target, IBullet* bullet)
|
||||
g_calc_dmg_context.is_crit = 0;
|
||||
|
||||
#ifdef MYDEBUG
|
||||
if (hero_ability_->hero_meta->id() == 9011) {
|
||||
int i = 0;
|
||||
if (owner_.Get()->IsPlayer()) {
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user