This commit is contained in:
aozhiwei 2023-11-07 15:51:21 +08:00
parent 6092bea2ba
commit f0705e3b46
3 changed files with 14 additions and 1 deletions

View File

@ -178,6 +178,11 @@ void CallFuncBuff::Activate()
RangeHoldBuff();
}
break;
case BuffCallFunc_e::kPlayFlyEffect:
{
PlayFlyEffect();
}
break;
default:
{
}
@ -1114,3 +1119,8 @@ void CallFuncBuff::RangeHoldBuff()
};
}
}
void CallFuncBuff::PlayFlyEffect()
{
owner->TryAddBuff(GetCaster().Get(), meta->_int_buff_param4, skill_meta);
}

View File

@ -32,6 +32,7 @@ A8_DECLARE_CLASS_ENUM(BuffCallFunc_e, int,
kAntiHide = 32,
kDisableClientSkill = 33,
kRangeHoldBuff = 34,
kPlayFlyEffect = 35,
);
@ -63,6 +64,7 @@ class CallFuncBuff : public Buff
void DecSkillCd();
void SummonCarSpecPoint();
void RangeHoldBuff();
void PlayFlyEffect();
float hold_param2_ = 0.0;
Weapon* hold_weapon_ = nullptr;

View File

@ -203,7 +203,8 @@ message MFVec3
property_type: 39
property_subtype: id,flyEffect表
valule:
value3: (value3==0 || value3==null不用传)
value2: ==uniid则上传value3
value3:
property_type: 40
property_subtype:
value: max护盾值