Explore ROM internal Lua formulas

1,812 formulas archived

CommonFun.calcBuff_3800

Lua
function CommonFun.calcBuff_3800(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num = srcUser:GetRunePoint(123030_AESIR_EACH_50_ATK_PROVIDES_0_2_DEF)
10 linesView Formula

CommonFun.calcBuff_3810

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

CommonFun.calcBuff_3820

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

CommonFun.calcBuff_3830

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

CommonFun.calcBuff_3840

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

CommonFun.calcBuff_3850

Lua
function CommonFun.calcBuff_3850(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ensemble = srcUser:GetEnsemblePartner()
34 linesView Formula

CommonFun.calcBuff_3860

Lua
function CommonFun.calcBuff_3860(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ensemble = srcUser:GetEnsemblePartner()
37 linesView Formula

CommonFun.calcBuff_3870

Lua
function CommonFun.calcBuff_3870(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ensemble = srcUser:GetEnsemblePartner()
37 linesView Formula

CommonFun.calcBuff_3871

Lua
function CommonFun.calcBuff_3871(srcUser, targetUser, a, b, c, d, lv)
  local A = lv * a + b
  local Ensemble = srcUser:GetEnsemblePartner()
  if Ensemble == nil then
    A = A / 2
8 linesView Formula

CommonFun.calcBuff_3880

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

CommonFun.calcBuff_3890

Lua
function CommonFun.calcBuff_3890(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_39

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

CommonFun.calcBuff_390

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

CommonFun.calcBuff_3900

Lua
function CommonFun.calcBuff_3900(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local HpPerRatio = 1
13 linesView Formula

CommonFun.calcBuff_40

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

CommonFun.calcBuff_400

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

CommonFun.calcBuff_4000

Lua
function CommonFun.calcBuff_4000(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local RefineLv = srcUser:GetEquipedRefineLv(4)
11 linesView Formula

CommonFun.calcBuff_401

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

CommonFun.calcBuff_4010

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

CommonFun.calcBuff_4020

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