1
This commit is contained in:
parent
7176363a95
commit
78a5893c09
@ -54,15 +54,12 @@ void Compose::IncNum()
|
|||||||
|
|
||||||
void Compose::TakeOnWeapon(Weapon* weapon)
|
void Compose::TakeOnWeapon(Weapon* weapon)
|
||||||
{
|
{
|
||||||
#if 0
|
std::set<int>* buffs = mt::MergeItem::GetBuffs(weapon->meta->id(),
|
||||||
std::set<int>* buffs = mt::Grasp::GetBuffs(owner_->AsHuman()->meta->id(),
|
num_);
|
||||||
owner_->GetBattleContext()->GetHeroLevel(),
|
|
||||||
weapon->meta->id());
|
|
||||||
Clear();
|
Clear();
|
||||||
if (buffs) {
|
if (buffs) {
|
||||||
for (int buff_id : *buffs) {
|
for (int buff_id : *buffs) {
|
||||||
hold_buffs_.push_back(owner_->TryAddBuff(owner_, buff_id, nullptr));
|
hold_buffs_.push_back(owner_->TryAddBuff(owner_, buff_id, nullptr));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ namespace mt
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
std::set<int>* GetBuffs(int gun_id, int num)
|
std::set<int>* MergeItem::GetBuffs(int gun_id, int num)
|
||||||
{
|
{
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user