玩家战斗力计算提交注释
parent
3e08e50ea5
commit
9cb8cd4b06
|
@ -33,6 +33,7 @@ local function CalculateWarForce2(powerVal)
|
||||||
end
|
end
|
||||||
elseif propertyConfig[i].Style == 2 then
|
elseif propertyConfig[i].Style == 2 then
|
||||||
-- 这里百分比数要转换成小数,用于计算战斗力
|
-- 这里百分比数要转换成小数,用于计算战斗力
|
||||||
|
--LogError("v====="..v.." propertyConfig[i].id=="..propertyConfig[i].Id)
|
||||||
HighPower = HighPower + v/100*propertyConfig[i].Score
|
HighPower = HighPower + v/100*propertyConfig[i].Score
|
||||||
end
|
end
|
||||||
elseif v > 0 and i == HeroProType.WarPower then
|
elseif v > 0 and i == HeroProType.WarPower then
|
||||||
|
|
Loading…
Reference in New Issue