Formula

CommonFun.CalcRaidDeadBossSummonLevel

formula.lua
1function CommonFun.CalcRaidDeadBossSummonLevel(raidtype, param)
2  local a = math.random(0, 100)
3  local boss_lv = 1
4  if raidtype == 5 then
5    if param == 1 then
6      return 0
7    elseif param == 2 then
8      boss_lv = 1
9    elseif param == 3 then
10      if a < 50 then
11        boss_lv = 2
12      else
13        boss_lv = 3
14      end
15    elseif param == 4 then
16      if a < 50 then
17        boss_lv = 4
18      else
19        boss_lv = 5
20      end
21    end
22  end
23  return boss_lv
24end
Formula Graph

Connected Archive Data

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

Loading graph filters

CommonFun.CalcRaidDeadBossSummonLevel

commonfun-calcraiddeadbosssummonlevel

Nodes

0

Edges

0

Related Nodes

Select at least one node type.