Skip to content

Instantly share code, notes, and snippets.

@cqusyc
Created September 13, 2017 12:39
Show Gist options
  • Save cqusyc/eefd8f56af1d378e9767b0bde3aea0a2 to your computer and use it in GitHub Desktop.
Save cqusyc/eefd8f56af1d378e9767b0bde3aea0a2 to your computer and use it in GitHub Desktop.
magnet
["600401"] = {robotIndex = 6004, ignoreGravity = true, ignoreContactSpace = true, updateFixture = true,
basic = { health = 50, attack = 1, defense = 0, },
resource = {
magnet = {delay = 10, width = 5},
},
activate = {delay = 0, location = {x = 1.1, y = 0.5, valueType = "float"}, fixDirection = "left"},
zChase = {
[1] = {
target = {
target = "pathCollision",
},
effect = {
effect = {"attack"},
},
moveSpeed = 8, angle = {180}, time = {1},
}
},
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment