Explore ROM internal Lua formulas

1,812 formulas archived

CommonFun.calcBuff_2730

Lua
function CommonFun.calcBuff_2730(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ring = srcUser:GetEquipedID(7_WEAPON)
16 linesView Formula

CommonFun.calcBuff_2740

Lua
function CommonFun.calcBuff_2740(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ring = srcUser:GetEquipedID(7_WEAPON)
12 linesView Formula

CommonFun.calcBuff_2750

Lua
function CommonFun.calcBuff_2750(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ring = srcUser:GetEquipedID(7_WEAPON)
12 linesView Formula

CommonFun.calcBuff_2760

Lua
function CommonFun.calcBuff_2760(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ring = srcUser:GetEquipedID(7_WEAPON)
12 linesView Formula

CommonFun.calcBuff_2770

Lua
function CommonFun.calcBuff_2770(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ring = srcUser:GetEquipedID(2)
18 linesView Formula

CommonFun.calcBuff_2780

Lua
function CommonFun.calcBuff_2780(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ring = srcUser:GetEquipedID(7_WEAPON)
12 linesView Formula

CommonFun.calcBuff_2790

Lua
function CommonFun.calcBuff_2790(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ring = srcUser:GetEquipedID(7_WEAPON)
12 linesView Formula

CommonFun.calcBuff_2800

Lua
function CommonFun.calcBuff_2800(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ring = srcUser:GetEquipedID(7_WEAPON)
12 linesView Formula

CommonFun.calcBuff_2810

Lua
function CommonFun.calcBuff_2810(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local A = 30
14 linesView Formula

CommonFun.calcBuff_2820

Lua
function CommonFun.calcBuff_2820(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ring = srcUser:GetEquipedID(1)
18 linesView Formula

CommonFun.calcBuff_2830

Lua
function CommonFun.calcBuff_2830(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ring = srcUser:GetEquipedID(2)
16 linesView Formula

CommonFun.calcBuff_2840

Lua
function CommonFun.calcBuff_2840(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ring = srcUser:GetEquipedID(7_WEAPON)
16 linesView Formula

CommonFun.calcBuff_2850

Lua
function CommonFun.calcBuff_2850(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ring = srcUser:GetEquipedID(3)
12 linesView Formula

CommonFun.calcBuff_2860

Lua
function CommonFun.calcBuff_2860(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ring = srcUser:GetEquipedID(3)
12 linesView Formula

CommonFun.calcBuff_2870

Lua
function CommonFun.calcBuff_2870(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(210_KNIGHT:ADRENALINE_RUSH)
11 linesView Formula

CommonFun.calcBuff_2880

Lua
function CommonFun.calcBuff_2880(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(354_RUNE_KNIGHT:HOLY_CROSS)
11 linesView Formula

CommonFun.calcBuff_2890

Lua
function CommonFun.calcBuff_2890(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(174_KNIGHT:VENOM_KNIFE)
11 linesView Formula

CommonFun.calcBuff_2900

Lua
function CommonFun.calcBuff_2900(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxHp = srcUser:GetProperty("MaxHp")
12 linesView Formula

CommonFun.calcBuff_2910

Lua
function CommonFun.calcBuff_2910(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxHp = targetUser:GetProperty("MaxHp")
9 linesView Formula

CommonFun.calcBuff_2920

Lua
function CommonFun.calcBuff_2920(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetBuffLayer(31561_HAPPY_UNICORN_:MAX_STACK_10)
15 linesView Formula