1
This commit is contained in:
parent
83f3f0e00c
commit
d31b04d496
@ -265,6 +265,7 @@ enum PropertyType_e
|
||||
kPropEliminateTime = 50,
|
||||
|
||||
kPropDmgShow = 51,
|
||||
kPropShowHonor = 52,
|
||||
};
|
||||
|
||||
enum SkinSlot_e
|
||||
|
@ -2678,6 +2678,27 @@ void Creature::OnLand()
|
||||
}
|
||||
}
|
||||
gun_grasp_->Init();
|
||||
#ifdef DEBUG
|
||||
room->xtimer.SetTimeoutWpEx
|
||||
(
|
||||
SERVER_FRAME_RATE,
|
||||
[this] (int event, const a8::Args* args)
|
||||
{
|
||||
if (a8::TIMER_EXEC_EVENT == event) {
|
||||
if (IsPlayer()) {
|
||||
room->frame_event.AddPropChg
|
||||
(
|
||||
GetWeakPtrRef(),
|
||||
kPropShowHonor,
|
||||
0,
|
||||
0,
|
||||
true
|
||||
);
|
||||
}
|
||||
}
|
||||
},
|
||||
&xtimer_attacher);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Creature::CheckBulletHitHoldShield(IBullet* bullet, bool& eat)
|
||||
|
@ -234,6 +234,7 @@ message MFVec3
|
||||
value: 造成伤害
|
||||
value2: 0: 普通伤害 1:暴击
|
||||
value3: 攻击方uniid
|
||||
property_type: 52 显示荣誉
|
||||
*/
|
||||
message MFPropertyChg
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user