This commit is contained in:
aozhiwei 2023-07-11 12:05:26 +08:00
parent 83f3f0e00c
commit d31b04d496
3 changed files with 23 additions and 0 deletions

View File

@ -265,6 +265,7 @@ enum PropertyType_e
kPropEliminateTime = 50,
kPropDmgShow = 51,
kPropShowHonor = 52,
};
enum SkinSlot_e

View File

@ -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)

View File

@ -234,6 +234,7 @@ message MFVec3
value:
value2: 0: 1
value3: uniid
property_type: 52
*/
message MFPropertyChg
{