Skip to content

Instantly share code, notes, and snippets.

@aoxu
Forked from anonymous/gist:29a1628201e99d963586
Last active September 7, 2015 13:02
Show Gist options
  • Save aoxu/299092c18ceb992204c1 to your computer and use it in GitHub Desktop.
Save aoxu/299092c18ceb992204c1 to your computer and use it in GitHub Desktop.
副本小怪
[2016] = {id = 2016, robotIndex = 2016, ignoreGravity = true,
basic = { health = 100000, attack = 20, defense = 0, },
activate = {delay = 2, location = {x = 0.9, y = 0.7}},
areaChase = {
[1] = {
target = {
target = "pathCollision",
},
effect = {
effect = {"attack"},
},
area = "right", chaseTime = 15, moveSpeed = 2, moveTime = 5, runTime = 1, runSpeed = 8, dullTime = 0,
},
},
buffTrigger = {
[1] = {
target = {
target = "pathCollision",
},
effect = {
effect = {"attack"},
},
dullTime = 0,
}
} ,
},
areaChase = {
[1] = {
target = {
target = "pathCollision",
},
effect = {
effect = {"attack"},
},
chaseTime = 2, 追逐触发招式时间
moveSpeed = 4, 普通移动速度
moveTime = 1, 普通移动时间
runTime = 3, 躲避时的移动速度
runSpeed = 8, 躲避时的移动时间
dullTime = 3,
area = "right", right-封闭空间右半边,left-封闭空间左半边
triggerDamageRate = 0.2,
},
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment