Config = Config or {} Config.ConfigStrength = Config.ConfigStrength or {} --事件驱动类型,将不同类型的函数分离开来 Config.ConfigStrength.ChangeType = { All = 0, --全部执行,不考虑分类 Equip = 1, --装备 Jin = 2, --钻石 JinLock = 3, --绑定钻石 Tong = 4, --铜币金币 Goods = 5, --物品 } Config.ConfigStrength.State_Type = { [Config.ConfigStrength.ChangeType.All] = StateFlag.H1, [Config.ConfigStrength.ChangeType.Equip] = StateFlag.H2, [Config.ConfigStrength.ChangeType.Jin] = StateFlag.H3, [Config.ConfigStrength.ChangeType.JinLock] = StateFlag.H4, [Config.ConfigStrength.ChangeType.Tong] = StateFlag.H5, [Config.ConfigStrength.ChangeType.Goods] = StateFlag.H6, } Config.ConfigStrength.Func = { --Equip [Config.ConfigStrength.ChangeType.Equip] = { }, --Jin [Config.ConfigStrength.ChangeType.Jin] = { }, --JinLock [Config.ConfigStrength.ChangeType.JinLock] = { }, --Tong [Config.ConfigStrength.ChangeType.Tong] = { }, --Goods,物品比较特殊,还需要在GoodsUpdateFunc里面配置!!! [Config.ConfigStrength.ChangeType.Goods] = { {name="放置领奖", winId=610, subId=0, tabId = 1, sort_id=80, check="exp_can_get",}, {name="经验加速", winId=610, subId=0, tabId = 2, sort_id=80, check="exp_speed_can_get",}, {name="装备精炼", winId=152, subId=1, tabId = nil, sort_id=80, check="can_equip_stren",}, {name="星级套装", winId=152, subId=999, tabId = nil, sort_id=80, check="can_equip_star",}, {name="宝石镶嵌", winId=152, subId=7, tabId = nil, sort_id=80, check="can_stone_put",}, {name="宝石升级", winId=151, subId=4, tabId = nil, sort_id=80, check="can_stone_up",}, {name="职业技能", winId=210, subId=1, tabId = nil, sort_id=80, check="can_careerskill_up",}, {name="被动技能", winId=210, subId=2, tabId = nil, sort_id=80, check="can_passiveskill_up",}, {name="特殊技能", winId=210, subId=2, tabId = nil, sort_id=80, check="can_specialskill_up",}, {name="信物升级", winId=149, subId=99, tabId = nil, sort_id=80, check="can_ship_up",}, {name="守护合成", winId=151, subId=1, tabId = nil, sort_id=80, check="can_guard_compose",}, {name="饰品合成", winId=151, subId=2, tabId = nil, sort_id=80, check="can_ornaments_compose",}, {name="橙装合成", winId=151, subId=8, tabId = nil, sort_id=80, check="can_orange_equip_compose",}, {name="宠物升级", winId=163, subId=1, tabId = 1, sort_id=80, check="can_pet_up",}, {name="宠物升星", winId=163, subId=1, tabId = 2, sort_id=80, check="can_pet_starup",}, {name="宠物宝石", winId=163, subId=1, tabId = 3, sort_id=80, check="can_pet_stone",}, {name="宝宝成长", winId=165, subId=5, tabId = nil, sort_id=80, check="can_baby_up",}, {name="宝宝技能", winId=165, subId=3, tabId = nil, sort_id=80, check="can_babyskill_up",}, {name="战魂上阵", winId=143, subId=1, tabId = nil, sort_id=80, check="can_warsoul_suit",}, {name="战魂培养", winId=143, subId=5, tabId = nil, sort_id=80, check="can_warsoul_bag",}, {name="战魂进化", winId=143, subId=3, tabId = nil, sort_id=80, check="can_warsoul_svolution",}, {name="幻光激活", winId=147, subId=0, tabId = nil, sort_id=80, check="can_light_active",}, {name="幻光升级", winId=147, subId=0, tabId = nil, sort_id=80, check="can_light_up",}, {name="魂力激活", winId=144, subId=0, tabId = nil, sort_id=80, check="can_soul_power_up",}, {name="魂力突破", winId=144, subId=0, tabId = nil, sort_id=80, check="can_soul_break",}, {name="座驾进阶", winId=146, subId=1, tabId = 1, sort_id=80, check="can_horse_stren",}, {name="座驾提升", winId=146, subId=1, tabId = 2, sort_id=80, check="can_horse_up",}, {name="座驾换装", winId=146, subId=1, tabId = 3, sort_id=80, check="can_horse_cloth_change",}, -- {name="座驾升装", winId=146, subId=1, tabId = 3, sort_id=80, check="can_horse_cloth_up",}, {name="座驾技能", winId=146, subId=1, tabId = 1, sort_id=80, check="can_horse_skill_up",}, {name="座驾珍宝", winId=146, subId=91, tabId = nil, sort_id=80, check="can_horse_shape_up_or_active",}, {name="炫翼进阶", winId=146, subId=2, tabId = 1, sort_id=80, check="can_wing_stren",}, {name="炫翼提升", winId=146, subId=2, tabId = 2, sort_id=80, check="can_wing_up",}, {name="炫翼技能", winId=146, subId=2, tabId = 1, sort_id=80, check="can_wing_skill_up",}, {name="炫翼珍宝", winId=146, subId=92, tabId = nil, sort_id=80, check="can_wing_shape_up_or_active",}, {name="宝具进阶", winId=146, subId=3, tabId = 1, sort_id=80, check="can_pearl_stren",}, {name="宝具提升", winId=146, subId=3, tabId = 2, sort_id=80, check="can_pearl_up",}, {name="宝具技能", winId=146, subId=3, tabId = 2, sort_id=80, check="can_pearl_skill_up",}, {name="宝具珍宝", winId=146, subId=93, tabId = nil, sort_id=80, check="can_pearl_shape_up_or_active",}, {name="武器进阶", winId=146, subId=4, tabId = 1, sort_id=80, check="can_weapon_stren",}, {name="武器提升", winId=146, subId=4, tabId = 2, sort_id=80, check="can_weapon_up",}, {name="武器技能", winId=146, subId=4, tabId = 2, sort_id=80, check="can_weapon_skill_up",}, {name="武器珍宝", winId=146, subId=94, tabId = nil, sort_id=80, check="can_weapon_shape_up_or_active",}, {name="AI娘进阶", winId=146, subId=5, tabId = 1, sort_id=80, check="can_jarvis_stren",}, {name="AI娘提升", winId=146, subId=5, tabId = 2, sort_id=80, check="can_jarvis_up",}, {name="AI娘换装", winId=146, subId=5, tabId = 3, sort_id=80, check="can_jarvis_cloth_change",}, -- {name="AI娘升装", winId=146, subId=5, tabId = 3, sort_id=80, check="can_jarvis_cloth_up",}, {name="AI娘技能", winId=146, subId=5, tabId = 1, sort_id=80, check="can_jarvis_skill_up",}, {name="AI娘珍宝", winId=146, subId=95, tabId = nil, sort_id=80, check="can_jarvis_shape_up_or_active",}, {name="AI娘皮肤", winId=146, subId=15, tabId = nil, sort_id=80, check="can_jarvis_skin_up_or_active",}, {name="磁炮进阶", winId=146, subId=6, tabId = 1, sort_id=80, check="can_gun_stren",}, {name="磁炮提升", winId=146, subId=6, tabId = 2, sort_id=80, check="can_gun_up",}, {name="磁炮技能", winId=146, subId=6, tabId = 1, sort_id=80, check="can_gun_skill_up",}, {name="磁炮皮肤", winId=146, subId=16, tabId = nil, sort_id=80, check="can_gun_skin_up_or_active",}, {name="星翼进阶", winId=146, subId=7, tabId = 1, sort_id=80, check="can_cloud_stren",}, {name="星翼提升", winId=146, subId=7, tabId = 2, sort_id=80, check="can_cloud_up",}, {name="星翼技能", winId=146, subId=7, tabId = 1, sort_id=80, check="can_cloud_skill_up",}, {name="星翼皮肤", winId=146, subId=17, tabId = nil, sort_id=80, check="can_cloud_skin_up_or_active",}, {name="幻甲进阶", winId=146, subId=8, tabId = 1,sort_id=80, check="can_armour_stren",}, {name="幻甲提升", winId=146, subId=8, tabId = 2,sort_id=80, check="can_armour_up",}, {name="幻甲技能", winId=146, subId=8, tabId = 1,sort_id=80, check="can_armour_skill_up",}, {name="幻甲皮肤", winId=146, subId=18, tabId = nil, sort_id=80, check="can_armour_up_or_active",}, {name="装备升星", winId=152, subId=2, tabId = nil, sort_id=80, check="can_equip_up",}, {name="装备升品", winId=152, subId=5, tabId = nil, sort_id=80, check="can_equip_red_up",}, {name="时装激活", winId=413, subId=0, tabId = nil, sort_id=80, check="can_fashion_active",}, {name="时装升星", winId=413, subId=0, tabId = nil, sort_id=80, check="can_fashion_up",}, {name="吞噬", winId=150, subId=4, tabId = nil, sort_id=80, check="can_equip_eat",}, }, }