实现具体思路: |
例:
-- 英文KEY = {中文名, 尾部所加字符[如果为nil则不加值]}
local prop_name_tbl = {
["MaxHP"] = {"HP上限 +", "%"},
["MaxMP"] = {"MP上限 +", "%"},
["ACRate"] = {"物防 +", "%"},
["MACRate"] = {"魔防 +", "%"},
["PowerRate"] = {"攻击力 +", "%"},
["MagicRate"] = {"魔法力 +", "%"},
["SCRate"] = {"道术力 +", "%"},
["AC"] = {"防御 +", ""},
["MAC"] = {"魔防 +", ""},
["DC"] = {"攻击 +", ""},
["MC"] = {"魔法 +", ""},
["SC"] = {"道术 +", ""},
["TC"] = {"刺术 +", ""},
["TCRate"] = {"暴击 +", "%"},
["Reserved1"] = {"技巧", ""},
["UnBurstRate"] = {"探测", ""}, |