Mercury Concerto
Lvl: 10 Attack Physical CD: 4 sec Skill Delay: 1 sec SP: 300 Range: 8

Summons star stones from the sky every 0.5s to hit 3 random enemies within 8m, dealing Earth P.DMG equal to (P.ATK+M.ATK)*3200%. Lasts 4s. The cooldown is fixed.

Lvl: 9 Attack Physical CD: 4 sec Skill Delay: 1 sec SP: 280 Range: 8
• Summons star stones from the sky every 0.5s to hit 3 random enemies within 8m, dealing Earth P.DMG equal to (P.ATK+M.ATK)*3000%. Lasts 4s. The cooldown is fixed.
Lvl: 8 Attack Physical CD: 4 sec Skill Delay: 1 sec SP: 260 Range: 8
• Summons star stones from the sky every 0.5s to hit 3 random enemies within 8m, dealing Earth P.DMG equal to (P.ATK+M.ATK)*2800%. Lasts 4s. The cooldown is fixed.
Lvl: 7 Attack Physical CD: 4 sec Skill Delay: 1 sec SP: 240 Range: 8
• Summons star stones from the sky every 0.5s to hit 3 random enemies within 8m, dealing Earth P.DMG equal to (P.ATK+M.ATK)*2600%. Lasts 4s. The cooldown is fixed.
Lvl: 6 Attack Physical CD: 4 sec Skill Delay: 1 sec SP: 220 Range: 8
• Summons star stones from the sky every 0.5s to hit 3 random enemies within 8m, dealing Earth P.DMG equal to (P.ATK+M.ATK)*2400%. Lasts 4s. The cooldown is fixed.
Lvl: 5 Attack Physical CD: 4 sec Skill Delay: 1 sec SP: 200 Range: 8
• Summons star stones from the sky every 0.5s to hit 3 random enemies within 8m, dealing Earth P.DMG equal to (P.ATK+M.ATK)*2200%. Lasts 4s. The cooldown is fixed.
Lvl: 4 Attack Physical CD: 4 sec Skill Delay: 1 sec SP: 180 Range: 8
• Summons star stones from the sky every 0.5s to hit 3 random enemies within 8m, dealing Earth P.DMG equal to (P.ATK+M.ATK)*2000%. Lasts 4s. The cooldown is fixed.
Lvl: 3 Attack Physical CD: 4 sec Skill Delay: 1 sec SP: 160 Range: 8
• Summons star stones from the sky every 0.5s to hit 3 random enemies within 8m, dealing Earth P.DMG equal to (P.ATK+M.ATK)*1800%. Lasts 4s. The cooldown is fixed.
Lvl: 2 Attack Physical CD: 4 sec Skill Delay: 1 sec SP: 140 Range: 8
• Summons star stones from the sky every 0.5s to hit 3 random enemies within 8m, dealing Earth P.DMG equal to (P.ATK+M.ATK)*1600%. Lasts 4s. The cooldown is fixed.
Lvl: 1 Attack Physical CD: 4 sec Skill Delay: 1 sec SP: 120 Range: 8
• Summons star stones from the sky every 0.5s to hit 3 random enemies within 8m, dealing Earth P.DMG equal to (P.ATK+M.ATK)*1400%. Lasts 4s. The cooldown is fixed.

Formula

