1
This commit is contained in:
parent
1069407bc2
commit
44e536628d
@ -32,6 +32,10 @@ void Android::Initialize()
|
||||
GiveEquip();
|
||||
RecalcBaseAttr();
|
||||
SetInfiniteBulletMode();
|
||||
{
|
||||
auto context = std::make_shared<BattleDataContext>();
|
||||
SetBattleContext(context);
|
||||
}
|
||||
}
|
||||
|
||||
void Android::Update(int delta_time)
|
||||
|
@ -51,6 +51,10 @@ void Car::Initialize()
|
||||
SetMaxHP(std::max(GetHP(), GetMaxHP()));
|
||||
TryAddBuff(this, meta->car_deactive_buff_id);
|
||||
cur_oil_ = meta->i->max_oil();
|
||||
{
|
||||
auto context = std::make_shared<BattleDataContext>();
|
||||
SetBattleContext(context);
|
||||
}
|
||||
}
|
||||
|
||||
void Car::FillMFObjectPart(Room* room, Human* hum, cs::MFObjectPart* part_data)
|
||||
|
@ -48,6 +48,10 @@ void Hero::Initialize()
|
||||
}
|
||||
SetInfiniteBulletMode();
|
||||
InitAI();
|
||||
{
|
||||
auto context = std::make_shared<BattleDataContext>();
|
||||
SetBattleContext(context);
|
||||
}
|
||||
}
|
||||
|
||||
void Hero::FillMFObjectPart(Room* room, Human* hum, cs::MFObjectPart* part_data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user