Skip to content

Instantly share code, notes, and snippets.

@cqusyc
Created August 21, 2017 12:42
Show Gist options
  • Save cqusyc/457c28bf9233d78268b267b0d61c43c9 to your computer and use it in GitHub Desktop.
Save cqusyc/457c28bf9233d78268b267b0d61c43c9 to your computer and use it in GitHub Desktop.
//飞船燃料
["600301"] = {robotIndex = 6003, ignoreGravity = true, ignoreContactSpace = true, updateFixture = true,
basic = { health = 50, attack = 1, defense = 0, },
resource = { shipEnergy = 5},
activate = {location = {x = 0.3, y = 1, valueType = "float"}, fixDirection = "right"},
zChase = {
[1] = {
target = {
target = "pathCollision",
},
effect = {
effect = {"attack"},
},
moveSpeed = 2, angle = {180}, time = {1}, suicideSwitch = true,
}
},
},
//加速环,减速环
["301801"] = {robotIndex = 3018, ignoreGravity = true, ignoreContactSpace = true, ignoreBullet = true,
basic = { health = 50, attack = 1, defense = 0, multiply = {delay = 2, scoreMultiply = 5, speedMultiply = 5}},
activate = {location = {x = 0.5, y = 1, valueType = "float"}, fixDirection = "right"},
zChase = {
[1] = {
target = {
target = "pathCollision",
},
effect = {
effect = {"attack"},
},
moveSpeed = 2, angle = {180}, time = {1},
}
},
},
["301901"] = {robotIndex = 3019, ignoreGravity = true, ignoreContactSpace = true, ignoreBullet = true,
basic = { health = 50, attack = 1, defense = 0, multiply = {delay = 2, scoreMultiply = 5, speedMultiply = 5}},
activate = {location = {x = 0.8, y = 1, valueType = "float"}, fixDirection = "right"},
zChase = {
[1] = {
target = {
target = "pathCollision",
},
effect = {
effect = {"attack"},
},
moveSpeed = 2, angle = {180}, time = {1},
}
},
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment