源战役客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

329 lines
14 KiB

Config = Config or {}
Config.ConfigItemAttr = {}
--物品属性对应表
--kind = 1普通 2百分比 3毫秒
--symbol = 1加 2减
-- 1
--160 坐骑系统
--161 翅膀
--165 宠物
--168 法宝
--427 神格系统
--430 星灵系统
--440 降神
--441 图鉴系统
--431 星痕系统
--112 装扮
--413 时装
Config.ConfigItemAttr.Module = {
Horse = 160,
Wing = 161,
Pet = 165,
Talisman = 168,
Deity = 427,
StarSoul = 430,
God = 440,
HandBook = 441,
StarShadow = 431,
Baby = 442,
Dress = 112,
Fashion = 413,
}
--大空格属性名字
Config.ConfigItemAttr.BigSpaceAttr = {
[1] = "攻 击",
[2] = "生 命",
[4] = "防 御",
[5] = "命 中",
[6] = "闪 避",
[7] = "暴 击",
[8] = "坚 韧",
}
Config.ConfigItemAttr.SpecialAttr = {
[60] = {--攻击
[160] = "坐骑攻击",
[161] = "翅膀攻击",
[165] = "宠物攻击",
[168] = "宝具攻击",
[427] = "神格攻击",
[430] = "星灵攻击",
[440] = "降神攻击",
[441] = "图鉴攻击",
[431] = "星痕攻击",
[112] = "装扮攻击",
[413] = "时装攻击",
[442] = "宝宝攻击",
} ,
[61] = {--生命
[160] = "坐骑生命",
[161] = "翅膀生命",
[165] = "宠物生命",
[168] = "宝具生命",
[427] = "神格生命",
[430] = "星灵生命",
[440] = "降神生命",
[441] = "图鉴生命",
[431] = "星痕生命",
[112] = "装扮生命",
[413] = "时装生命",
[442] = "宝宝生命",
},
[62] = {--破甲
[160] = "坐骑破甲",
[161] = "翅膀破甲",
[165] = "宠物破甲",
[168] = "宝具破甲",
[427] = "神格破甲",
[430] = "星灵破甲",
[440] = "降神破甲",
[441] = "图鉴破甲",
[431] = "星痕破甲",
[112] = "装扮破甲",
[413] = "时装破甲",
[442] = "宝宝破甲",
} ,
[63] = {--防御
[160] = "坐骑防御",
[161] = "翅膀防御",
[165] = "宠物防御",
[168] = "宝具防御",
[427] = "神格防御",
[430] = "星灵防御",
[440] = "降神防御",
[441] = "图鉴防御",
[431] = "星痕防御",
[112] = "装扮防御",
[413] = "时装防御",
[442] = "宝宝防御",
},
[64] = {--命中
[160] = "坐骑命中",
[161] = "翅膀命中",
[165] = "宠物命中",
[168] = "宝具命中",
[427] = "神格命中",
[430] = "星灵命中",
[440] = "降神命中",
[441] = "图鉴命中",
[431] = "星痕命中",
[112] = "装扮命中",
[413] = "时装命中",
[442] = "宝宝命中",
},
[65] = {--闪避
[160] = "坐骑闪避",
[161] = "翅膀闪避",
[165] = "宠物闪避",
[168] = "宝具闪避",
[427] = "神格闪避",
[430] = "星灵闪避",
[440] = "降神闪避",
[441] = "图鉴闪避",
[431] = "星痕闪避",
[112] = "装扮闪避",
[413] = "时装闪避",
[442] = "宝宝闪避",
},
[66] = {--暴击
[160] = "坐骑暴击",
[161] = "翅膀暴击",
[165] = "宠物暴击",
[168] = "宝具暴击",
[427] = "神格暴击",
[430] = "星灵暴击",
[440] = "降神暴击",
[441] = "图鉴暴击",
[431] = "星痕暴击",
[112] = "装扮暴击",
[413] = "时装暴击",
[442] = "宝宝暴击",
},
[67] = {--韧性
[160] = "坐骑韧性",
[161] = "翅膀韧性",
[165] = "宠物韧性",
[168] = "宝具韧性",
[427] = "神格韧性",
[430] = "星灵韧性",
[440] = "降神韧性",
[441] = "图鉴韧性",
[431] = "星痕韧性",
[112] = "装扮韧性",
[413] = "时装韧性",
[442] = "宝宝韧性",
},
[68] = {--属性
[160] = "坐骑属性",
[161] = "翅膀属性",
[165] = "宠物属性",
[168] = "宝具属性",
[427] = "神格属性",
[430] = "星灵属性",
[440] = "降神属性",
[441] = "图鉴属性",
[431] = "星痕属性",
[192] = "全属性",
[112] = "装扮全属性",
[413] = "部位属性",
[172] = "婚戒属性",
[442] = "宝宝全属性",
},
}
--base_per_add基础属性百分比加成
Config.ConfigItemAttr.Normal = {
--固定属性
[1] = {name = "攻击", kind = 1, symbol = 1, is_percent = false, tag = "att", add_num = 5},
[2] = {name = "生命", kind = 1, symbol = 1, is_percent = false, tag = "maxHp", add_num = 0.5},
[4] = {name = "防御", kind = 1, symbol = 1, is_percent = false, tag = "def", add_num = 5},
[5] = {name = "命中", kind = 1, symbol = 1, is_percent = false, tag = "hit", add_num = 15},
[6] = {name = "闪避", kind = 1, symbol = 1, is_percent = false, tag = "dodge", add_num = 15},
[7] = {name = "暴击", kind = 1, symbol = 1, is_percent = false, tag = "crit", add_num = 15},
[8] = {name = "坚韧", kind = 1, symbol = 1, is_percent = false, tag = "ten", add_num = 15},
[15] = {name = "固伤", kind = 1, symbol = 1, is_percent = false, tag = "abs_att", add_num = 5},
[16] = {name = "固防", kind = 1, symbol = 1, is_percent = false, tag = "abs_def", add_num = 5},
[18] = {name = "移动速度", kind = 1, symbol = 1, is_percent = false, tag = nil},
--比例属性
[9] = {name = "伤害加成", kind = 2, symbol = 1, is_percent = true, tag = "hurt_add_ratio", add_num = 200},
[10] = {name = "伤害减免", kind = 2, symbol = 1, is_percent = true, tag = "hurt_del_ratio", add_num = 200},
[11] = {name = "命中几率", kind = 2, symbol = 1, is_percent = true, tag = "hit_ratio", add_num = 200},
[12] = {name = "闪避几率", kind = 2, symbol = 1, is_percent = true, tag = "dodge_ratio", add_num = 200},
[13] = {name = "暴击几率", kind = 2, symbol = 1, is_percent = true, tag = "crit_ratio", add_num = 100},
[14] = {name = "暴击抵抗", kind = 2, symbol = 1, is_percent = true, tag = "uncrit_ratio", add_num = 100},
[19] = {name = "总攻击加成", kind = 2, symbol = 1, is_percent = true, tag = "att_add_ratio", base_per_add = "base_att"},
[20] = {name = "总生命加成", kind = 2, symbol = 1, is_percent = true, tag = "hp_add_ratio", base_per_add = "base_maxHp"},
[21] = {name = "经验加成", kind = 2, symbol = 1, is_percent = true, tag = nil},
[22] = {name = "总防御加成", kind = 2, symbol = 1, is_percent = true, tag = "def_add_ratio", base_per_add = "base_def"},
[23] = {name = "总命中加成", kind = 2, symbol = 1, is_percent = true, tag = "hit_add_ratio", base_per_add = "base_hit"},
[24] = {name = "总闪避加成", kind = 2, symbol = 1, is_percent = true, tag = "dodge_add_ratio", base_per_add = "base_dodge"},
[25] = {name = "总暴击加成", kind = 2, symbol = 1, is_percent = true, tag = "crit_add_ratio", base_per_add = "base_crit"},
[26] = {name = "总坚韧加成", kind = 2, symbol = 1, is_percent = true, tag = "ten_add_ratio", base_per_add = "base_ten"},
[27] = {name = "技能增伤", kind = 2, symbol = 1, is_percent = true, tag = "skill_hurt_add_ratio", add_num = 100},
[28] = {name = "技能减伤", kind = 2, symbol = 1, is_percent = true, tag = "skill_hurt_del_ratio", add_num = 100},
[29] = {name = "总固伤加成", kind = 2, symbol = 1, is_percent = true, tag = "final_hurt_add_ratio", base_per_add = "base_abs_att"},
[30] = {name = "总固防加成", kind = 2, symbol = 1, is_percent = true, tag = "final_hurt_del_ratio", base_per_add = "base_abs_def"},
[48] = {name = "格挡几率", kind = 2, symbol = 1, is_percent = true, tag = "parry_ratio", add_num = 100},
[49] = {name = "格挡穿透", kind = 2, symbol = 1, is_percent = true, tag = "stab_ratio", add_num = 100},
[50] = {name = "PVP减伤", kind = 2, symbol = 1, is_percent = true, tag = "pvp_hurt_del_ratio", add_num = 200},
[51] = {name = "PVP伤害", kind = 2, symbol = 1, is_percent = true, tag = "pvp_hurt_add_ratio", add_num = 200},
[52] = {name = "暴伤加成", kind = 2, symbol = 1, is_percent = true, tag = "crit_hurt_add_ratio", add_num = 40},
[53] = {name = "暴伤减免", kind = 2, symbol = 1, is_percent = true, tag = "crit_hurt_del_ratio", add_num = 40},
[54] = {name = "会心几率", kind = 2, symbol = 1, is_percent = true, tag = "heart_ratio", add_num = 200},
[55] = {name = "会心伤害", kind = 2, symbol = 1, is_percent = true, tag = "heart_add_hurt", add_num = 40},
[56] = {name = "会心抵抗", kind = 2, symbol = 1, is_percent = true, tag = "heart_resist_ratio", add_num = 200},
[57] = {name = "会心减伤", kind = 2, symbol = 1, is_percent = true, tag = "heart_del_hurt", add_num = 40},
[58] = {name = "攻击速度", kind = 2, symbol = 1, is_percent = true, tag = "att_speed_add_ratio"},
[59] = {name = "移动速度加成", kind = 2, symbol = 1, is_percent = true, tag = "speed_add_ratio"},
[60] = {name = "局部攻击加成", kind = 2, symbol = 1, is_percent = true, tag = nil},
[61] = {name = "局部生命加成", kind = 2, symbol = 1, is_percent = true, tag = nil},
[63] = {name = "局部防御加成", kind = 2, symbol = 1, is_percent = true, tag = nil},
[64] = {name = "局部命中加成", kind = 2, symbol = 1, is_percent = true, tag = nil},
[65] = {name = "局部闪避加成", kind = 2, symbol = 1, is_percent = true, tag = nil},
[66] = {name = "局部暴击加成", kind = 2, symbol = 1, is_percent = true, tag = nil},
[67] = {name = "局部韧性加成", kind = 2, symbol = 1, is_percent = true, tag = nil},
[68] = {name = "局部属性加成", kind = 2, symbol = 1, is_percent = true, tag = nil},
[69] = {name = "基础攻击加成", kind = 2, symbol = 1, is_percent = true},
[70] = {name = "基础生命加成", kind = 2, symbol = 1, is_percent = true},
[72] = {name = "基础防御加成", kind = 2, symbol = 1, is_percent = true},
[73] = {name = "基础命中加成", kind = 2, symbol = 1, is_percent = true},
[74] = {name = "基础闪避加成", kind = 2, symbol = 1, is_percent = true},
[75] = {name = "基础暴击加成", kind = 2, symbol = 1, is_percent = true},
[76] = {name = "基础韧性加成", kind = 2, symbol = 1, is_percent = true},
--备用属性start
[77] = {name = "冰系伤害", kind = 1, symbol = 1, tag = "ice_hurt"},
[78] = {name = "冰系防御", kind = 1, symbol = 1, tag = "ice_def"},
[79] = {name = "雷系伤害", kind = 1, symbol = 1, tag = "thunder_hurt"},
[80] = {name = "雷系防御", kind = 1, symbol = 1, tag = "thunder_def"},
[81] = {name = "火系伤害", kind = 1, symbol = 1, tag = "fire_hurt"},
[82] = {name = "火系防御", kind = 1, symbol = 1, tag = "fire_def"},
[83] = {name = "风系伤害", kind = 1, symbol = 1, tag = "wind_hurt"},
[84] = {name = "风系防御", kind = 1, symbol = 1, tag = "wind_def"},
[85] = {name = "冰伤加成", kind = 2, symbol = 1},
[86] = {name = "冰防加成", kind = 2, symbol = 1},
[87] = {name = "雷伤加成", kind = 2, symbol = 1},
[88] = {name = "雷防加成", kind = 2, symbol = 1},
[89] = {name = "火伤加成", kind = 2, symbol = 1},
[90] = {name = "火防加成", kind = 2, symbol = 1},
[91] = {name = "风伤加成", kind = 2, symbol = 1},
[92] = {name = "风防加成", kind = 2, symbol = 1},
--备用属性end
--新增属性start
[93] = {name = "生命回复", kind = 1, symbol = 1, is_percent = false},
[94] = {name = "生命回复比例", kind = 2, symbol = 1, is_percent = true},
[95] = {name = "吸血", kind = 2, symbol = 1, is_percent = true, tag = "suck_blood", add_num = 200},
[96] = {name = "吸血加成", kind = 2, symbol = 1, is_percent = true, tag = "suck_blood_add", add_num = 10},
[97] = {name = "吸血减免", kind = 2, symbol = 1, is_percent = true, tag = "suck_blood_minus", add_num = 10},
[98] = {name = "BOSS伤害", kind = 2, symbol = 1, is_percent = true, tag = "boss_hurt_add_ratio", add_num = 40},
[99] = {name = "BOSS减伤", kind = 2, symbol = 1, is_percent = true, tag = "boss_hurt_del_ratio", add_num = 40},
[100] = {name = "小怪伤害", kind = 2, symbol = 1, is_percent = true, tag = "mon_hurt_add_ratio", add_num = 40},
[101] = {name = "小怪减伤", kind = 2, symbol = 1, is_percent = true, tag = "mon_hurt_del_ratio", add_num = 40},
--新增属性end
--备用属性start
[201] = {name = "生命回复", kind = 2, symbol = 1, tag = "hp_resume"},
[203] = {name = "BOSS伤害", kind = 2, symbol = 1, tag = "boss_hurt_add_ratio"},
[210] = {name = "稀有度", kind = 2, symbol = 1},
[211] = {name = "金币加成", kind = 2, is_percent = true, symbol = 1},
[221] = {name = "武器攻击", kind = 2, is_percent = true, symbol = 1},
[222] = {name = "武器破甲", kind = 2, is_percent = true, symbol = 1},
[223] = {name = "防具生命", kind = 2, is_percent = true, symbol = 1},
[224] = {name = "防具防御", kind = 2, is_percent = true, symbol = 1},
[225] = {name = "饰品攻击", kind = 2, is_percent = true, symbol = 1},
[226] = {name = "饰品破甲", kind = 2, is_percent = true, symbol = 1},
[231] = {name = "挂机经验", kind = 2, is_percent = true, symbol = 1, is_percent = true},
--备用属性end
}
Config.ConfigItemAttr.BaseAttrId = {
[1] = true,
[2] = true,
[3] = true,
[4] = true,
[5] = true,
[6] = true,
[7] = true,
[8] = true,
}
-- 局部属性加成对应加成的属性的关系表
Config.ConfigItemAttr.AttrAdditionRelation = {
[60] = {1}, --局部攻击 加成"攻击"属性
[61] = {2},
[62] = {3},
[63] = {4},
[64] = {5},
[65] = {6},
[66] = {7},
[67] = {8},
[68] = {1,2,3,4,5,6,7,8}, --全部属性的加成 加成 1到8的属性
}
Config.ConfigItemAttr.AttrDivideWeight =
{
["Normal"] = 1,
["High"] = 2,
["Rare"] = 3,
}
-- 属性划分
Config.ConfigItemAttr.AttrDivide = {
["Normal"] = {1,2,3,4,5,6,7,8,48,49,15,16}, --基础属性
["High"] = {77,78,79,80,81,82,83,84,9,10,27,28,50,230,51,231,203,232,52,53}, --高级属性
["Rare"] = {11,12,13,14,54,56,55,57,202,201,18,59,60,61,62,63,64,65,66,67,68,23,24,25}, --稀有属性
}