Skip to content

Instantly share code, notes, and snippets.

@cqusyc
Created July 27, 2017 04:55
Show Gist options
  • Save cqusyc/c3c16696e30ddb1969a1948ea1f53cf8 to your computer and use it in GitHub Desktop.
Save cqusyc/c3c16696e30ddb1969a1948ea1f53cf8 to your computer and use it in GitHub Desktop.
5004
["500401"] = {robotIndex = 5004, ignoreGravity = true, ignoreContactSpace = true, updateFixture = true,
basic = { health = 19000, attack = 1, defense = 0, },
activate = {delay = 0.1, location = {x = 0.8, y = 0.5,valueType = "float",},fixDirection = "left",},
resource = {score = 25, energy = {total = 80, count = {min = 10, max = 15}, weight = {void = 0, green = 9, purple = 0},},},
setting = {[1] = {[1] = {"stage1warriorFirstSkill1","stage1warriorSecondSkill1"},}, },
stage1leaveChase = {
[1] = {
target = {
target = "pathCollision",
},
effect = {
effect = {"attack"},
},
moveSpeed = 12, targetLocation = {x = 0.8, y = 0.5,valueType = "float"}, chaseTime = 0,count = 5,
}
} ,
stage1warriorFirstSkill1 = {
[1] = {
target = {
target = "pathCollision",
},
effect = {
effect = {"attack"},
},
number = {
calculation = {"attackAttribute"},
ratioValue = 1,
},
round = {
{delay = 0, bullet = {"6"}},
{delay = 1, bullet = {"6"}},
{delay = 2, bullet = {"6"}},
{delay = 1, bullet = {"6"}},
},
bullet = {
["6"] = {type = "homing", speed = 7, homingInterval = 0.2, homingAngle = 50,homingDuration = 3,},
},
dullTime = 1.1, triggerDamageRate = 0, triggerPossibility = 0.3,
},
},
stage1warriorSecondSkill1 = {
[1] = {
target = {
target = "pathCollision",
},
effect = {
effect = {"attack"},
},
number = {
calculation = {"attackAttribute"},
ratioValue = 1,
},
round = {
{delay = 0.5, bullet = {"1"}},
{delay = 0.1, bullet = {"1"}},
{delay = 0.1, bullet = {"1"}},
},
bullet = {
["1"] = {type = "lightning",speed = 3, warnTime = 5, traceTime = 0.5, prepareTime = 1},
},
dullTime = 1.5, triggerDamageRate = 0, triggerPossibility = 0.3,
},
},
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment