익명
×
새 문서 만들기
여기에 문서 제목을 쓰세요:
We currently have 914 articles on 루리위키. Type your article name above or click on one of the titles below and start writing!



914Articles

모듈:궤적시리즈/하늘의 궤적/퀵배틀 공격표

4767561 (토론 | 기여)님의 2025년 12월 15일 (월) 01:19 판

예시

기술명 위력 데미지 배율 히트 수 차지 게이지 회복량 스턴 넉백
연속공격 1 100 24%(12%) 1 20 100% -
연속공격 2 110 12%(6%) 2 20 110% -
연속공격 3 120 8%(4%) 3 15 120% -
점프공격 130 12%(6%) 2 - 120% -
크래프트공격 140 7% 5 - 600%

설명

하늘의 궤적1st 퀵배틀 전용 공격 데이터 표입니다.
이하는 입력 예시입니다. 상단의 출력을 참고해 작성 바랍니다.

{{#invoke:궤적시리즈/하늘의 궤적/퀵배틀 공격표|table
|row1 = 연속공격 1, 100, 24%(12%), 1, 20, 100%, -
|row2 = 연속공격 2, 110, 12%(6%), 2, 20, 110%, -
|row3 = 연속공격 3, 120, 8%(4%), 3, 15, 120%, -
|row4 = 점프공격, 130, 12%(6%), 2, -, 120%, -
|row5 = 크래프트공격, 140, 7%, 5, -, 600%, ○
}}

local p = {}

local headers = {
	"기술명",
	"위력",
	"데미지 배율",
	"히트 수",
	"차지 게이지 회복량",
	"스턴",
	"넉백"
}

local function splitRow(row)
	local t = {}
	for v in mw.text.gsplit(row, "%s*,%s*") do
		t[#t+1] = v
	end
	return t
end

function p.table(frame)
	local args = frame.args
	local html = '{| class="wikitable" style="text-align:center; width:100%"\n'

	-- header
	html = html .. '! ' .. table.concat(headers, ' !! ') .. '\n'

	local i = 1
	while args['row' .. i] do
		local cols = splitRow(args['row' .. i])
		html = html .. '|-\n'
		html = html .. '| ' .. table.concat(cols, ' || ') .. '\n'
		i = i + 1
	end

	html = html .. '|}'
	return html
end

return p