打开主菜单

少前百科GFwiki β

更改

模块:Gun info

添加116字节2023年5月11日 (四) 03:42
无编辑摘要
if i == 4 and gundata.max_rate then
local f = mw.getCurrentFrame()
gth:tag('span'):addClass('max-rate'):wikitext(f:expandTemplate{ title='popup', args={ ['内容']=string.format( '射速上限:%d(攻击间隔%d帧/%s秒)',
gundata.max_rate, r2fs(gundata.max_rate))
}})
end
if i == 4 and moddata and moddata.max_rate then
local f = mw.getCurrentFrame() gth:tag('span'):addClass('max-rate-mod'):wikitext( f:expandTemplate{title='popup', args={ ['内容']=string.format( '射速上限:%d(攻击间隔%d帧/%s秒)',
gundata.max_rate, r2fs(gundata.max_rate))
}