• 正在查找将来过去时的官方设定集?不如看看万界大百科吧!
  • 《将来过去时》第一部分 现在 魔科纪元的少年少女 即将正式发布!
  • 让我偷偷看一眼小鱼君的博客……
  • 服务器已成功迁移到 阿里云(杭州)

“模块:Jobs/alias”的版本间的差异

来自小鱼君和他的朋友们
([InPageEdit] 没有编辑摘要)
([InPageEdit] 没有编辑摘要)
 
(未显示同一用户的1个中间版本)
第6行: 第6行:
 
   end
 
   end
 
end
 
end
--  设定职业别名
+
 
setAlias({'弓箭手', 'archer', 'arc'}, 'archer')
+
--  近战
setAlias({'吟游诗人', '诗人', 'bard', 'brd'}, 'bard')
+
setAlias({'盗贼','盗','贼','thief','thf'},'thief')
 +
setAlias({'忍术师','忍者','忍','ninja','nja'},'ninja')
 +
setAlias({'枪术师','枪术士','枪兵','lancer','lac'},'lancer')
 +
setAlias({'龙骑兵','龙骑士','龙骑','dragon','dragoon','dra'},'dragoon')
 +
-- 远敏
 +
setAlias({'弓箭手','archer','arc'},'archer')
 +
setAlias({'吟游诗人','诗人','诗','bard','brd'},'bard')
 +
setAlias({'机工师','机工士','机械师','机工','技工','机','machinist','mch'},'machinist')
 +
-- 法爷
 +
setAlias({'学者','学','scholar','sch'},'scholar')
 +
setAlias({'召唤师','召唤','召','summoner','sum'},'summoner')
 +
setAlias({'咒术师','咒术','咒','spellmaster','spm'},'spellmaster')
 +
setAlias({'黑魔法师','黑魔','black mage','blackmage','bkm'},'blackmage')
 +
-- 奶妈
 +
setAlias({'幻术师','幻术','幻','illusionist','ill'},'illusionist')
 +
setAlias({'白魔法师','白魔','白','white mage','whitemage','whm'},'whitemage')
 +
setAlias({'元灵导师','元灵','elementalist','elementals','elemental','element','elm'},'elementalist')
 +
setAlias({'占星术师','占星术士','占星师','占星','占','astrologer','ast'},'astrologer')
 +
setAlias({'药剂师','护士','pharmascist','pha'},'pharmacist')
 +
setAlias({'魔道学者','魔药师','暗黑学者','魔学','魔女','magic medicine','magicmedicine','mgm'},'magicmedicine')
 +
-- 坦克
 +
setAlias({'剑术师','剑士','swordsman','swordman','sword','swd'},'swordsman')
 +
setAlias({'圣骑士','骑士','圣骑','骑','paladin','pld'},'paladin')
 +
setAlias({'陷阱大师','陷阱','fraudster','frd'},'fraudster')
 +
setAlias({'斧术师','斧','axeman','axe'},'axeman')
 +
setAlias({'狂战士','战士','战爹','战','berserker','bsk'},'berserker')
 +
setAlias({'暗黑骑士','暗骑','暗','dark knight','darkknight','darknight','dk','dkn'},'darkknight')
 +
-- 生产
 +
 
 +
-- 采集
  
 
return alias
 
return alias

2020年4月4日 (六) 03:32的最新版本

此模块的文档可以在模块:Jobs/alias/doc创建

-- 职业名称标准化
local alias = {}
function setAlias(array,code)
  for i,name in ipairs(array) do
    alias[array[i]] = code
  end
end

-- 近战
setAlias({'盗贼','盗','贼','thief','thf'},'thief')
setAlias({'忍术师','忍者','忍','ninja','nja'},'ninja')
setAlias({'枪术师','枪术士','枪兵','lancer','lac'},'lancer')
setAlias({'龙骑兵','龙骑士','龙骑','dragon','dragoon','dra'},'dragoon')
-- 远敏
setAlias({'弓箭手','archer','arc'},'archer')
setAlias({'吟游诗人','诗人','诗','bard','brd'},'bard')
setAlias({'机工师','机工士','机械师','机工','技工','机','machinist','mch'},'machinist')
-- 法爷
setAlias({'学者','学','scholar','sch'},'scholar')
setAlias({'召唤师','召唤','召','summoner','sum'},'summoner')
setAlias({'咒术师','咒术','咒','spellmaster','spm'},'spellmaster')
setAlias({'黑魔法师','黑魔','black mage','blackmage','bkm'},'blackmage')
-- 奶妈
setAlias({'幻术师','幻术','幻','illusionist','ill'},'illusionist')
setAlias({'白魔法师','白魔','白','white mage','whitemage','whm'},'whitemage')
setAlias({'元灵导师','元灵','elementalist','elementals','elemental','element','elm'},'elementalist')
setAlias({'占星术师','占星术士','占星师','占星','占','astrologer','ast'},'astrologer')
setAlias({'药剂师','护士','pharmascist','pha'},'pharmacist')
setAlias({'魔道学者','魔药师','暗黑学者','魔学','魔女','magic medicine','magicmedicine','mgm'},'magicmedicine')
-- 坦克
setAlias({'剑术师','剑士','swordsman','swordman','sword','swd'},'swordsman')
setAlias({'圣骑士','骑士','圣骑','骑','paladin','pld'},'paladin')
setAlias({'陷阱大师','陷阱','fraudster','frd'},'fraudster')
setAlias({'斧术师','斧','axeman','axe'},'axeman')
setAlias({'狂战士','战士','战爹','战','berserker','bsk'},'berserker')
setAlias({'暗黑骑士','暗骑','暗','dark knight','darkknight','darknight','dk','dkn'},'darkknight')
-- 生产

-- 采集

return alias