StarsWithSakura 星辉洒落处,飘落樱花瓣(alpha)


星辉洒落处,飘落樱花瓣 🌸 StarsWithSakura 🌸 这是一个中国人制作的大型模组 💻 This is a LARGE mod created by a Chinese developer. 💻

Content
22 hours ago
2.0
235
Transportation Logistics Trains Combat Armor Enemies Environment Mining Fluids Logistic network Circuit network Manufacturing Power Storage

b [incompatible]Compability issue

5 days ago

starswithsakura有自己的军事系统并且拥有自己的伤害算法,不需要再添加任何其他军事模组了
但是,我会试着修好它!天啊。有这么多虫子,BOOOOOOOOOOOM!
the starswithsakura have own military system and has its own damage algorithm. ,needn't add any more other military mods
But,I wil try to fix it!oh god!there is so many bugs,BOOOOOOOOOOOM!

5 days ago

Sry for making you do extra work >_>

5 days ago

mod在下一个大版本中会采用新的伤害计算公式,因此其他军事类模组都将不会兼容,即使成功兼容了也会因为各种原因导致其他模组的军事设施伤害出现问题!
Mod will adopt a new damage calculation formula in the next big version, so other military mods will not be compatible. Even if they are successfully compatible, there will be problems with the military facilities damage of other mods for various reasons!
以下是全新的算法:
The following is a brand-new algorithm:
local func = {
{
name = "减法公式",
func = function(attr)
return attr.A - attr.D
end
},
{
name = "乘法公式",
func = function(attr)
local Cx = 5 --可变常数
local ED = attr.D * Cx / (attr.P + Cx) / (1 + attr.PR) --有效防御
local BD = attr.A * Cx / (ED + Cx) --基础伤害
local ID = attr.DI * Cx / (attr.DD + Cx) --附增伤害
return (BD + ID) * (1 + attr.DIR) / (1 + attr.DDR) --最终伤害
end
},
{
name = "除法公式",
func = function(attr)
local ED = attr.D ^ 2 / (attr.D + attr.P + 1) / (1 + attr.PR) --有效防御
local BD = attr.A ^ 2 / (attr.A + ED + 1) --基础伤害
local ID = attr.DI ^ 2 / (attr.DI + attr.DD + 1) --附增伤害
return (BD + ID) * (1 + attr.DIR) / (1 + attr.DDR) --最终伤害
end
},
}

local attrlist = {
A = 1500, --攻击
D = 1800, --防御
DI = 0, --增伤
DIR = 0.5, --增伤比
DD = 0, --减伤
DDR = 1, --减免比
P = 0, --穿透
PR = 10, --穿透比
}

New response