Skip to content

Commit

Permalink
Merge pull request #45 from kiccer/test
Browse files Browse the repository at this point in the history
所有枪械配置项增加 radio (比例/系数),可以根据该值微调单一枪械下压幅度
  • Loading branch information
kiccer authored Aug 10, 2019
2 parents a21ef00 + ef8d886 commit 21d1e79
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Soldier76.lua
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ end
pubg["M16A4"] = function ()

return pubg.execOptions({
ratio = 1,
interval = 108,
ballistic = {
{1, 0},
Expand All @@ -295,6 +296,7 @@ end
pubg["SCAR-L"] = function ()

return pubg.execOptions({
ratio = 1,
interval = 102,
ballistic = {
{1, 0},
Expand All @@ -315,6 +317,7 @@ end
pubg["Beryl M762"] = function ()

return pubg.execOptions({
ratio = 1,
interval = 93,
ballistic = {
{1, 0},
Expand All @@ -336,6 +339,7 @@ end
pubg["Tommy Gun"] = function ()

return pubg.execOptions({
ratio = 1,
interval = 94,
ballistic = {
{1, 0},
Expand All @@ -351,6 +355,7 @@ end
pubg["G36C"] = function ()

return pubg.execOptions({
ratio = 1,
interval = 91,
ballistic = {
{1, 0},
Expand All @@ -368,6 +373,7 @@ end
pubg["Vector"] = function ()

return pubg.execOptions({
ratio = 1,
interval = 61,
ballistic = {
{1, 0},
Expand All @@ -383,6 +389,7 @@ end
pubg["Micro UZI"] = function ()

return pubg.execOptions({
ratio = 1,
interval = 56,
ballistic = {
{1, 0},
Expand All @@ -400,6 +407,7 @@ end
pubg["UMP45"] = function ()

return pubg.execOptions({
ratio = 1,
interval = 100,
ballistic = {
{1, 0},
Expand All @@ -415,6 +423,7 @@ end
pubg["AKM"] = function ()

return pubg.execOptions({
ratio = 1,
interval = 107,
ballistic = {
{1, 0},
Expand All @@ -431,6 +440,7 @@ end
pubg["M416"] = function ()

return pubg.execOptions({
ratio = 1,
interval = 93,
ballistic = {
{1, 0},
Expand All @@ -449,6 +459,7 @@ end
pubg["QBZ"] = function ()

return pubg.execOptions({
ratio = 1,
interval = 99,
ballistic = {
{1, 0},
Expand All @@ -467,6 +478,7 @@ end
pubg["DP-28"] = function ()

return pubg.execOptions({
ratio = 1,
interval = 116,
ballistic = {
{1, 0},
Expand Down Expand Up @@ -515,7 +527,7 @@ function pubg.execOptions (options)
end
for j = 1, nextCount do
ballisticConfig1[ballisticIndex] =
options.ballistic[i][2] * pubg.generalSensitivityRatio
options.ballistic[i][2] * pubg.generalSensitivityRatio * options.ratio
ballisticIndex = ballisticIndex + 1
end
end
Expand Down

0 comments on commit 21d1e79

Please sign in to comment.