Formula

CommonFun.Inhale

formula.lua
1function CommonFun.Inhale(srcUser, targetUser)
2  if srcUser == nil or targetUser == nil then
3    return 0
4  end
5  local A = 0
6  if targetUser:GetNpcID() == 0 then
7    local Num1 = targetUser:GetBuffLayer(100500_SPIRIT_BOMB_:MAX_STACK_0)
8    A = 7 * Num1
9  elseif targetUser:GetNpcID() ~= 0 then
10    if targetUser.boss or targetUser.mini then
11      return 0
12    elseif CommonFun.IsInRate(10, srcUser:GetRandom()) then
13      local BaseLv = targetUser.BaseLv
14      A = BaseLv * 2
15    end
16  end
17  return A
18end
Formula Graph

Connected Archive Data

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

Loading graph filters

CommonFun.Inhale

commonfun-inhale

Nodes

0

Edges

0

Related Nodes

Select at least one node type.