function CommonFun.calcDamage_74501(srcUser, targetUser, params, damageParam, logger)
  local Int = srcUser:GetProperty("Int")
  local MAtk = srcUser:GetProperty("MAtk")
  local MAtkPer = srcUser:GetProperty("MAtkPer")
  local Str = srcUser:GetProperty("Str")
  local Dex = srcUser:GetProperty("Dex")
  local Luk = srcUser:GetProperty("Luk")
  local Atk = srcUser:GetProperty("Atk")
  local AtkPer = srcUser:GetProperty("AtkPer")
  local NormalAtk = srcUser:GetProperty("NormalAtk")
  NormalAtk = NormalAtk + 3 * Int
  local DamIncrease = srcUser:GetProperty("DamIncrease")
  local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
  if 1 <= IgnoreMDef then
    IgnoreMDef = 1
  end
  local Refine = srcUser:GetProperty("Refine")
  local MRefine = srcUser:GetProperty("MRefine")
  local Def2 = targetUser:GetProperty("Def")
  local DefPer2 = targetUser:GetProperty("DefPer")
  local Vit2 = targetUser:GetProperty("Vit")
  local VitPer2 = targetUser:GetProperty("VitPer")
  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
  local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
  local damChangePer = damageParam.damChangePer
  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
  local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
  local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
  local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
  local BaseAtk = Str * 2 + math.floor(Dex * Dex / 100) + math.floor(Str / 5) + math.floor(Luk / 5)
  local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
  local BaseMAtk = Int + math.floor(Int * Int / 100)
  local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) * elementparam * elementparam2 + BaseMAtk) * raceparam * bossparam * bossparam2
  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
  local LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
  local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local Master = srcUser:GetMasterUser()
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if skillID == 2891_MERCHANT:PIPI_DRAGON_S_ATTACK and Master ~= nil then
    local skilllv_ppcd = Master:GetLernedSkillLevel(2879_SAINT:GO_PIPI)
    local skilllv_ppbz = Master:GetLernedSkillLevel(2888_MERCHANT:PIPI_S_GUARD)
    damChangePer = (1.5 * skilllv_ppcd + 5) * (1 + 0.05 * skilllv_ppbz)
    if targetUser:GetNpcID() ~= 0 then
      local GemValue = Master:GetGemValue(214151_GO_PIPI_DMG_AGAINST_MONSTERS_PERCENTAGE)
      damChangePer = damChangePer * (1 + GemValue / 100000)
    end
  end
  local Hp = srcUser:GetProperty("Hp")
  local MaxHp = srcUser:GetProperty("MaxHp")
  local HpRatio = math.floor(Hp / MaxHp * 10)
  local Weapon = 1
  if srcUser:HasBuffID(23160_2486_:MAX_STACK_0) or Master ~= nil and Master:HasBuffID(23160_2486_:MAX_STACK_0) then
    Weapon = Weapon + HpRatio * 0.03
  end
  if skillID == 2894_MERCHANT:STAR_STONE_MERCHANT:STAR_STONE then
    local skilllv_yx = Master:GetLernedSkillLevel(2880_SAINT:MERCURY_CONCERTO)
    damChangePer = skilllv_yx * 2 + 12
  end
  local A = ((MAtkFinal + AtkFinal) * DefReduc * (1 - DamReduc2) + Refine + MRefine) * damChangePer * Weapon * (1 + DamIncrease - LongRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 / 2 * (1 + VitPer2)
  if skillID == 2880_SAINT:MERCURY_CONCERTO or skillID == 2894_MERCHANT:STAR_STONE_MERCHANT:STAR_STONE then
    local GemValue_xx = srcUser:GetGemValue(214131_MERCURY_CONCERTO_DMG_PERCENTAGE)
    local WeaponF5 = 1
    if srcUser:HasBuffID(23165_2486_:MAX_STACK_0) then
      WeaponF5 = WeaponF5 + 0.15
    end
    A = A * (1 + GemValue_xx / 100000) * WeaponF5
  end
  if A <= 1 then
    return 1
  end
  return A
end
Star Stone

Selfonce

{
  "id": 138907,
  "BuffName": "Star stone (feature Lv.7)",
  "BuffRate": {
    "Odds": {
      "a": 2878,
      "b": 7,
      "c": 0,
      "d": 100,
      "type": 7830
    }
  },
  "BuffEffect": {
    "id": 2894001,
    "Odds": 100,
    "type": "UseSkill",
    "IsActive": 0
  }
}

Formula

{
  "CD": 4,
  "id": 2880010,
  "Buff": {
    "selfonce": [
      138907
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2880000,
      "params": [
        3200
      ]
    }
  ],
  "Icon": "skill_2880001",
  "Camps": "Enemy",
  "FixCD": 1,
  "Level": 10,
  "Logic": "SkillSelfRange",
  "Damage": [
    {
      "type": 74501,
      "damChangePer": 32,
      "elementparam": 2
    }
  ],
  "DescId": "##3492141",
  "NameZh": "##3492007",
  "SE_hit": "Skill/sfx_alinia_falling_star_hit_01",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "DelayCD": 1,
  "Fire_EP": 3,
  "Pvp_buff": {
    "selfonce": [
      138907
    ]
  },
  "RollType": 1,
  "SkillHit": 0.5,
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 2,
  "SE_attack": "Skill/sfx_alinia_falling_star_attack_01",
  "SkillCost": {
    "sp": 300
  },
  "SkillType": "Attack",
  "Target_EP": 2,
  "DamageType": 1,
  "Logic_Param": {
    "count": 8,
    "range": 8,
    "interval": 0.5,
    "no_select": 1,
    "range_num": 3,
    "follow_user": 1,
    "isCountTrap": 1,
    "no_tar_random_pos": 1,
    "random_interval_effect": [
      "Skill/sfx_alinia_xxsp_hit_01_prf"
    ]
  },
  "Launch_Range": 8
}