Explore ROM internal Lua formulas

1,812 formulas archived

CommonFun.calcBuff_152

Lua
function CommonFun.calcBuff_152(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetRunePoint(32005_AESIR_POISON_DEALT_BY_VENOM_DART_HAS_A_10_TO_MAKE_HEALING_SKILLS_AND_RECOVERY_ITEMS_INVALID)
12 linesView Formula

CommonFun.calcBuff_153

Lua
function CommonFun.calcBuff_153(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetRunePoint(31026_AESIR_MIN_HP_LOST_PERCENTAGE_DEALT_BY_POISON_5)
13 linesView Formula

CommonFun.calcBuff_154

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

CommonFun.calcBuff_160

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

CommonFun.calcBuff_1600

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

CommonFun.calcBuff_1601

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

CommonFun.calcBuff_170

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

CommonFun.calcBuff_1700

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

CommonFun.calcBuff_1701

Lua
function CommonFun.calcBuff_1701(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetRunePoint(94030_AESIR_MANHOLE_COOLDOWN_2_SEC)
11 linesView Formula

CommonFun.calcBuff_171

Lua
function CommonFun.calcBuff_171(srcUser, targetUser, a, b, c, d, lv)
  local A = 0
  local Num1 = srcUser:GetRunePoint(94030_AESIR_MANHOLE_COOLDOWN_2_SEC)
  if 0 < Num1 then
    A = 100
11 linesView Formula

CommonFun.calcBuff_180

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

CommonFun.calcBuff_1800

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

CommonFun.calcBuff_185

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

CommonFun.calcBuff_1850

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

CommonFun.calcBuff_186

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

CommonFun.calcBuff_1860

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

CommonFun.calcBuff_187

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

CommonFun.calcBuff_1870

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

CommonFun.calcBuff_188

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

CommonFun.calcBuff_190

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