73 lines
2.4 KiB
Lua
73 lines
2.4 KiB
Lua
--- 箭矢的类型
|
|
EBoltBuffType = {
|
|
Default = 0,
|
|
Bomb = 1,
|
|
Fire = 2,
|
|
Electric = 3,
|
|
Ice = 4,
|
|
Poison = 5,
|
|
Light = 6,
|
|
};
|
|
|
|
--- 攻击操作
|
|
EBoltHitType = {
|
|
Location = 1,
|
|
Pawn = 2,
|
|
AllEnemy = 3,
|
|
Self = 4,
|
|
AllFriend = 5,
|
|
AllFriendAndMe = 6,
|
|
}
|
|
|
|
BoltInfo = {
|
|
[EBoltBuffType.Default] = { },
|
|
[EBoltBuffType.Bomb] = {
|
|
Count = 1,
|
|
Buff = "BombExplosion",
|
|
Icon = UGCGameSystem.GetUGCResourcesFullPath('Asset/Art/UITexture/Icon/T_Explosion.T_Explosion'),
|
|
HitType = EBoltHitType.Location,
|
|
Color = { 0.3125, 0.034932, 0.022494, },
|
|
Desc = "爆炸箭矢\n范围2.5米内造成爆炸并产生伤害",
|
|
},
|
|
[EBoltBuffType.Fire] = {
|
|
Count = 1,
|
|
Buff = "BurningLoc",
|
|
Icon = UGCGameSystem.GetUGCResourcesFullPath('Asset/Art/UITexture/Icon/T_Fire.T_Fire'),
|
|
HitType = EBoltHitType.Pawn,
|
|
Color = { 1, 0, 0, },
|
|
Desc = "燃烧箭矢\n击中范围2米内产生燃烧效果\n范围内的敌人会持续2.5秒受伤",
|
|
},
|
|
[EBoltBuffType.Electric] = {
|
|
Count = 1,
|
|
Skill = "Electric",
|
|
Icon = UGCGameSystem.GetUGCResourcesFullPath('Asset/Art/UITexture/Icon/T_Electric.T_Electric'),
|
|
HitType = EBoltHitType.Pawn,
|
|
Color = { 0, 0.364634, 0.936324, },
|
|
Desc = "电击箭矢\n击中范围2米内产生电击效果\n每过1秒玩家会被禁锢0.5秒",
|
|
},
|
|
[EBoltBuffType.Ice] = {
|
|
Count = 1,
|
|
Buff = "IceLoc",
|
|
Icon = UGCGameSystem.GetUGCResourcesFullPath('Asset/Art/UITexture/Icon/T_Ice.T_Ice'),
|
|
HitType = EBoltHitType.Location,
|
|
Color = { 0.467248, 0.908364, 0.936324, },
|
|
Desc = "冷冻箭矢\n击中范围2米内产生冷冻效果\n玩家会在持续3.5秒内速度大减",
|
|
},
|
|
[EBoltBuffType.Poison] = {
|
|
Count = 1,
|
|
Buff = "PoisonRange",
|
|
Icon = UGCGameSystem.GetUGCResourcesFullPath('Asset/Art/UITexture/Icon/T_Poison.T_Poison'),
|
|
HitType = EBoltHitType.Pawn,
|
|
Color = { 0.297685, 0.936324, 0.112351, },
|
|
Desc = "重伤箭矢\n击中范围2米内产生重伤效果\n玩家会在持续2.5秒内持续重伤",
|
|
},
|
|
[EBoltBuffType.Light] = {
|
|
Count = 1,
|
|
Buff = "Light",
|
|
Icon = UGCGameSystem.GetUGCResourcesFullPath('Asset/Art/UITexture/Icon/T_Light.T_Light'),
|
|
HitType = EBoltHitType.Location,
|
|
Color = { 1, 1, 1, },
|
|
Desc = "光箭矢\n6米范围内如果正对着射击点\n玩家会被闪光到导致白屏",
|
|
},
|
|
};
|