Formula

CommonFun.calcBuff_3600

formula.lua
1function CommonFun.calcBuff_3600(srcUser, targetUser, a, b, c, d, lv)
2  if srcUser == nil or targetUser == nil then
3    return 0
4  end
5  local skilllv_1 = srcUser:GetLernedSkillLevel(103180_:PARALYZING_SHOCK)
6  local SlowAtk = srcUser:GetProperty("SlowAtk")
7  local SlowDef2 = targetUser:GetProperty("SlowDef")
8  local SlowDam = 1 + SlowAtk - SlowDef2
9  if SlowDam <= 0 then
10    SlowDam = 0
11  end
12  local StateAtk = srcUser:GetProperty("StateAtk")
13  local StateDef2 = targetUser:GetProperty("StateDef")
14  local StateDam = (1 + StateAtk) * (1 - StateDef2)
15  if StateDam <= 0 then
16    StateDam = 0
17  end
18  local A = (skilllv_1 * a + b) * SlowDam * StateDam * CommonFun.calcAttrSlowRate(srcUser, targetUser)
19  if A <= 0 then
20    return 0
21  end
22  return A
23end
Formula Graph

Connected Archive Data

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

Loading graph filters

CommonFun.calcBuff_3600

commonfun-calcbuff_3600

Nodes

0

Edges

0

Related Nodes

Select at least one node type.