2025-01-04 23:00:19 +08:00

46 lines
3.1 KiB
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

BuffActionConfig = BuffActionConfig or {}
-- Action 文件的基础路径
BuffActionConfig.ActionRootPath = "Script.Global.BuffSystem.BuffAction"
BuffActionConfig.EActionType = {
DamageScale = 1; -- 玩家伤害缩放
DefenseScale = 2; -- 玩家防御缩放
InfiniteBullets = 3; -- 无限子弹
JumpStrengthen = 4; -- 玩家多段跳
MoveSpeedStrengthen = 5; -- 速度缩放
RespiratoryRecovery = 6; -- 呼吸恢复
ContinuousDamage = 7; -- 持续受到伤害
MarkPlayer = 8; -- 标记玩家
Vampirism = 9; -- 吸血
DamageAddBuff = 10; -- 攻击方给受击者给予Buff
ShowParticle = 11; -- 客户端显示特效
JumpScale = 12; -- 跳跃初速度缩放
AddMaxHealth = 13; -- 增加最大血量上限
BulletHitApplyRadialDamage = 14; -- 击中点位触发范围
BeFatedNotToDie = 15; -- 命悬一线受到致命伤保留1点血
Counterattack = 16; -- 绝地反击 血量越低伤害越高
}
BuffActionConfig.ActionFileName = {
[BuffActionConfig.EActionType.DamageScale ] = "BuffAction_DamageScale" ;
[BuffActionConfig.EActionType.DefenseScale ] = "BuffAction_DefenseScale" ;
[BuffActionConfig.EActionType.InfiniteBullets ] = "BuffAction_InfiniteBullets" ;
[BuffActionConfig.EActionType.JumpStrengthen ] = "BuffAction_JumpStrengthen" ;
[BuffActionConfig.EActionType.MoveSpeedStrengthen ] = "BuffAction_MoveSpeedStrengthen" ;
[BuffActionConfig.EActionType.RespiratoryRecovery ] = "BuffAction_RespiratoryRecovery" ;
[BuffActionConfig.EActionType.ContinuousDamage ] = "BuffAction_ContinuousDamage" ;
[BuffActionConfig.EActionType.MarkPlayer ] = "BuffAction_MarkPlayer" ;
[BuffActionConfig.EActionType.Vampirism ] = "BuffAction_Vampirism" ;
[BuffActionConfig.EActionType.DamageAddBuff ] = "BuffAction_DamageAddBuff" ;
[BuffActionConfig.EActionType.ShowParticle ] = "BuffAction_ShowParticle" ;
[BuffActionConfig.EActionType.JumpScale ] = "BuffAction_JumpScale" ;
[BuffActionConfig.EActionType.AddMaxHealth ] = "BuffAction_AddMaxHealth" ;
[BuffActionConfig.EActionType.BulletHitApplyRadialDamage ] = "BuffAction_BulletHitApplyRadialDamage" ;
[BuffActionConfig.EActionType.BeFatedNotToDie ] = "BuffAction_BeFatedNotToDie" ;
[BuffActionConfig.EActionType.Counterattack ] = "BuffAction_Counterattack" ;
}