aoxu
11/6/2015 - 2:42 AM

starCondition.lua

local starConditionConfig = {
    condition = {
        [18] = {
            desc = "get point",
            key = "getPoint",
            [1] = {getPoint = 2000,},
            [2] = {getPoint = 2500,},
            [3] = {getPoint = 3000,},
        },
        [21] = {
            desc = "pick up coin",
            key = "pickUpCoin",
            [1] = {pickUpCoin = 100, },
        },
        [22] = {
            desc = "kill all Monster",
            key = "killAllMonster",
            [1] = {killAllMonster = 1, },
        },
    },
    group = {
        [51] = {
            descKey = "Get %ld points and collect %ld golds",
            list = {
                [1] = {id = 18, index = 1,},
                [2] = {id = 21, index = 1,},
            },
        },
    },
}
return starConditionConfig