aoxu
7/20/2016 - 2:38 PM

chef

chef

["005201"] = {robotIndex = 52, ignoreGravity = true, ignoreContactSpace = true, updateFixture = true,
        basic = { health = 6000, attack = 1, defense = 0, },
        arrest = {tapCount = 20, stayTime = 3,},
        activate = {delay = 0.1, location = {x = 1.2, y = 0.5, valueType = "float"}, fixDirection = "left"},
        statusCount = {[1] = {counter = 1, count = 1,}, [2] = {counter = 1, count = 1,},
                        [3] = {counter = 1, count = 1,}, [4] = {counter = 1, count = 1,},
                        [5] = {counter = 1, count = 1,},},
        statusHealth = {},
        stage1verticalLeaveChase = {
            [1] = {
                target = {
                    target = "pathCollision",
                },
                effect = {
                    effect = {"attack"},
                },
                moveSpeed = 2, targetLocation = {x = 0.8, y = 0.5, valueType = "float"}, chaseTime = 0
            }
        } ,
        stage2leaveChase = {
            [1] = {
                target = {
                    target = "pathCollision",
                },
                effect = {
                    effect = {"attack"},
                },
                moveSpeed = 4, targetLocation = {x = 0.8, y = 0.5, valueType = "float"}, chaseTime = 0
            }
        } ,
        stage3verticalLeaveChase = {
            [1] = {
                target = {
                    target = "pathCollision",
                },
                effect = {
                    effect = {"attack"},
                },
                moveSpeed = 4, targetLocation = {x = 0.8, y = 0.5, valueType = "float"}, chaseTime = 0
            }
        } ,
        stage4leaveChase = {
            [1] = {
                target = {
                    target = "pathCollision",
                },
                effect = {
                    effect = {"attack"},
                },
                moveSpeed = 4, targetLocation = {x = 0.8, y = 0.5, valueType = "float"}, chaseTime = 0
            }
        } ,
        stage5verticalLeaveChase = {
            [1] = {
                target = {
                    target = "pathCollision",
                },
                effect = {
                    effect = {"attack"},
                },
                moveSpeed = 4, targetLocation = {x = 0.8, y = 0.5, valueType = "float"}, chaseTime = 0,
                drumstick = {
                    duration = 5,
                    health = {
                        [1] = {target = 0.04, cure = 0.6},
                        [2] = {target = 0.02, cure = 0.4},
                        [3] = {target = 0.01, cure = 0.2},
                    }
                }
            }
        } ,
        stage1chefFirstSkill = {
            [1] = {
                target = {
                    target = "pathCollision",
                },
                effect = {
                    effect = {"attack"},
                },
                number = {
                    calculation = {"attackAttribute"},
                    ratioValue = 1,
                },
                round = {
                    {delay = 0, bullet = {"4"}},
                    {delay = 3, bullet = {"4"}},
                    {delay = 3, bullet = {"4"}},
                    {delay = 3, bullet = {"4"}},
                    {delay = 3, bullet = {"5"}},
                    {delay = 2, bullet = {"5"}},
                    {delay = 2, bullet = {"5"}},
                    {delay = 2, bullet = {"1"}},
                    {delay = 0.5, bullet = {"2"}},
                    {delay = 0.5, bullet = {"3"}},
                    {delay = 0.5, bullet = {"3"}},
                    {delay = 0.5, bullet = {"3"}},
                },
                bullet = {
                    ["1"] = {type = "shot", angle = {90}, speed = 10,},
                    ["2"] = {type = "shot", angle = {45, 135}, speed = 10,},
                    ["3"] = {type = "shot", angle = {60, 90, 120 }, speed = 10,},
                    ["4"] = {type = "homing", speed = 6, homingInterval = 0.1, homingAngle = 5,},
                    ["5"] = {type = "homing", speed = 6, homingInterval = 0.1, homingAngle = 10, needChangeSpeed = true, changeSpeed = 0.5, changeDuration = 0.1},
                    --["1"] = {type = "shot", angle = {60, 120}, speed = 6,},
                    --["2"] = {type = "shot", angle = {45, 75, 105, 135}, speed = 6,},
                    --["3"] = {type = "shot", angle = {30, 60, 120, 150 }, speed = 7, needChangeSpeed = true, changeSpeed = 1, changeDuration = 0.1},
                },
                dullTime = 0, triggerDamageRate = 0, triggerPossibility = 1, dullDamageRate = 0.1
            }
        },
        stage2chefSecondSkill = {
            [1] = {
                target = {
                    target = "pathCollision",
                },
                effect = {
                    effect = {"attack"},
                },
                number = {
                    calculation = {"attackAttribute"},
                    ratioValue = 1,
                },
                round = {
                    [1] = {delay = 0, bullet = {"1"}},
                },
                bullet = {
                    ["1"] = {type = "sunlight", count = 6, rotate = {[1] = {angle = 60, angleSpeed = 15},}},
                },
                dullTime = 0, triggerDamageRate = 0, triggerPossibility = 1, dullDamageRate = 0.1
            }
        },
        stage3chefFirstSkill = {
            [1] = {
                target = {
                    target = "pathCollision",
                },
                effect = {
                    effect = {"attack"},
                },
                number = {
                    calculation = {"attackAttribute"},
                    ratioValue = 1,
                },
                round = {
                    {delay = 0, bullet = {"1"}},
                    {delay = 1, bullet = {"1"}},
                    {delay = 0, bullet = {"4"}},
                    {delay = 1, bullet = {"2"}},
                    {delay = 0.6, bullet = {"1"}},
                    {delay = 0.5, bullet = {"4"}},
                    {delay = 0.5, bullet = {"1"}},
                    {delay = 0.5, bullet = {"4"}},
                    {delay = 0.8, bullet = {"3"}},
                },
                bullet = {
                    --["1"] = {type = "shot", angle = {60, 120}, speed = 6,},
                    --["2"] = {type = "shot", angle = {45, 75, 105, 135}, speed = 6,},
                    --["3"] = {type = "shot", angle = {30, 60, 120, 150 }, speed = 6,},
                    ["1"] = {type = "shot", angle = {90}, speed = 6,},
                    ["2"] = {type = "shot", angle = {45, 135}, speed = 6,},
                    ["3"] = {type = "shot", angle = {60, 120}, speed = 6},
                    ["4"] = {type = "aim", speed = 8, needChangeSpeed = true, changeSpeed = 2, changeDuration = 0.1},
                },
                dullTime = 0, triggerDamageRate = 0, triggerPossibility = 1, dullDamageRate = 0.1
            }
        },
        stage4chefSecondSkill = {
            [1] = {
                target = {
                    target = "pathCollision",
                },
                effect = {
                    effect = {"attack"},
                },
                number = {
                    calculation = {"attackAttribute"},
                    ratioValue = 1,
                },
                round = {
                    {delay = 0, bullet = {"1"}},
                    {delay = 2, bullet = {"2"}},
                    {delay = 2, bullet = {"2"}},
                    {delay = 2, bullet = {"3"}},
                    {delay = 1, bullet = {"3"}},
                    {delay = 1, bullet = {"3"}},
                    {delay = 0.5, bullet = {"3"}},
                },
                bullet = {
                    ["1"] = {type = "sunlight", count = 6, rotate = {[1] = {angle = 60, angleSpeed = -15}, [2] = {angle = 120, angleSpeed = 30}}},
                    ["2"] = {type = "parabola", speed = 5},
                    ["3"] = {type = "parabola", speed = 8},
                },
                dullTime = 0, triggerDamageRate = 0, triggerPossibility = 1, dullDamageRate = 0.1
            }
        },
        stage5chefThirdSkill = {
            [1] = {
                target = {
                    target = "pathCollision",
                },
                effect = {
                    effect = {"attack"},
                },
                number = {
                    calculation = {"attackAttribute"},
                    ratioValue = 1,
                },
                round = {
                    {delay = 0, bullet = {"3"}},
                    {delay = 1, bullet = {"4"}},
                    {delay = 1, bullet = {"4"}},
                    {delay = 1, bullet = {"3"}},
                    {delay = 1, bullet = {"4"}},
                    {delay = 1, bullet = {"4"}},
                    {delay = 1, bullet = {"3"}},
                    {delay = 1, bullet = {"4"}},
                },
                bullet = {
                    ["1"] = {type = "shot", angle = {90}, speed = 6,},
                    ["2"] = {type = "shot", angle = {60}, speed = 6,},
                    ["3"] = {type = "shot", angle = {60, 90, 120 }, speed = 10,},
                    ["4"] = {type = "homing", speed = 10, homingInterval = 0.1, homingAngle = 5,},
                },
                dullTime = 0, triggerDamageRate = 0, triggerPossibility = 1, dullDamageRate = 0.1
            }
        },
    },