Formula

CommonFun.calcBuff_1601

formula.lua
1function CommonFun.calcBuff_1601(srcUser, targetUser, a, b, c, d, lv)
2  if srcUser == nil or targetUser == nil then
3    return 0
4  end
5  local SlowAtk = srcUser:GetProperty("SlowAtk")
6  local SlowDef2 = targetUser:GetProperty("SlowDef")
7  local SlowDam = 1 + SlowAtk - SlowDef2
8  if SlowDam <= 0 then
9    SlowDam = 0
10  end
11  local StateAtk = srcUser:GetProperty("StateAtk")
12  local StateDef2 = targetUser:GetProperty("StateDef")
13  local StateDam = 1 + StateAtk - StateDef2
14  if StateDam <= 0 then
15    StateDam = 0
16  end
17  local Num = srcUser:GetRunePoint(153022_AESIR_KIWI_ROOTSTOCK_TWINING_S_EFFECTIVE_TIME_1SECONDS)
18  local skilllv = srcUser:GetLernedSkillLevel(1613_BLADE_SOUL:KIWI_ROOTSTOCK_TWINING)
19  local A = (skilllv * a + b + Num) * SlowDam * StateDam * CommonFun.calcAttrSlowTime(srcUser, targetUser)
20  if A <= 0 then
21    return 0
22  end
23  return A
24end
Formula Graph

Connected Archive Data

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

Loading graph filters

CommonFun.calcBuff_1601

commonfun-calcbuff_160

Nodes

0

Edges

0

Related Nodes

Select at least one node type.