SkillMental Charm
Mental Charm
Lvl: 10
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.5
Deals 500% Neutral Element Magic Damage to the target
Lvl: 1
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.5
Deals 220% Neutral Element Magic Damage to the target

Lvl: 2
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.5
Deals 250% Neutral Element Magic Damage to the target

Lvl: 3
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.5
Deals 280% Neutral Element Magic Damage to the target

Lvl: 4
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.5
Deals 310% Neutral Element Magic Damage to the target

Lvl: 5
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.5
Deals 340% Neutral Element Magic Damage to the target

Lvl: 6
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.5
Deals 370% Neutral Element Magic Damage to the target

Lvl: 7
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.5
Deals 400% Neutral Element Magic Damage to the target

Lvl: 8
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.5
Deals 460% Neutral Element Magic Damage to the target

Lvl: 9
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.5
Deals 460% Neutral Element Magic Damage to the target

Lvl: 10
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.5
Deals 500% Neutral Element Magic Damage to the target

Formula
function CommonFun.calcDamage_31(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 srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, 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 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 damChangePer1 = damageParam.damChangePer1
  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 Num1 = srcUser:GetRunePoint(22160_AESIR_INCREASES_THE_DAMAGE_OF_FIRE_BOLT_COLD_BOLT_LIGHTNING_BOLT_AND_CHRONOLOGY_BOLT_BY_10)
  local Num2 = srcUser:GetRunePoint(22161_AESIR_INCREASES_THE_DAMAGE_OF_FIRE_BOLT_COLD_BOLT_LIGHTNING_BOLT_AND_CHRONOLOGY_BOLT_BY_10)
  local RuneDamage = (Num1 + Num2) * 0.1 + 1
  local taozhuang1 = 1
  if srcUser:HasBuffID(91000470_SAGE_S_BOOK_TELEKINETIC_ORB_:MAX_STACK_0) or srcUser:HasBuffID(91000770_SAGE_S_HANDBOOK_TELEKINETIC_ORB_:MAX_STACK_0) or srcUser:HasBuffID(91001490_SAGE_S_BOOK_CONTRACT_JEWELERY_:MAX_STACK_0) or srcUser:HasBuffID(91001500_SAGE_S_HANDBOOK_CONTRACT_JEWELERY_:MAX_STACK_0) then
    taozhuang1 = 1.15
  end
  local Ring1 = srcUser:GetEquipedID(7_WEAPON)
  local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
  if Ring1 == 63440_SAGE_S_HANDBOOK_1 or Ring1 == 163440_SAGE_S_HANDBOOK_2 then
    taozhuang1 = RefineLv * 0.01 + taozhuang1
  end
  local BaseLvDamage = 0
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  local CardXR = 1
  local CardNum = srcUser:GetEquipCardNum(7, 23048_HILL_WIND_CARD)
  if skillID == 107_:LIGHTNING_BOLT then
    CardXR = CardNum * 0.25 + 1
    local IBaseLv = srcUser.BaseLv
    if srcUser:HasBuffID(42110_FLUORESCENCE_:MAX_STACK_0) then
      BaseLvDamage = IBaseLv * 15
    end
    if srcUser:HasBuffID(42120_MJOLNIR_SPELLBOOK_:MAX_STACK_0) then
      BaseLvDamage = IBaseLv * 15
    end
  end
  local GemValue = srcUser:GetGemValue(82073_LIGHTNING_BOLT_DMG_PERCENTAGE)
  local GemDam = 1 + GemValue / 100000
  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) + damChangePer1) * RuneDamage * taozhuang1 * GemDam * CardXR + BaseLvDamage
  if A <= 1 then
    return 1
  end
  return A
end
Raw
{
  "CD": 5,
  "id": 100060010,
  "Desc": [
    {
      "id": 100060010,
      "params": [
        500
      ]
    }
  ],
  "Icon": "skill_92001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillLockedTarget",
  "Damage": [
    {
      "type": 31,
      "damChangePer": 5,
      "elementparam": 5,
      "damChangePer1": 200
    }
  ],
  "DescId": "##171871",
  "NameZh": "##170007",
  "SE_hit": "Skill/StormGust_hit",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "Fire_EP": 3,
  "SE_cast": "Common/Magic_cast",
  "RollType": 2,
  "AttackAct": [
    "use_magic"
  ],
  "Attack_EP": 3,
  "Lead_Type": {
    "CCT": 0,
    "FCT": 0.5,
    "type": 2
  },
  "SE_attack": "Skill/StaveCrasher",
  "SkillType": "Attack",
  "Target_EP": 2,
  "Launch_Range": 6
}