45 lines
1.6 KiB
Lua
45 lines
1.6 KiB
Lua
|
return {
|
||
|
Name = "Buff模板";
|
||
|
-- 是否一直存在,直到手动移除或玩家死亡才自动调用关闭
|
||
|
IsAlwaysExists = true;
|
||
|
-- 多次获得该Buff时所需要做的处理(延长时间或者叠加)
|
||
|
BuffRepeatedType = BuffAssetConfig.EBuffRepeatedType.TimeExpand;
|
||
|
-- 持续时间
|
||
|
ValidityTime = 5.;
|
||
|
-- 最大持续时间(意思是刷新时间后可保留的最大时间)
|
||
|
MaxValidityTime = 10;
|
||
|
-- 最大叠加层数
|
||
|
LayerMax = 1;
|
||
|
-- Buff激活到的BuffAction
|
||
|
Actions = {
|
||
|
{
|
||
|
ActionType = BuffActionConfig.EActionType.BulletHitApplyRadialDamage;
|
||
|
Params = {
|
||
|
-- 仅枪械武器触发
|
||
|
IsShootWeapon = true;
|
||
|
-- 筛选武器,若不为空则内部对应的武器攻击才会触发,若为空则全部武器均会触发
|
||
|
FilterWeaponItemID = {};
|
||
|
|
||
|
-- Damage --
|
||
|
MaxDamage = 30;
|
||
|
MinDamage = 18;
|
||
|
|
||
|
-- 内部范围,既最高伤害的范围
|
||
|
InnerRadius = 100;
|
||
|
-- 外部范围,既伤害范围,到该范围边界则为最低伤害
|
||
|
OuterRadius = 300;
|
||
|
-- Inner到Outer范围区间的伤害衰减指数
|
||
|
FallOff = 1;
|
||
|
-- Damage --
|
||
|
|
||
|
-- 冷却时间
|
||
|
CoolingTime = 1.;
|
||
|
-- 粒子类型
|
||
|
ParticleType = ParticleConfig.EParticleType.Explosion;
|
||
|
-- 音效类型
|
||
|
SoundType = SoundSystem.ESound.Explosion;
|
||
|
}
|
||
|
},
|
||
|
};
|
||
|
}
|