1
This commit is contained in:
parent
4072867576
commit
b0d9768b37
@ -2818,6 +2818,7 @@ void Creature::OnLand()
|
||||
},
|
||||
&xtimer_attacher);
|
||||
}
|
||||
AdjustMobaBornDir();
|
||||
}
|
||||
|
||||
void Creature::CheckBulletHitHoldShield(IBullet* bullet, bool& eat)
|
||||
@ -3908,5 +3909,7 @@ void Creature::SpecShot(const glm::vec3& pos, int max_bullet)
|
||||
|
||||
void Creature::AdjustMobaBornDir()
|
||||
{
|
||||
|
||||
if (!room->IsMobaModeRoom()) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -3431,7 +3431,7 @@ void Human::InternalBeKill(int killer_id, const std::string& killer_name, int we
|
||||
GetTrigger()->Die(killer_id, weapon_id);
|
||||
OnDie();
|
||||
KillMgr::Instance()->OnHumanDead(this, &info);
|
||||
room->frame_event.AddDead(GetWeakPtrRef(), mt::Param::s().moba_revive_time);
|
||||
room->frame_event.AddDead(GetWeakPtrRef(), mt::Param::s().moba_revive_time * 1000);
|
||||
a8::SetBitFlag(status, CS_Reviving);
|
||||
dead_timer = room->xtimer.SetTimeoutWpEx
|
||||
(mt::Param::s().moba_revive_time * SERVER_FRAME_RATE,
|
||||
@ -3452,6 +3452,7 @@ void Human::InternalBeKill(int killer_id, const std::string& killer_name, int we
|
||||
real_dead = false;
|
||||
downed = false;
|
||||
SetHP(GetMaxHP());
|
||||
AdjustMobaBornDir();
|
||||
SyncAroundPlayers(__FILE__, __LINE__, __func__);
|
||||
room->frame_event.AddRevive(GetWeakPtrRef());
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user