Explore ROM internal Lua formulas

1,812 formulas archived

CommonFun.calcBuff_2930

Lua
function CommonFun.calcBuff_2930(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(234_LORD_KNIGHT:DEMON_BANE)
12 linesView Formula

CommonFun.calcBuff_2940

Lua
function CommonFun.calcBuff_2940(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_2950

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

CommonFun.calcBuff_2960

Lua
function CommonFun.calcBuff_2960(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_2970

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

CommonFun.calcBuff_300

Lua
function CommonFun.calcBuff_300(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetRunePoint(51002_AESIR_HEAL_APPLIES_LASTING_HEALING_STATUS_ON_THE_TARGET_VALID_TO_SELF_SO_IT_GAINS_HP_EQUAL_TO_10_HEALING_DONE_EVERY_3_SEC_LASTS_7_SEC)
17 linesView Formula

CommonFun.calcBuff_3000

Lua
function CommonFun.calcBuff_3000(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Skilllv = srcUser:GetLernedSkillLevel(103130_:FURIOUS)
17 linesView Formula

CommonFun.calcBuff_301

Lua
function CommonFun.calcBuff_301(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetRunePoint(51003_AESIR_HEALING_DONE_BY_LASTING_HEALING_5)
15 linesView Formula

CommonFun.calcBuff_3010

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

CommonFun.calcBuff_302

Lua
function CommonFun.calcBuff_302(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetRunePoint(51002_AESIR_HEAL_APPLIES_LASTING_HEALING_STATUS_ON_THE_TARGET_VALID_TO_SELF_SO_IT_GAINS_HP_EQUAL_TO_10_HEALING_DONE_EVERY_3_SEC_LASTS_7_SEC)
14 linesView Formula

CommonFun.calcBuff_3020

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

CommonFun.calcBuff_3021

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

CommonFun.calcBuff_3030

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

CommonFun.calcBuff_3040

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

CommonFun.calcBuff_3050

Lua
function CommonFun.calcBuff_3050(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(1140_ARCANE_MASTER:BLOOD_THIRST)
12 linesView Formula

CommonFun.calcBuff_3051

Lua
function CommonFun.calcBuff_3051(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num = srcUser:GetRunePoint(94010_AESIR_10_MOVE_SPD_OF_TARGETS_WITHIN_BLOOD_THIRST_S_AREA_OF_EFFECT_THIS_EFFECT_GROWS_MORE_POWERFUL_AS_THE_TARGET_S_HP_PERCENTAGE_DROPS)
16 linesView Formula

CommonFun.calcBuff_3060

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

CommonFun.calcBuff_3061

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

CommonFun.calcBuff_3069

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

CommonFun.calcBuff_3070

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