1
This commit is contained in:
parent
c5a6f63b69
commit
e7990ce206
@ -39,6 +39,12 @@ void CallFuncBuff::Activate()
|
||||
ProcMarkTag();
|
||||
}
|
||||
break;
|
||||
case BuffCallFunc_e::kSpeedAddition:
|
||||
{
|
||||
hold_param2_ = meta->GetBuffParam2(owner, skill_meta);
|
||||
owner->GetAbility()->AddSpeedAddition(hold_param2_);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
{
|
||||
}
|
||||
@ -59,6 +65,11 @@ void CallFuncBuff::Deactivate()
|
||||
owner->GetAbility()->DelSpeedRuduce(hold_param2_);
|
||||
}
|
||||
break;
|
||||
case BuffCallFunc_e::kSpeedAddition:
|
||||
{
|
||||
owner->GetAbility()->DelSpeedAddition(hold_param2_);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
{
|
||||
}
|
||||
|
@ -7,7 +7,8 @@ A8_DECLARE_CLASS_ENUM(BuffCallFunc_e, int,
|
||||
kSpeedReduce = 2,
|
||||
kInternalRangeAddBuff = 3,
|
||||
kDecHp = 4,
|
||||
kMarkTag = 5
|
||||
kMarkTag = 5,
|
||||
kSpeedAddition = 6,
|
||||
);
|
||||
|
||||
|
||||
|
@ -37,6 +37,7 @@ namespace mt
|
||||
|
||||
void MapCollider::Load(const std::string& filename)
|
||||
{
|
||||
#if 0
|
||||
a8::XObject xobj_root;
|
||||
xobj_root.ReadFromFile(MetaMgr::Instance()->GetResDir() + filename);
|
||||
auto xobj_nodes = xobj_root.At("nodes");
|
||||
@ -49,6 +50,7 @@ namespace mt
|
||||
}
|
||||
nodes_[node->name] = node;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
mc::ColliderNode* MapCollider::GetNode(const std::string& name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user