Magnus Exorcismus
Lvl: 6 Attack Magic Skill Delay: 4 sec SP: 120 Range: 6 Cast Time: 8 Fixed Cast Time: 1

Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 1250% Holy M.Dmg; the skill takes effect 7 times, the damage takes effect every 1.5 seconds

Lvl: 5 Buff Skill Delay: 1.5 sec SP: 56 Cast Time: 2
• Summons 2 holy light beams that deals Atk * 100% M.Atk * 100% bonus holy damage that ignores Def when using melee attack. Effect lasts 60s.
Lvl: 4 Barrier SP: 10 Range: 6
• Becomes immune to ranged Atk. The barrier could take up to 10 times of attack for 12 sec. Could have 3 barriers at the same time
Lvl: 3 Attack Magic CD: 2.5 sec Skill Delay: 2.5 sec SP: 142 Range: 6 Cast Time: 5
• Use a powerful holy light that deals Holy Magic Damage equivalent to M.Atk * *2340% to a single enemy and inflicts 50% Splah Damage to surrounding enemies while also inflicting Darkness & Agility Down statuses for 10 sec. Costs 1 Blue Gemstone
Lvl: 2 Revive Skill Delay: 3 sec SP: 200 Range: 6 Cast Time: 6
• Summons the Tree of Life to ressurect all dead allies, restoring 70%% of their HP. Allies within Tree of Life’s range will have their Max HP temporarily increased by 20%%,Dmg received is reduced by 20% and they will recover 4% SP & HP every sec. Tree of Life lasts 7 sec.
Lvl: 1 Heal Skill Delay: 2 sec SP: 125 Range: 9 Cast Time: 3
• Restore HP of all allies nearby. The effect is 200% that of Heal (the effect quadruples during PvP and GvG).

Formula

