Formula

CommonFun.calcBuff_2420

formula.lua
1function CommonFun.calcBuff_2420(srcUser, targetUser, a, b, c, d, lv)
2  if srcUser == nil or targetUser == nil then
3    return 0
4  end
5  local n, m = 0, 0
6  if targetUser:GetNpcID() == 0 then
7    n = 1
8  end
9  if targetUser:GetNpcID() ~= 0 and targetUser.boss == false and targetUser.mini == false then
10    m = 1
11  end
12  local A = a * n + b * m
13  return A
14end
Formula Graph

Connected Archive Data

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

Loading graph filters

CommonFun.calcBuff_2420

commonfun-calcbuff_2420

Nodes

0

Edges

0

Related Nodes

Select at least one node type.