Formula

CommonFun.CalcBodyParam2

formula.lua
1function CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
2  local bodyInc = 0
3  local bodyRed = 0
4  local srcShape = srcUser.shape
5  local targetShape = targetUser.shape
6  bodyInc = srcUser:GetProperty(CommonFun.ShapeProps[targetShape][1])
7  bodyRed = targetUser:GetProperty(CommonFun.ShapeProps[srcShape][2])
8  local result = 1 - bodyRed
9  if result <= 0.15 then
10    result = 0.15
11  end
12  return result
13end
Formula Graph

Connected Archive Data

See which cards, equipment, headwears, buffs, and other archived records connect to this formula.

Loading graph filters

CommonFun.CalcBodyParam2

commonfun-calcbodyparam

Nodes

0

Edges

0

Related Nodes

Select at least one node type.