2025-01-18 21:26:02 +08:00

38 lines
1.3 KiB
Lua

return {
Name = "Buff模板";
-- 是否一直存在,直到手动移除或玩家死亡才自动调用关闭
IsAlwaysExists = true;
-- 多次获得该Buff时所需要做的处理(延长时间或者叠加)
BuffRepeatedType = BuffAssetConfig.EBuffRepeatedType.TimeExpand;
-- 持续时间
ValidityTime = 5.;
-- 最大持续时间(意思是刷新时间后可保留的最大时间)
MaxValidityTime = 10;
-- 最大叠加层数
LayerMax = 1;
-- Buff激活到的BuffAction
Actions = {
{
ActionType = BuffActionConfig.EActionType.InfiniteBullets;
Params = {}
},
{
ActionType = BuffActionConfig.EActionType.AddMaxHealth;
Params = {
AddVal = 50;
}
},
{
ActionType = BuffActionConfig.EActionType.MarkPlayer;
Params = {
MarkWidgetPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/StatusUI/MarkPlayerUI/WB_MarkGodOfWar.WB_MarkGodOfWar_C');
Offset = {X = 0, Y = 0, Z = 100};
SizeAutoContent = true;
OutViewHide = true;
BeOcclusionHide = true;
AllPlayerVis = false; -- 全部可见
TeamVis = true; -- 仅队友可见
}
},
};
}