Explore ROM internal Lua formulas

1,812 formulas archived

CommonFun.calcBuff_3130

Lua
function CommonFun.calcBuff_3130(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(1161_THIEF:WHITE_IMPRISON)
12 linesView Formula

CommonFun.calcBuff_3140

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

CommonFun.calcBuff_3150

Lua
function CommonFun.calcBuff_3150(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local off1 = targetUser:IsEquipForceOff(1)
51 linesView Formula

CommonFun.calcBuff_3151

Lua
function CommonFun.calcBuff_3151(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local off2 = targetUser:IsEquipForceOff(2)
21 linesView Formula

CommonFun.calcBuff_3152

Lua
function CommonFun.calcBuff_3152(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local off2 = targetUser:IsEquipForceOff(2)
21 linesView Formula

CommonFun.calcBuff_3153

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

CommonFun.calcBuff_3160

Lua
function CommonFun.calcBuff_3160(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(1260_ASSASSIN:DRAGON_TRAINING)
12 linesView Formula

CommonFun.calcBuff_3170

Lua
function CommonFun.calcBuff_3170(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(1263_ASSASSIN:ENCHANT_BLADE)
11 linesView Formula

CommonFun.calcBuff_3180

Lua
function CommonFun.calcBuff_3180(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(1264_ASSASSIN:SINK_OR_SWIM)
12 linesView Formula

CommonFun.calcBuff_3181

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

CommonFun.calcBuff_3190

Lua
function CommonFun.calcBuff_3190(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(1269_ASSASSIN:RUNE_MASTERY)
13 linesView Formula

CommonFun.calcBuff_320

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

CommonFun.calcBuff_3200

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

CommonFun.calcBuff_321

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

CommonFun.calcBuff_3210

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

CommonFun.calcBuff_322

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

CommonFun.calcBuff_3220

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

CommonFun.calcBuff_3221

Lua
function CommonFun.calcBuff_3221(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num = srcUser:GetRunePoint(24050_AESIR_TARGETS_INSIDE_WHITE_IMPRISON_LOSES_2_OF_MAX_HP_EVERY_SECOND)
11 linesView Formula

CommonFun.calcBuff_3222

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

CommonFun.calcBuff_3223

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