Explore ROM internal Lua formulas

1,812 formulas archived

CommonFun.calcBuff_2442

Lua
function CommonFun.calcBuff_2442(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Rate = 20
21 linesView Formula

CommonFun.calcBuff_2443

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

CommonFun.calcBuff_2444

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

CommonFun.calcBuff_2445

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

CommonFun.calcBuff_2450

Lua
function CommonFun.calcBuff_2450(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skill = srcUser:GetLernedSkillLevel(411_RUNE_KNIGHT:ACID_TERROR)
33 linesView Formula

CommonFun.calcBuff_2451

Lua
function CommonFun.calcBuff_2451(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skill = srcUser:GetLernedSkillLevel(411_RUNE_KNIGHT:ACID_TERROR)
30 linesView Formula

CommonFun.calcBuff_2460

Lua
function CommonFun.calcBuff_2460(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skill = srcUser:GetLernedSkillLevel(422_RUNE_KNIGHT:IMPROVED_ACID_DEMONSTRATION)
33 linesView Formula

CommonFun.calcBuff_2461

Lua
function CommonFun.calcBuff_2461(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skill = srcUser:GetLernedSkillLevel(422_RUNE_KNIGHT:IMPROVED_ACID_DEMONSTRATION)
30 linesView Formula

CommonFun.calcBuff_2470

Lua
function CommonFun.calcBuff_2470(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skill = srcUser:GetLernedSkillLevel(422_RUNE_KNIGHT:IMPROVED_ACID_DEMONSTRATION)
33 linesView Formula

CommonFun.calcBuff_2480

Lua
function CommonFun.calcBuff_2480(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skill = srcUser:GetLernedSkillLevel(217_KNIGHT:MELTDOWN)
22 linesView Formula

CommonFun.calcBuff_2481

Lua
function CommonFun.calcBuff_2481(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local pos = 1020708
7 linesView Formula

CommonFun.calcBuff_2490

Lua
function CommonFun.calcBuff_2490(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skill = srcUser:GetLernedSkillLevel(467_RUNEMASTER:ENHANCED_HIDING)
9 linesView Formula

CommonFun.calcBuff_2500

Lua
function CommonFun.calcBuff_2500(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skill = srcUser:GetLernedSkillLevel(481_RUNEMASTER:RAID)
9 linesView Formula

CommonFun.calcBuff_2510

Lua
function CommonFun.calcBuff_2510(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_2520

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

CommonFun.calcBuff_2530

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

CommonFun.calcBuff_2540

Lua
function CommonFun.calcBuff_2540(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skill = srcUser:GetLernedSkillLevel(198_KNIGHT:ENCHANT_DEADLY_POISON)
11 linesView Formula

CommonFun.calcBuff_2550

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

CommonFun.calcBuff_2560

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

CommonFun.calcBuff_2570

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