Explore ROM internal Lua formulas

1,812 formulas archived

CommonFun.calcBuff_113

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

CommonFun.calcBuff_114

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

CommonFun.calcBuff_115

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

CommonFun.calcBuff_120

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

CommonFun.calcBuff_1200

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

CommonFun.calcBuff_130

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

CommonFun.calcBuff_1300

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

CommonFun.calcBuff_1301

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

CommonFun.calcBuff_1302

Lua
function CommonFun.calcBuff_1302(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_131

Lua
function CommonFun.calcBuff_131(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(235_LORD_KNIGHT:HOLY_BOOSTER)
29 linesView Formula

CommonFun.calcBuff_132

Lua
function CommonFun.calcBuff_132(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(123_KNIGHT:STUN)
26 linesView Formula

CommonFun.calcBuff_1320

Lua
function CommonFun.calcBuff_1320(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(123_KNIGHT:STUN)
26 linesView Formula

CommonFun.calcBuff_133

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

CommonFun.calcBuff_140

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

CommonFun.calcBuff_1400

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

CommonFun.calcBuff_141

Lua
function CommonFun.calcBuff_141(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(88_SWORDSMAN:ALIGHT)
27 linesView Formula

CommonFun.calcBuff_142

Lua
function CommonFun.calcBuff_142(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(2053_RANGER:BURNING_PRISON)
28 linesView Formula

CommonFun.calcBuff_150

Lua
function CommonFun.calcBuff_150(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_1500

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

CommonFun.calcBuff_151

Lua
function CommonFun.calcBuff_151(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(191_KNIGHT:ENHANCED_ENCHANT_POISON)
23 linesView Formula