Formula

CommonFun.StealMoney

formula.lua
1function CommonFun.StealMoney(srcUser, targetUser)
2  local skilllv_1 = srcUser:GetLernedSkillLevel(474_RUNEMASTER:SNATCH)
3  local skilllv_2 = srcUser:GetLernedSkillLevel(473_RUNEMASTER:SNATCHER)
4  local Dex = srcUser:GetProperty("Dex")
5  local Luk = srcUser:GetProperty("Luk")
6  local Rate = math.min(20, (Dex + Luk) / 10)
7  local RateSum = Rate + 5
8  local A = skilllv_1 * 0.05 + skilllv_2 * 0.02
9  if CommonFun.IsInRate(RateSum, srcUser:GetRandom()) then
10    return A
11  end
12  return 0
13end
Formula Graph

Connected Archive Data

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

Loading graph filters

CommonFun.StealMoney

commonfun-stealmoney

Nodes

0

Edges

0

Related Nodes

Select at least one node type.