Formula

CommonFun.calcBuff_3660

formula.lua
1function CommonFun.calcBuff_3660(srcUser, targetUser, a, b, c, d, lv)
2  if srcUser == nil or targetUser == nil then
3    return 0
4  end
5  local Def = srcUser:GetProperty("Def")
6  local DefPer = srcUser:GetProperty("DefPer")
7  local skilllv_1 = srcUser:GetLernedSkillLevel(1181_THIEF:SHIELD_OF_DEFENSE)
8  local A = math.floor(Def * (1 + DefPer) * (skilllv_1 - 10) * 0.2 / 12)
9  if A <= 0 then
10    return 0
11  end
12  return A
13end
Formula Graph

Connected Archive Data

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

Loading graph filters

CommonFun.calcBuff_3660

commonfun-calcbuff_3660

Nodes

0

Edges

0

Related Nodes

Select at least one node type.