Formula Source
function CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger) local bodyInc = 0 local bodyRed = 0 local srcShape = srcUser.shape local targetShape = targetUser.shape bodyInc = srcUser:GetProperty(CommonFun.ShapeProps[targetShape][1]) bodyRed = targetUser:GetProperty(CommonFun.ShapeProps[srcShape][2]) local result = 1 - bodyRed if result <= 0.15 then result = 0.15 end return result end
No formula links