Genshin Impact Вики
Genshin Impact Вики
1642
страницы

Для документации этого модуля может быть создана страница Модуль:WeaponScaling/DataATK/doc

--Declare all arrays that hold the scaled Base ATK values before(20b) and after(20a) ascension
local tBaseATK49 = {
    ["1b"]="49";
    ["20b"]="145";
    ["20a"]="176";
    ["40b"]="286";
    ["40a"]="317";
    ["50b"]="374";
    ["50a"]="406";
    ["60b"]="464";
    ["60a"]="495";
    ["70b"]="555";
    ["70a"]="586";
    ["80b"]="648";
    ["80a"]="679";
    ["90b"]="741";
};
local tBaseATK48 = {
    ["1b"]="48";
    ["20b"]="133";
    ["20a"]="164";
    ["40b"]="261";
    ["40a"]="292";
    ["50b"]="341";
    ["50a"]="373";
    ["60b"]="423";
    ["60a"]="455";
    ["70b"]="506";
    ["70a"]="537";
    ["80b"]="590";
    ["80a"]="621";
    ["90b"]="674";
};
local tBaseATK46 = {
    ["1b"]="46";
    ["20b"]="122";
    ["20a"]="153";
    ["40b"]="235";
    ["40a"]="266";
    ["50b"]="308";
    ["50a"]="340";
    ["60b"]="382";
    ["60a"]="414";
    ["70b"]="457";
    ["70a"]="488";
    ["80b"]="532";
    ["80a"]="563";
    ["90b"]="608";
};
local tBaseATK44b = {
    ["1b"]="44";
    ["20b"]="110";
    ["20a"]="141";
    ["40b"]="210";
    ["40a"]="241";
    ["50b"]="275";
    ["50a"]="307";
    ["60b"]="341";
    ["60a"]="373";
    ["70b"]="408";
    ["70a"]="439";
    ["80b"]="475";
    ["80a"]="506";
    ["90b"]="542";
};
local tBaseATK45 = {
    ["1b"]="45";
    ["20b"]="128";
    ["20a"]="154";
    ["40b"]="247";
    ["40a"]="273";
    ["50b"]="321";
    ["50a"]="347";
    ["60b"]="395";
    ["60a"]="421";
    ["70b"]="470";
    ["70a"]="496";
    ["80b"]="545";
    ["80a"]="571";
    ["90b"]="620";
};
local tBaseATK44 = {
    ["1b"]="44";
    ["20b"]="119";
    ["20a"]="144";
    ["40b"]="226";
    ["40a"]="252";
    ["50b"]="293";
    ["50a"]="319";
    ["60b"]="361";
    ["60a"]="387";
    ["70b"]="429";
    ["70a"]="455";
    ["80b"]="497";
    ["80a"]="523";
    ["90b"]="565";
};
local tBaseATK42 = {
    ["1b"]="42";
    ["20b"]="109";
    ["20a"]="135";
    ["40b"]="205";
    ["40a"]="231";
    ["50b"]="266";
    ["50a"]="292";
    ["60b"]="327";
    ["60a"]="353";
    ["70b"]="388";
    ["70a"]="414";
    ["80b"]="449";
    ["80a"]="475";
    ["90b"]="510";
};
local tBaseATK41 = {
    ["1b"]="41";
    ["20b"]="99";
    ["20a"]="125";
    ["40b"]="184";
    ["40a"]="210";
    ["50b"]="238";
    ["50a"]="264";
    ["60b"]="293";
    ["60a"]="319";
    ["70b"]="347";
    ["70a"]="373";
    ["80b"]="401";
    ["80a"]="427";
    ["90b"]="454";
};
local tBaseATK40 = {
    ["1b"]="40";
    ["20b"]="102";
    ["20a"]="121";
    ["40b"]="187";
    ["40a"]="207";
    ["50b"]="239";
    ["50a"]="259";
    ["60b"]="292";
    ["60a"]="311";
    ["70b"]="344";
    ["70a"]="363";
    ["80b"]="396";
    ["80a"]="415";
    ["90b"]="448";
};
local tBaseATK39b = {
    ["1b"]="39";
    ["20b"]="94";
    ["20a"]="120";
    ["40b"]="176";
    ["40a"]="202";
    ["50b"]="229";
    ["50a"]="255";
    ["60b"]="282";
    ["60a"]="308";
    ["70b"]="335";
    ["70a"]="361";
    ["80b"]="388";
    ["80a"]="414";
    ["90b"]="440";
};
local tBaseATK39 = {
    ["1b"]="39";
    ["20b"]="94";
    ["20a"]="113";
    ["40b"]="169";
    ["40a"]="189";
    ["50b"]="216";
    ["50a"]="236";
    ["60b"]="263";
    ["60a"]="282";
    ["70b"]="309";
    ["70a"]="329";
    ["80b"]="355";
    ["80a"]="375";
    ["90b"]="401";
};
local tBaseATK38 = {
    ["1b"]="38";
    ["20b"]="86";
    ["20a"]="105";
    ["40b"]="151";
    ["40a"]="171";
    ["50b"]="193";
    ["50a"]="212";
    ["60b"]="234";
    ["60a"]="253";
    ["70b"]="274";
    ["70a"]="294";
    ["80b"]="314";
    ["80a"]="334";
    ["90b"]="354";
};
local tBaseATK33 = {
    ["1b"]="33";
    ["20b"]="80";
    ["20a"]="91";
    ["40b"]="139";
    ["40a"]="151";
    ["50b"]="174";
    ["50a"]="186";
    ["60b"]="209";
    ["60a"]="220";
    ["70b"]="243";
    ["70a"]="";
    ["80b"]="";
    ["80a"]="";
    ["90b"]="";
};
local tBaseATK23 = {
    ["1b"]="23";
    ["20b"]="56";
    ["20a"]="68";
    ["40b"]="102";
    ["40a"]="113";
    ["50b"]="130";
    ["50a"]="141";
    ["60b"]="158";
    ["60a"]="169";
    ["70b"]="185";
    ["70a"]="";
    ["80b"]="";
    ["80a"]="";
    ["90b"]="";
};
--Sample BaseATK array
local tBaseATK = {
    ["1b"]="Unknown";
    ["20b"]="Unknown";
    ["20a"]="Unknown";
    ["40b"]="Unknown";
    ["40a"]="Unknown";
    ["50b"]="Unknown";
    ["50a"]="Unknown";
    ["60b"]="Unknown";
    ["60a"]="Unknown";
    ["70b"]="Unknown";
    ["70a"]="Unknown";
    ["80b"]="Unknown";
    ["80a"]="Unknown";
    ["90b"]="Unknown";
};
--Throw all the BaseATK arrays into house array to call later
houseAtk = {
	["49"]=tBaseATK49;
    ["48"]=tBaseATK48;
    ["46"]=tBaseATK46;
    ["44b"]=tBaseATK44b;
    ["45"]=tBaseATK45;
    ["44"]=tBaseATK44;
    ["42"]=tBaseATK42;
    ["41"]=tBaseATK41;
    ["40"]=tBaseATK40;
    ["39b"]=tBaseATK39b;
    ["39"]=tBaseATK39;
    ["38"]=tBaseATK38;
    ["33"]=tBaseATK33;
    ["23"]=tBaseATK23;
};

return houseAtk