Skip to content

Instantly share code, notes, and snippets.

Created September 6, 2015 09:47
Show Gist options
  • Save anonymous/29a1628201e99d963586 to your computer and use it in GitHub Desktop.
Save anonymous/29a1628201e99d963586 to your computer and use it in GitHub Desktop.
2016小怪
[2016] = {id = 2016, robotIndex = 2016, ignoreGravity = true,
basic = { health = 100000, attack = 20, defense = 0, },
activate = {delay = 2, location = {x = 0.8, y = 0.7}},
areaChase = {
[1] = {
target = {
target = "pathCollision",
},
effect = {
effect = {"attack"},
},
chaseTime = 2, moveSpeed = 4, moveTime = 1, runTime = 3, runSpeed = 8, dullTime = 3, area = "right", triggerDamageRate = 0.2,
},
},
buffTrigger = {
[1] = {
target = {
target = "pathCollision",
},
effect = {
effect = {"attack"},
},
dullTime = 0, triggerDamageRate = 0.18, triggerPossibility = 0.3, dullDamageRate = 0.18,
}
} ,
},
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