Explore ROM internal Lua formulas

1,812 formulas archived

CommonFun.calcBuff_3520

Lua
function CommonFun.calcBuff_3520(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_3530

Lua
function CommonFun.calcBuff_3530(srcUser, targetUser, a, b, c, d, lv)
  local MaxHp = srcUser:GetProperty("MaxHp")
  local mapid, maptype = srcUser:GetMapInfo()
  if srcUser == nil or targetUser == nil then
    return 0
18 linesView Formula

CommonFun.calcBuff_3540

Lua
function CommonFun.calcBuff_3540(srcUser, targetUser, a, b, c, d, lv)
  local Str = srcUser:GetProperty("Str")
  local Dex = srcUser:GetProperty("Dex")
  local Luk = srcUser:GetProperty("Luk")
  local Atk = srcUser:GetProperty("Atk")
180 linesView Formula

CommonFun.calcBuff_3541

Lua
function CommonFun.calcBuff_3541(srcUser, targetUser, a, b, c, d, lv)
  local Str = srcUser:GetProperty("Str")
  local Dex = srcUser:GetProperty("Dex")
  local Luk = srcUser:GetProperty("Luk")
  local Atk = srcUser:GetProperty("Atk")
180 linesView Formula

CommonFun.calcBuff_3550

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

CommonFun.calcBuff_3560

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

CommonFun.calcBuff_3570

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

CommonFun.calcBuff_3580

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

CommonFun.calcBuff_3590

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

CommonFun.calcBuff_360

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

CommonFun.calcBuff_3600

Lua
function CommonFun.calcBuff_3600(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(103180_:PARALYZING_SHOCK)
23 linesView Formula

CommonFun.calcBuff_3610

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

CommonFun.calcBuff_3620

Lua
function CommonFun.calcBuff_3620(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(103680_:SHELTER)
11 linesView Formula

CommonFun.calcBuff_3630

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

CommonFun.calcBuff_3640

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

CommonFun.calcBuff_3650

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

CommonFun.calcBuff_3660

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

CommonFun.calcBuff_3670

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

CommonFun.calcBuff_3680

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

CommonFun.calcBuff_3690

Lua
function CommonFun.calcBuff_3690(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(1317_ASSASSIN:HP_CONVERSION)
13 linesView Formula