Explore ROM internal Lua formulas

1,812 formulas archived

CommonFun.calcBuff_1900

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

CommonFun.calcBuff_1901

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

CommonFun.calcBuff_1902

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

CommonFun.calcBuff_1903

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

CommonFun.calcBuff_1910

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

CommonFun.calcBuff_1920

Lua
function CommonFun.calcBuff_1920(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_1930

Lua
function CommonFun.calcBuff_1930(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local A = srcUser:GetBuffEndTime(115080)
7 linesView Formula

CommonFun.calcBuff_1940

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

CommonFun.calcBuff_1950

Lua
function CommonFun.calcBuff_1950(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetRunePoint(120030_AESIR_SLOW_PUNISHMENT_OF_STEEL_BODY_3)
8 linesView Formula

CommonFun.calcBuff_1960

Lua
function CommonFun.calcBuff_1960(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetRunePoint(120080_AESIR_AUTO_ATTACKS_HAVE_A_5_CHANCE_TO_RESTORE_25_SP)
8 linesView Formula

CommonFun.calcBuff_1970

Lua
function CommonFun.calcBuff_1970(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetRunePoint(120090_AESIR_CRITICAL_EXPLOSION_INCREASES_ATTACK_SPD_1)
8 linesView Formula

CommonFun.calcBuff_1980

Lua
function CommonFun.calcBuff_1980(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetRunePoint(120170_AESIR_EACH_SPIRIT_BOMB_PROVIDES_IGNORE_M_DEF_1)
8 linesView Formula

CommonFun.calcBuff_20

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

CommonFun.calcBuff_200

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

CommonFun.calcBuff_2000

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

CommonFun.calcBuff_201

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

CommonFun.calcBuff_2010

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

CommonFun.calcBuff_202

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

CommonFun.calcBuff_2020

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

CommonFun.calcBuff_203

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