Skip to content

Instantly share code, notes, and snippets.

@cqnature
Forked from aoxu/gist:21ec8921bd9a675b2c05
Last active August 29, 2015 14:23
Show Gist options
  • Save cqnature/2796d7117ca6d4a25375 to your computer and use it in GitHub Desktop.
Save cqnature/2796d7117ca6d4a25375 to your computer and use it in GitHub Desktop.
[2044] = {id = 2044, robotIndex = 2007, ignoreGravity = true,
basic = { health = 6, attack = 20, defense = 9999999, },
activate = {delay = 2, location = {x = 0.8, y = 0.7}},
skillConfig = {
fly = {
[1] = {
trigger = {
condition = {"interval"},
interval = 20,
},
target = {
target = "boss",
limit = "boss/minion/all", --目标类型限制为boss, minion或者all
},
effect = {
effect = {"buff"},
buff = "increaseAttribute",
targetAttribute = "dodge",
},
number = {
calculation = {"constant"},
baseValue = 0.3,
},
stop = {
condition = {"overTime"},
effectTime = 10,
},
},
},
},
sleepwalking = {
[1] = {
target = {
target = "pathCollision",
},
effect = {
effect = {"attack"},
},
moveSpeed = 2, chaseTime = 2, runTime = 3, runSpeed = 5, dullTime = 2, drop = {type = "gold", total = 50, hitRate = 0.4}, stayTime = 15, triggerDamageRate = 0.2,
}
} ,
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment