Maple by Flame
Lvl: 10 Attack Magic CD: 1 sec Skill Delay: 1 sec SP: 240 Range: 7 Cast Time: 3

Sara Alin summons flames to attack the locked target direction, dyeing the maple leaves of Payon red. The Fire dragon deals magical fire damage to all enemies *3600% on the path and, after a 0.5-second delay, deals magical fire damage *3600% to all enemies within a 4-meter radius of the locked target. Both attacks inflict the 【Fire Spell】 on enemies.

Lvl: 9 Attack Magic CD: 1 sec Skill Delay: 1 sec SP: 226 Range: 7 Cast Time: 3
• Sara Alin summons flames to attack the locked target direction, dyeing the maple leaves of Payon red. The Fire dragon deals magical fire damage to all enemies *3320% on the path and, after a 0.5-second delay, deals magical fire damage *3320% to all enemies within a 4-meter radius of the locked target. Both attacks inflict the 【Fire Spell】 on enemies.
Lvl: 8 Attack Magic CD: 1 sec Skill Delay: 1 sec SP: 212 Range: 7 Cast Time: 3
• Sara Alin summons flames to attack the locked target direction, dyeing the maple leaves of Payon red. The Fire dragon deals magical fire damage to all enemies *3040% on the path and, after a 0.5-second delay, deals magical fire damage *3040% to all enemies within a 4-meter radius of the locked target. Both attacks inflict the 【Fire Spell】 on enemies.
Lvl: 7 Attack Magic CD: 1 sec Skill Delay: 1 sec SP: 198 Range: 7 Cast Time: 3
• Sara Alin summons flames to attack the locked target direction, dyeing the maple leaves of Payon red. The Fire dragon deals magical fire damage to all enemies *2760% on the path and, after a 0.5-second delay, deals magical fire damage *2760% to all enemies within a 4-meter radius of the locked target. Both attacks inflict the 【Fire Spell】 on enemies.
Lvl: 6 Attack Magic CD: 1 sec Skill Delay: 1 sec SP: 184 Range: 7 Cast Time: 3
• Sara Alin summons flames to attack the locked target direction, dyeing the maple leaves of Payon red. The Fire dragon deals magical fire damage to all enemies *2480% on the path and, after a 0.5-second delay, deals magical fire damage *2480% to all enemies within a 4-meter radius of the locked target. Both attacks inflict the 【Fire Spell】 on enemies.
Lvl: 5 Attack Magic CD: 1 sec Skill Delay: 1 sec SP: 170 Range: 7 Cast Time: 3
• Sara Alin summons flames to attack the locked target direction, dyeing the maple leaves of Payon red. The Fire dragon deals magical fire damage to all enemies *2200% on the path and, after a 0.5-second delay, deals magical fire damage *2200% to all enemies within a 4-meter radius of the locked target. Both attacks inflict the 【Fire Spell】 on enemies.
Lvl: 4 Attack Magic CD: 1 sec Skill Delay: 1 sec SP: 156 Range: 7 Cast Time: 3
• Sara Alin summons flames to attack the locked target direction, dyeing the maple leaves of Payon red. The Fire dragon deals magical fire damage to all enemies *1920% on the path and, after a 0.5-second delay, deals magical fire damage *1920% to all enemies within a 4-meter radius of the locked target. Both attacks inflict the 【Fire Spell】 on enemies.
Lvl: 3 Attack Magic CD: 1 sec Skill Delay: 1 sec SP: 142 Range: 7 Cast Time: 3
• Sara Alin summons flames to attack the locked target direction, dyeing the maple leaves of Payon red. The Fire dragon deals magical fire damage to all enemies *1640% on the path and, after a 0.5-second delay, deals magical fire damage *1640% to all enemies within a 4-meter radius of the locked target. Both attacks inflict the 【Fire Spell】 on enemies.
Lvl: 2 Attack Magic CD: 1 sec Skill Delay: 1 sec SP: 128 Range: 7 Cast Time: 3
• Sara Alin summons flames to attack the locked target direction, dyeing the maple leaves of Payon red. The Fire dragon deals magical fire damage to all enemies *1360% on the path and, after a 0.5-second delay, deals magical fire damage *1360% to all enemies within a 4-meter radius of the locked target. Both attacks inflict the 【Fire Spell】 on enemies.
Lvl: 1 Attack Magic CD: 1 sec Skill Delay: 1 sec SP: 114 Range: 7 Cast Time: 3
• Sara Alin summons flames to attack the locked target direction, dyeing the maple leaves of Payon red. The Fire dragon deals magical fire damage to all enemies *1080% on the path and, after a 0.5-second delay, deals magical fire damage *1080% to all enemies within a 4-meter radius of the locked target. Both attacks inflict the 【Fire Spell】 on enemies.

Formula

function CommonFun.calcDamage_73501(srcUser, targetUser, params, damageParam, logger)
  local Luk = srcUser:GetProperty("Luk")
  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 RangeDam = srcUser:GetProperty("RangeDam")
  local MRefine = srcUser:GetProperty("MRefine")
  local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
  local targetDefElement = targetUser:GetProperty("DefAttr")
  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 bodyparam = 1
  local skilllv_tx = srcUser:GetLernedSkillLevel(2859_SAINT:HEAVENLY_JUSTICE)
  if 0 < skilllv_tx then
    bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
  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 damChangePer = damageParam.damChangePer
  local BaseMAtk = Int + math.floor(Int * Int / 100)
  local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2 * bodyparam
  local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
  local Hiding_ratio = 1
  local Hiding_1 = srcUser:GetProperty("Hiding")
  local Hiding_2 = targetUser:GetProperty("Hiding")
  local skilllv_yy = srcUser:GetLernedSkillLevel(2860_SAINT:STEALTH_TECHNIQUE)
  if Hiding_1 == 1 and Hiding_2 ~= 1 or Hiding_1 ~= 1 and Hiding_2 == 1 then
    Hiding_ratio = 1 + 0.05 * skilllv_yy
  end
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if skillID == 2853_SAINT:MAPLE_BY_FLAME or skillID == 2867_SAINT:FIRE_TORNADO_ASCEND or skillID == 2870_SAINT:FIRE_DRAGON or skillID == 2871_SAINT:FIRE_TORNADO_ASCEND then
    local skilllv_yl = srcUser:GetLernedSkillLevel(2853_SAINT:MAPLE_BY_FLAME)
    local GemValue = srcUser:GetGemValue(213111_MAPLE_BY_FLAME_DMG_PERCENTAGE)
    damChangePer = (8 + skilllv_yl * 2.8) * (1 + GemValue / 100000)
  end
  if skillID == 2868_SAINT:DARK_SHADOW_RING_2_3 then
    local skilllv_ay = srcUser:GetLernedSkillLevel(2854_SAINT:BUTTERFLY_RIPPLE)
    damChangePer = 8 + skilllv_ay * 2.8
  end
  local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * damChangePer * (1 - RefineMDamReduc) * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * (1 + RangeDam) * Hiding_ratio
  if A <= 1 then
    return 1
  end
  return A
end
True Flame

Enemy

{
  "id": 138850,
  "BuffDesc": "Receive fire attribute magic damage every second",
  "BuffIcon": "skillbuff_2858001_1",
  "BuffName": "Zhenyan【Fire Spell】+Fire Talisman",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "c": 138830,
      "type": 8660
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1,
    "npc_no_disperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "id": 2863001,
    "Odds": 100,
    "type": "UseSkill",
    "IsActive": 0
  },
  "BuffStateID": 138850
}
Residual Ash

Enemy

{
  "id": 138851,
  "BuffDesc": "Receive dark magic damage every second",
  "BuffIcon": "skillbuff_2858001_1",
  "BuffName": "Residual ash【Fire Spell】 + Dark Talisman",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "c": 138831,
      "type": 8660
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1,
    "npc_no_disperse": 1
  },
  "IconType": 1,
  "DelBuffID": [
    138853
  ],
  "BuffEffect": {
    "id": 2864001,
    "Odds": 100,
    "type": "UseSkill",
    "IsActive": 0
  },
  "BuffStateID": 138851
}
Heartburn

Enemy

{
  "id": 138852,
  "BuffDesc": "Receive Ghost magic damage every second.",
  "BuffIcon": "skillbuff_2858001_1",
  "BuffName": "Burn the heart【Fire Spell】+Ghost Talisman",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "c": 138832,
      "type": 8660
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1,
    "npc_no_disperse": 1
  },
  "IconType": 1,
  "DelBuffID": [
    138856
  ],
  "BuffEffect": {
    "id": 2865001,
    "Odds": 100,
    "type": "UseSkill",
    "IsActive": 0
  },
  "BuffStateID": 138852
}

Formula

{
  "CD": 1,
  "id": 2853010,
  "Buff": {
    "enemy": [
      138850,
      138851,
      138852
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2853000,
      "params": [
        3600,
        3600
      ]
    }
  ],
  "Icon": "skill_2853001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillTargetRect",
  "Damage": [
    {
      "type": 73501,
      "damChangePer": 36,
      "elementparam": 4
    }
  ],
  "DescId": "##3481472",
  "NameZh": "##3470113",
  "CastAct": "reading",
  "DamTime": {
    "type": 1,
    "value": 2
  },
  "DelayCD": 1,
  "Fire_EP": 6,
  "PointAct": "attack_wait",
  "Pvp_buff": {
    "enemy": [
      138850,
      138851,
      138852
    ]
  },
  "RollType": 2,
  "AttackAct": [
    "use_skill2"
  ],
  "Attack_EP": 2,
  "Lead_Type": {
    "CCT": 0,
    "FCT": 3,
    "type": 2
  },
  "SE_attack": "Skill/sfx_skill_shalaailin_firemaple_attack_01",
  "SkillCost": {
    "sp": 240
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 2,
  "Logic_Param": {
    "width": 3,
    "distance": 8,
    "no_select": 1,
    "range_num": 10,
    "forward_offset": 0,
    "lock_end_skill": [
      2867001,
      0.5
    ],
    "isSpecialInterruptSkill": 1
  },
  "Launch_Range": 7
}