1
This commit is contained in:
parent
45c5164a23
commit
084f8eb9a5
@ -43,6 +43,7 @@ void Car::Initialize()
|
|||||||
SetCurrWeapon(&weapons[GUN_SLOT1]);
|
SetCurrWeapon(&weapons[GUN_SLOT1]);
|
||||||
}
|
}
|
||||||
born_frameno_ = room->GetFrameNo();
|
born_frameno_ = room->GetFrameNo();
|
||||||
|
SetDef(hero_meta_->i->def());
|
||||||
SetHP(hero_meta_->i->health());
|
SetHP(hero_meta_->i->health());
|
||||||
SetMaxHP(std::max(GetHP(), GetMaxHP()));
|
SetMaxHP(std::max(GetHP(), GetMaxHP()));
|
||||||
TryAddBuff(this, meta->car_deactive_buff_id);
|
TryAddBuff(this, meta->car_deactive_buff_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user