🌟現在、鉄壁 鉄壁ヘッドショットには対応済みです。
鉄壁HSは通常HSと同じダメージになります。LMG及びDMR、チャージライフル、ハンマーポイント弾を除き、すべてのダメージ値が一致していることを確認しています。

「モジュール:DPSTable/configuration」の版間の差分

提供:Apex Data
ナビゲーションに移動 検索に移動
(ページの作成:「local configuration = { en = { format = '%.1f', format_head_lvl1 = '<span class="text-rarity text-rarity-common">%.1f</span>', format_head_lvl2…」)
 
(ショットガンボルトの片方の値しか持たない場合のリソースを追加)
 
(同じ利用者による、間の6版が非表示)
1行目: 1行目:
local iu = require('Module:Utility/Image')
local langen = { lang = 'en' }
local configuration = {
local configuration = {
en = {
en = {
8行目: 10行目:
format_ft_firstonly = '%.1f &rarr; -',
format_ft_firstonly = '%.1f &rarr; -',
format_ft_lastonly  = '- &rarr; %.1f',
format_ft_lastonly  = '- &rarr; %.1f',
format_ft_head_lvl1 = '<span class="text-rarity text-rarity-common">%.1f &rarr; %.1f</span>',
format_ft_head_lvl1           = '<span class="text-rarity text-rarity-common">%.1f &rarr; %.1f</span>',
format_ft_head_lvl2 = '<span class="text-rarity text-rarity-rare">%.1f &rarr; %.1f</span>',
format_ft_head_lvl1_firstonly = '<span class="text-rarity text-rarity-common">%.1f &rarr; -</span>',
format_ft_head_lvl3 = '<span class="text-rarity text-rarity-epic">%.1f &rarr; %.1f</span>',
format_ft_head_lvl1_lastonly  = '<span class="text-rarity text-rarity-common">- &rarr; %.1f</span>',
format_ft_head_lvl2           = '<span class="text-rarity text-rarity-rare">%.1f &rarr; %.1f</span>',
format_ft_head_lvl2_firstonly = '<span class="text-rarity text-rarity-rare">%.1f &rarr; -</span>',
format_ft_head_lvl2_lastonly  = '<span class="text-rarity text-rarity-rare">- &rarr; %.1f</span>',
format_ft_head_lvl3           = '<span class="text-rarity text-rarity-epic">%.1f &rarr; %.1f</span>',
format_ft_head_lvl3_firstonly = '<span class="text-rarity text-rarity-epic">%.1f &rarr; -</span>',
format_ft_head_lvl3_lastonly  = '<span class="text-rarity text-rarity-epic">- &rarr; %.1f</span>',
perk_normal        = 'Normal',
perk_normal        = 'Normal',
perk_lowprofile    = 'Low Profile %+d%%',
perk_lowprofile    = 'Low Profile %+.0f%%',
perk_fortified      = 'Fortified %+d%%',
perk_fortified      = 'Fortified %+.0f%%',
perk_ft_lowprofile  = 'Low Profile %+d%% &rarr; %+d%%',
perk_ft_lowprofile  = 'Low Profile %+.0f%% &rarr; %+.0f%%',
perk_ft_fortified  = 'Fortified %+d%% &rarr; %+d%%',
perk_ft_fortified  = 'Fortified %+.0f%% &rarr; %+.0f%%',
part_head          = 'Head x%s',
part_head          = 'Head x%s',
part_head_lvl1      = string.format('%s <span class="text-rarity text-rarity-common">x%%s</span>', iu.gear('helmet', 1)),
part_head_lvl1      = string.format('%s <span class="text-rarity text-rarity-common">x%%s</span>', iu.gear('helmet', 1, langen)),
part_head_lvl2      = string.format('%s <span class="text-rarity text-rarity-rare">x%%s</span>', iu.gear('helmet', 2)),
part_head_lvl2      = string.format('%s <span class="text-rarity text-rarity-rare">x%%s</span>', iu.gear('helmet', 2, langen)),
part_head_lvl3      = string.format('%s <span class="text-rarity text-rarity-epic">x%%s</span>', iu.gear('helmet', 3)),
part_head_lvl3      = string.format('%s <span class="text-rarity text-rarity-epic">x%%s</span>', iu.gear('helmet', 3, langen)),
part_ft_head        = 'Head x%s &rarr; x%s',
part_ft_head        = 'Head x%s &rarr; x%s',
part_ft_head_lvl1  = string.format('%s <span class="text-rarity text-rarity-common">x%%s &rarr; x%%s</span>', iu.gear('helmet', 1)),
part_ft_head_lvl1  = string.format('%s <span class="text-rarity text-rarity-common">x%%s &rarr; x%%s</span>', iu.gear('helmet', 1, langen)),
part_ft_head_lvl2  = string.format('%s <span class="text-rarity text-rarity-rare">x%%s &rarr; x%%s</span>', iu.gear('helmet', 2)),
part_ft_head_lvl2  = string.format('%s <span class="text-rarity text-rarity-rare">x%%s &rarr; x%%s</span>', iu.gear('helmet', 2, langen)),
part_ft_head_lvl3  = string.format('%s <span class="text-rarity text-rarity-epic">x%%s &rarr; x%%s</span>', iu.gear('helmet', 3)),
part_ft_head_lvl3  = string.format('%s <span class="text-rarity text-rarity-epic">x%%s &rarr; x%%s</span>', iu.gear('helmet', 3, langen)),
part_body          = 'Body',
part_body          = 'Body',
part_bodylegs      = 'Body & Legs',
part_bodylegs      = 'Body & Legs',
part_legs          = 'Legs x%s',
part_legs          = 'Legs x%s',
part_ft_legs        = 'Legs x%s &rarr; x%s',
part_ft_legs        = 'Legs x%s &rarr; x%s',
ratio_shotgun1      = string.format('%s <span class="text-rarity text-rarity-common">x%%s</span>', iu.attachment('ショットガンボルト', 1, langen)),
ratio_shotgun2      = string.format('%s <span class="text-rarity text-rarity-rare">x%%s</span>', iu.attachment('ショットガンボルト', 2, langen)),
ratio_shotgun3      = string.format('%s <span class="text-rarity text-rarity-epic">x%%s</span>', iu.attachment('ショットガンボルト', 3, langen)),
ratio_ft_shotgun1          = string.format('%s <span class="text-rarity text-rarity-common">x%%s &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 1, langen)),
ratio_ft_shotgun1_firstonly = string.format('%s <span class="text-rarity text-rarity-common">x%%s &rarr; -</span>', iu.attachment('ショットガンボルト', 1, langen)),
ratio_ft_shotgun1_lastonly  = string.format('%s <span class="text-rarity text-rarity-common">- &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 1, langen)),
ratio_ft_shotgun2          = string.format('%s <span class="text-rarity text-rarity-rare">x%%s &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 2, langen)),
ratio_ft_shotgun2_firstonly = string.format('%s <span class="text-rarity text-rarity-rare">x%%s &rarr; -</span>', iu.attachment('ショットガンボルト', 2, langen)),
ratio_ft_shotgun2_lastonly  = string.format('%s <span class="text-rarity text-rarity-rare">- &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 2, langen)),
ratio_ft_shotgun3          = string.format('%s <span class="text-rarity text-rarity-epic">x%%s &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 3, langen)),
ratio_ft_shotgun3_firstonly = string.format('%s <span class="text-rarity text-rarity-epic">x%%s &rarr; -</span>', iu.attachment('ショットガンボルト', 3, langen)),
ratio_ft_shotgun3_lastonly  = string.format('%s <span class="text-rarity text-rarity-epic">- &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 3, langen)),
},
},
ja = {
ja = {
37行目: 57行目:
format_ft_firstonly = '%.1f &rarr; -',
format_ft_firstonly = '%.1f &rarr; -',
format_ft_lastonly  = '- &rarr; %.1f',
format_ft_lastonly  = '- &rarr; %.1f',
format_ft_head_lvl1 = '<span class="text-rarity text-rarity-common">%.1f &rarr; %.1f</span>',
format_ft_head_lvl1           = '<span class="text-rarity text-rarity-common">%.1f &rarr; %.1f</span>',
format_ft_head_lvl2 = '<span class="text-rarity text-rarity-rare">%.1f &rarr; %.1f</span>',
format_ft_head_lvl1_firstonly = '<span class="text-rarity text-rarity-common">%.1f &rarr; -</span>',
format_ft_head_lvl3 = '<span class="text-rarity text-rarity-epic">%.1f &rarr; %.1f</span>',
format_ft_head_lvl1_lastonly  = '<span class="text-rarity text-rarity-common">- &rarr; %.1f</span>',
format_ft_head_lvl2           = '<span class="text-rarity text-rarity-rare">%.1f &rarr; %.1f</span>',
format_ft_head_lvl2_firstonly = '<span class="text-rarity text-rarity-rare">%.1f &rarr; -</span>',
format_ft_head_lvl2_lastonly  = '<span class="text-rarity text-rarity-rare">- &rarr; %.1f</span>',
format_ft_head_lvl3           = '<span class="text-rarity text-rarity-epic">%.1f &rarr; %.1f</span>',
format_ft_head_lvl3_firstonly = '<span class="text-rarity text-rarity-epic">%.1f &rarr; -</span>',
format_ft_head_lvl3_lastonly  = '<span class="text-rarity text-rarity-epic">- &rarr; %.1f</span>',
perk_normal        = '通常',
perk_normal        = '通常',
perk_lowprofile    = '小柄 %+d%%',
perk_lowprofile    = '小柄 %+.0f%%',
perk_fortified      = '鉄壁 %+d%%',
perk_fortified      = '鉄壁 %+.0f%%',
perk_ft_lowprofile  = '小柄 %+d%% &rarr; %+d%%',
perk_ft_lowprofile  = '小柄 %+.0f%% &rarr; %+.0f%%',
perk_ft_fortified  = '鉄壁 %+d%% &rarr; %+d%%',
perk_ft_fortified  = '鉄壁 %+.0f%% &rarr; %+.0f%%',
part_head          = '頭 x%s',
part_head          = '頭 x%s',
part_head_lvl1      = string.format('%s <span class="text-rarity text-rarity-common">x%%s</span>', iu.gear('helmet', 1)),
part_head_lvl1      = string.format('%s <span class="text-rarity text-rarity-common">x%%s</span>', iu.gear('helmet', 1)),
57行目: 83行目:
part_legs          = '脚 x%s',
part_legs          = '脚 x%s',
part_ft_legs        = '脚 x%s &rarr; x%s',
part_ft_legs        = '脚 x%s &rarr; x%s',
ratio_shotgun1      = string.format('%s <span class="text-rarity text-rarity-common">x%%s</span>', iu.attachment('ショットガンボルト', 1)),
ratio_shotgun2      = string.format('%s <span class="text-rarity text-rarity-rare">x%%s</span>', iu.attachment('ショットガンボルト', 2)),
ratio_shotgun3      = string.format('%s <span class="text-rarity text-rarity-epic">x%%s</span>', iu.attachment('ショットガンボルト', 3)),
ratio_ft_shotgun1          = string.format('%s <span class="text-rarity text-rarity-common">x%%s &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 1)),
ratio_ft_shotgun1_firstonly = string.format('%s <span class="text-rarity text-rarity-common">x%%s &rarr; -</span>', iu.attachment('ショットガンボルト', 1)),
ratio_ft_shotgun1_lastonly  = string.format('%s <span class="text-rarity text-rarity-common">- &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 1)),
ratio_ft_shotgun2          = string.format('%s <span class="text-rarity text-rarity-rare">x%%s &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 2)),
ratio_ft_shotgun2_firstonly = string.format('%s <span class="text-rarity text-rarity-rare">x%%s &rarr; -</span>', iu.attachment('ショットガンボルト', 2)),
ratio_ft_shotgun2_lastonly  = string.format('%s <span class="text-rarity text-rarity-rare">- &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 2)),
ratio_ft_shotgun3          = string.format('%s <span class="text-rarity text-rarity-epic">x%%s &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 3)),
ratio_ft_shotgun3_firstonly = string.format('%s <span class="text-rarity text-rarity-epic">x%%s &rarr; -</span>', iu.attachment('ショットガンボルト', 3)),
ratio_ft_shotgun3_lastonly  = string.format('%s <span class="text-rarity text-rarity-epic">- &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 3)),
},
},
}
}


return configuration
return configuration

2022年5月22日 (日) 22:34時点における最新版

このモジュールについての説明文ページを モジュール:DPSTable/configuration/doc に作成できます

local iu = require('Module:Utility/Image')
local langen = { lang = 'en' }
local configuration = {
	en = {
		format              = '%.1f',
		format_head_lvl1    = '<span class="text-rarity text-rarity-common">%.1f</span>',
		format_head_lvl2    = '<span class="text-rarity text-rarity-rare">%.1f</span>',
		format_head_lvl3    = '<span class="text-rarity text-rarity-epic">%.1f</span>',
		format_ft           = '%.1f &rarr; %.1f',
		format_ft_firstonly = '%.1f &rarr; -',
		format_ft_lastonly  = '- &rarr; %.1f',
		format_ft_head_lvl1           = '<span class="text-rarity text-rarity-common">%.1f &rarr; %.1f</span>',
		format_ft_head_lvl1_firstonly = '<span class="text-rarity text-rarity-common">%.1f &rarr; -</span>',
		format_ft_head_lvl1_lastonly  = '<span class="text-rarity text-rarity-common">- &rarr; %.1f</span>',
		format_ft_head_lvl2           = '<span class="text-rarity text-rarity-rare">%.1f &rarr; %.1f</span>',
		format_ft_head_lvl2_firstonly = '<span class="text-rarity text-rarity-rare">%.1f &rarr; -</span>',
		format_ft_head_lvl2_lastonly  = '<span class="text-rarity text-rarity-rare">- &rarr; %.1f</span>',
		format_ft_head_lvl3           = '<span class="text-rarity text-rarity-epic">%.1f &rarr; %.1f</span>',
		format_ft_head_lvl3_firstonly = '<span class="text-rarity text-rarity-epic">%.1f &rarr; -</span>',
		format_ft_head_lvl3_lastonly  = '<span class="text-rarity text-rarity-epic">- &rarr; %.1f</span>',
		perk_normal         = 'Normal',
		perk_lowprofile     = 'Low Profile %+.0f%%',
		perk_fortified      = 'Fortified %+.0f%%',
		perk_ft_lowprofile  = 'Low Profile %+.0f%% &rarr; %+.0f%%',
		perk_ft_fortified   = 'Fortified %+.0f%% &rarr; %+.0f%%',
		part_head           = 'Head x%s',
		part_head_lvl1      = string.format('%s <span class="text-rarity text-rarity-common">x%%s</span>', iu.gear('helmet', 1, langen)),
		part_head_lvl2      = string.format('%s <span class="text-rarity text-rarity-rare">x%%s</span>', iu.gear('helmet', 2, langen)),
		part_head_lvl3      = string.format('%s <span class="text-rarity text-rarity-epic">x%%s</span>', iu.gear('helmet', 3, langen)),
		part_ft_head        = 'Head x%s &rarr; x%s',
		part_ft_head_lvl1   = string.format('%s <span class="text-rarity text-rarity-common">x%%s &rarr; x%%s</span>', iu.gear('helmet', 1, langen)),
		part_ft_head_lvl2   = string.format('%s <span class="text-rarity text-rarity-rare">x%%s &rarr; x%%s</span>', iu.gear('helmet', 2, langen)),
		part_ft_head_lvl3   = string.format('%s <span class="text-rarity text-rarity-epic">x%%s &rarr; x%%s</span>', iu.gear('helmet', 3, langen)),
		part_body           = 'Body',
		part_bodylegs       = 'Body & Legs',
		part_legs           = 'Legs x%s',
		part_ft_legs        = 'Legs x%s &rarr; x%s',
		ratio_shotgun1      = string.format('%s <span class="text-rarity text-rarity-common">x%%s</span>', iu.attachment('ショットガンボルト', 1, langen)),
		ratio_shotgun2      = string.format('%s <span class="text-rarity text-rarity-rare">x%%s</span>', iu.attachment('ショットガンボルト', 2, langen)),
		ratio_shotgun3      = string.format('%s <span class="text-rarity text-rarity-epic">x%%s</span>', iu.attachment('ショットガンボルト', 3, langen)),
		ratio_ft_shotgun1           = string.format('%s <span class="text-rarity text-rarity-common">x%%s &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 1, langen)),
		ratio_ft_shotgun1_firstonly = string.format('%s <span class="text-rarity text-rarity-common">x%%s &rarr; -</span>', iu.attachment('ショットガンボルト', 1, langen)),
		ratio_ft_shotgun1_lastonly  = string.format('%s <span class="text-rarity text-rarity-common">- &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 1, langen)),
		ratio_ft_shotgun2           = string.format('%s <span class="text-rarity text-rarity-rare">x%%s &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 2, langen)),
		ratio_ft_shotgun2_firstonly = string.format('%s <span class="text-rarity text-rarity-rare">x%%s &rarr; -</span>', iu.attachment('ショットガンボルト', 2, langen)),
		ratio_ft_shotgun2_lastonly  = string.format('%s <span class="text-rarity text-rarity-rare">- &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 2, langen)),
		ratio_ft_shotgun3           = string.format('%s <span class="text-rarity text-rarity-epic">x%%s &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 3, langen)),
		ratio_ft_shotgun3_firstonly = string.format('%s <span class="text-rarity text-rarity-epic">x%%s &rarr; -</span>', iu.attachment('ショットガンボルト', 3, langen)),
		ratio_ft_shotgun3_lastonly  = string.format('%s <span class="text-rarity text-rarity-epic">- &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 3, langen)),
	},
	ja = {
		format              = '%.1f',
		format_head_lvl1    = '<span class="text-rarity text-rarity-common">%.1f</span>',
		format_head_lvl2    = '<span class="text-rarity text-rarity-rare">%.1f</span>',
		format_head_lvl3    = '<span class="text-rarity text-rarity-epic">%.1f</span>',
		format_ft           = '%.1f &rarr; %.1f',
		format_ft_firstonly = '%.1f &rarr; -',
		format_ft_lastonly  = '- &rarr; %.1f',
		format_ft_head_lvl1           = '<span class="text-rarity text-rarity-common">%.1f &rarr; %.1f</span>',
		format_ft_head_lvl1_firstonly = '<span class="text-rarity text-rarity-common">%.1f &rarr; -</span>',
		format_ft_head_lvl1_lastonly  = '<span class="text-rarity text-rarity-common">- &rarr; %.1f</span>',
		format_ft_head_lvl2           = '<span class="text-rarity text-rarity-rare">%.1f &rarr; %.1f</span>',
		format_ft_head_lvl2_firstonly = '<span class="text-rarity text-rarity-rare">%.1f &rarr; -</span>',
		format_ft_head_lvl2_lastonly  = '<span class="text-rarity text-rarity-rare">- &rarr; %.1f</span>',
		format_ft_head_lvl3           = '<span class="text-rarity text-rarity-epic">%.1f &rarr; %.1f</span>',
		format_ft_head_lvl3_firstonly = '<span class="text-rarity text-rarity-epic">%.1f &rarr; -</span>',
		format_ft_head_lvl3_lastonly  = '<span class="text-rarity text-rarity-epic">- &rarr; %.1f</span>',
		perk_normal         = '通常',
		perk_lowprofile     = '小柄 %+.0f%%',
		perk_fortified      = '鉄壁 %+.0f%%',
		perk_ft_lowprofile  = '小柄 %+.0f%% &rarr; %+.0f%%',
		perk_ft_fortified   = '鉄壁 %+.0f%% &rarr; %+.0f%%',
		part_head           = '頭 x%s',
		part_head_lvl1      = string.format('%s <span class="text-rarity text-rarity-common">x%%s</span>', iu.gear('helmet', 1)),
		part_head_lvl2      = string.format('%s <span class="text-rarity text-rarity-rare">x%%s</span>', iu.gear('helmet', 2)),
		part_head_lvl3      = string.format('%s <span class="text-rarity text-rarity-epic">x%%s</span>', iu.gear('helmet', 3)),
		part_ft_head        = '頭 x%s &rarr; x%s',
		part_ft_head_lvl1   = string.format('%s <span class="text-rarity text-rarity-common">x%%s &rarr; x%%s</span>', iu.gear('helmet', 1)),
		part_ft_head_lvl2   = string.format('%s <span class="text-rarity text-rarity-rare">x%%s &rarr; x%%s</span>', iu.gear('helmet', 2)),
		part_ft_head_lvl3   = string.format('%s <span class="text-rarity text-rarity-epic">x%%s &rarr; x%%s</span>', iu.gear('helmet', 3)),
		part_body           = '胴',
		part_bodylegs       = '胴・脚',
		part_legs           = '脚 x%s',
		part_ft_legs        = '脚 x%s &rarr; x%s',
		ratio_shotgun1      = string.format('%s <span class="text-rarity text-rarity-common">x%%s</span>', iu.attachment('ショットガンボルト', 1)),
		ratio_shotgun2      = string.format('%s <span class="text-rarity text-rarity-rare">x%%s</span>', iu.attachment('ショットガンボルト', 2)),
		ratio_shotgun3      = string.format('%s <span class="text-rarity text-rarity-epic">x%%s</span>', iu.attachment('ショットガンボルト', 3)),
		ratio_ft_shotgun1           = string.format('%s <span class="text-rarity text-rarity-common">x%%s &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 1)),
		ratio_ft_shotgun1_firstonly = string.format('%s <span class="text-rarity text-rarity-common">x%%s &rarr; -</span>', iu.attachment('ショットガンボルト', 1)),
		ratio_ft_shotgun1_lastonly  = string.format('%s <span class="text-rarity text-rarity-common">- &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 1)),
		ratio_ft_shotgun2           = string.format('%s <span class="text-rarity text-rarity-rare">x%%s &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 2)),
		ratio_ft_shotgun2_firstonly = string.format('%s <span class="text-rarity text-rarity-rare">x%%s &rarr; -</span>', iu.attachment('ショットガンボルト', 2)),
		ratio_ft_shotgun2_lastonly  = string.format('%s <span class="text-rarity text-rarity-rare">- &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 2)),
		ratio_ft_shotgun3           = string.format('%s <span class="text-rarity text-rarity-epic">x%%s &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 3)),
		ratio_ft_shotgun3_firstonly = string.format('%s <span class="text-rarity text-rarity-epic">x%%s &rarr; -</span>', iu.attachment('ショットガンボルト', 3)),
		ratio_ft_shotgun3_lastonly  = string.format('%s <span class="text-rarity text-rarity-epic">- &rarr; x%%s</span>', iu.attachment('ショットガンボルト', 3)),
	},
}

return configuration