function CommonFun.calcDamage_5103(srcUser, targetUser, params, damageParam, logger)
  local Int = srcUser:GetProperty("Int")
  local Vit = srcUser:GetProperty("Vit")
  local MAtk = srcUser:GetProperty("MAtk")
  local MAtkPer = srcUser:GetProperty("MAtkPer")
  local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
  local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
  if 1 <= IgnoreMDef then
    IgnoreMDef = 1
  end
  local MRefine = srcUser:GetProperty("MRefine")
  local enemy = srcUser:IsEnemy(targetUser)
  local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
  local targetDefElement = targetUser:GetProperty("DefAttr")
  local ElementRate = CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam)
  if srcAtkElement == 6 and targetDefElement == 7 then
    local GemValue = srcUser:GetGemValue(51022_HOLY_STAT_S_RESISTANCE_EFFECT_AGAINST_DARK_STAT_PERCENTAGE)
    ElementRate = ElementRate + GemValue / 100000
  end
  local MDef2 = targetUser:GetProperty("MDef")
  local MDefPer2 = targetUser:GetProperty("MDefPer")
  local Vit2 = targetUser:GetProperty("Vit")
  local VitPer2 = targetUser:GetProperty("VitPer")
  local Int2 = targetUser:GetProperty("Int")
  local IntPer2 = targetUser:GetProperty("IntPer")
  local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
  local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
  local race2 = targetUser.race
  if targetUser:HasBuffID(139410_TWO_FACE_DEMON_KING_HUMAN_:MAX_STACK_0) then
    race2 = 3
  end
  if srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and srcUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
  elseif srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
    race2 = 2
  end
  local DefAttr2 = targetUser:GetProperty("DefAttr")
  local AttrEffect = srcUser:GetProperty("AttrEffect2")
  local bits = CommonFun.getBits(AttrEffect)
  local damChangePer = damageParam.damChangePer
  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
  local BaseMAtk = Int + math.floor(Int * Int / 100)
  local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2
  local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
  local BaseLvDamage = 0
  local IBaseLv = srcUser.BaseLv
  if srcUser:HasBuffID(42110_FLUORESCENCE_:MAX_STACK_0) then
    BaseLvDamage = IBaseLv * 20
  end
  local Num1 = srcUser:GetRunePoint(52037_AESIR_SKILL_MULTIPLIER_OF_MAGNUS_EXORCISMUS_30)
  local RuneDamage = Num1 * 0.3
  local qumo = 1
  if bits[CommonFun.AttrEffect2.Shiziqumo] == 1 then
    qumo = 1.2
  end
  local weaponRefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
  if srcUser:HasBuffID(90001413_NEMESIS_R4_:MAX_STACK_0) then
    qumo = weaponRefineLv * 0.01 + qumo
  end
  if srcUser:HasBuffID(41980_O_NEILL_S_STAFF_:MAX_STACK_0) then
    qumo = weaponRefineLv * 0.01 + qumo
  end
  local weaponRefineLv2 = srcUser:GetEquipedRefineLv(1)
  if srcUser:HasBuffID(90001423_EXORCISM_BIBLE_R4_:MAX_STACK_0) then
    qumo = weaponRefineLv2 * 0.01 + qumo
  end
  local equipRing = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
  if equipRing.id == 42582 or equipRing.id == 142582 then
    qumo = equipRing.refinelv * 0.01 + qumo
  end
  local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
  if equipRingSD.id == 42582 or equipRingSD.id == 142582 then
    qumo = equipRingSD.refinelv * 0.01 * equipRingSD.quench_per / 100 + qumo
  end
  if srcUser:HasBuffID(90004454_O_NEILL_S_STAFF_1_T5_:MAX_STACK_0) then
    qumo = qumo + 0.1
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(160_KNIGHT:TURN_UNDEAD)
  local SkillPer = 0
  if 10 < skilllv_1 then
    SkillPer = (skilllv_1 - 10) * 0.1
  end
  local GemValue1 = srcUser:GetGemValue(51092_MAGNUS_EXORCISMUS_DMG_PERCENTAGE)
  local GemDam = 1 + GemValue1 / 100000
  local RangeDam = srcUser:GetProperty("RangeDam")
  local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (1 - RefineMDamReduc) * (damChangePer + RuneDamage + SkillPer) - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * (1 + MDamIncrease) * ElementRate * elementparam2 * qumo * GemDam * (1 + RangeDam) + BaseLvDamage
  if A <= 1 then
    return 1
  end
  local Num2 = srcUser:GetRunePoint(52030_AESIR_CAST_DELAY_OF_MAGNUS_EXORCISMUS_0_2_SECONDS_DEAL_25_SKILL_DAMAGE_TO_ALL_RACES)
  local GemValue = srcUser:GetGemValue(51091_DMG_DEALT_ON_ALL_NON_DESIGNATED_OTHER_RACES_FROM_MAGNUS_EXORCISMUS_PERCENTAGE)
  if race2 == 3 or DefAttr2 == 9 or race2 == 2 and srcUser:GetBuffActive(90003444) then
    return A
  elseif 0 < Num2 or 0 < GemValue then
    return A * (Num2 * 0.25 + GemValue / 100000)
  else
    return 0, 0
  end
end

Formula

{
  "id": 92000006,
  "Cost": 1,
  "Desc": [
    {
      "id": 159000,
      "params": [
        1250,
        7,
        1.5
      ]
    }
  ],
  "Icon": "skill_159001",
  "Camps": "Enemy",
  "Level": 20,
  "Logic": "SkillPointRange",
  "Damage": [
    {
      "type": 5103,
      "damChangePer": 12.5,
      "elementparam": 6
    }
  ],
  "DescId": "##170466",
  "NameZh": "##169647",
  "SE_hit": "Skill/StormGust_hit",
  "CastAct": "reading",
  "DamTime": {
    "type": 1,
    "value": 10
  },
  "DelayCD": 4,
  "Fire_EP": 3,
  "SE_cast": "Common/Magic_cast",
  "RollType": 2,
  "AttackAct": [
    "use_magic"
  ],
  "Attack_EP": 3,
  "Lead_Type": {
    "CCT": 1,
    "FCT": 8,
    "type": 2
  },
  "PeakLevel": 10,
  "SE_attack": "Skill/MagnusExorcismus",
  "SkillCost": {
    "sp": 120
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "Logic_Param": {
    "count": 7,
    "range": 3,
    "interval": 1.5,
    "no_select": 1,
    "range_num": 10,
    "isCountTrap": 1,
    "trap_effect": "MagnusExorcismus,LowRange_B2"
  },
  "Launch_Range": 6
}