Explore ROM internal Lua formulas

1,812 formulas archived

CommonFun.calcBuff_2280

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

CommonFun.calcBuff_2290

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

CommonFun.calcBuff_23

Lua
function CommonFun.calcBuff_23(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local BaseLv = targetUser.BaseLv
11 linesView Formula

CommonFun.calcBuff_2300

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

CommonFun.calcBuff_2310

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

CommonFun.calcBuff_2320

Lua
function CommonFun.calcBuff_2320(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(430_RUNE_KNIGHT:CHEMICAL_PROTECTION_ARMOR)
8 linesView Formula

CommonFun.calcBuff_2330

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

CommonFun.calcBuff_2340

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

CommonFun.calcBuff_2350

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

CommonFun.calcBuff_2360

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

CommonFun.calcBuff_2370

Lua
function CommonFun.calcBuff_2370(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(433_RUNE_KNIGHT:CHEMICAL_PROTECTION_HELM)
8 linesView Formula

CommonFun.calcBuff_2380

Lua
function CommonFun.calcBuff_2380(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(434_RUNE_KNIGHT:CHEMICAL_PROTECTION_SHIELD)
8 linesView Formula

CommonFun.calcBuff_2390

Lua
function CommonFun.calcBuff_2390(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(435_RUNE_KNIGHT:HOMUNCULUS_REPAIR)
9 linesView Formula

CommonFun.calcBuff_2400

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

CommonFun.calcBuff_2410

Lua
function CommonFun.calcBuff_2410(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(491_RUNEMASTER:STRIP_ACCESSORY)
130 linesView Formula

CommonFun.calcBuff_2420

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

CommonFun.calcBuff_2421

Lua
function CommonFun.calcBuff_2421(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local m = 0
11 linesView Formula

CommonFun.calcBuff_2430

Lua
function CommonFun.calcBuff_2430(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(494_RUNEMASTER:STRIP_SHIELD)
117 linesView Formula

CommonFun.calcBuff_2440

Lua
function CommonFun.calcBuff_2440(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Rate = 5
32 linesView Formula

CommonFun.calcBuff_2441

Lua
function CommonFun.calcBuff_2441(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Rate = 20
21 linesView Formula