Warmth of Stars
Lvl: 10 Attack Physical CD: 16 sec Skill Delay: 2 sec SP: 220 Range: 3

Deals physical damage of *1320% per second to enemies within 3 meters for 10 seconds, consuming 22 Sp per second.

Lvl: 9 Attack Physical CD: 16 sec Skill Delay: 2 sec SP: 210 Range: 3
• Deals physical damage of *1260% per second to enemies within 3 meters for 10 seconds, consuming 21 Sp per second.
Lvl: 8 Attack Physical CD: 16 sec Skill Delay: 2 sec SP: 200 Range: 3
• Deals physical damage of *1200% per second to enemies within 3 meters for 10 seconds, consuming 20 Sp per second.
Lvl: 7 Attack Physical CD: 16 sec Skill Delay: 2 sec SP: 190 Range: 3
• Deals physical damage of *1140% per second to enemies within 3 meters for 10 seconds, consuming 19 Sp per second.
Lvl: 6 Attack Physical CD: 16 sec Skill Delay: 2 sec SP: 180 Range: 3
• Deals physical damage of *1080% per second to enemies within 3 meters for 10 seconds, consuming 18 Sp per second.
Lvl: 5 Attack Physical CD: 16 sec Skill Delay: 2 sec SP: 170 Range: 3
• Deals physical damage of *1020% per second to enemies within 3 meters for 10 seconds, consuming 17 Sp per second.
Lvl: 4 Attack Physical CD: 16 sec Skill Delay: 2 sec SP: 160 Range: 3
• Deals physical damage of *960% per second to enemies within 3 meters for 10 seconds, consuming 16 Sp per second.
Lvl: 3 Attack Physical CD: 16 sec Skill Delay: 2 sec SP: 150 Range: 3
• Deals physical damage of *900% per second to enemies within 3 meters for 10 seconds, consuming 15 Sp per second.
Lvl: 2 Attack Physical CD: 16 sec Skill Delay: 2 sec SP: 140 Range: 3
• Deals physical damage of *840% per second to enemies within 3 meters for 10 seconds, consuming 14 Sp per second.
Lvl: 1 Attack Physical CD: 16 sec Skill Delay: 2 sec SP: 130 Range: 3
• Deals physical damage of *780% per second to enemies within 3 meters for 10 seconds, consuming 13 Sp per second.

Aesir

• Warmth of Stars - Strengthen [Warmth of Stars]'s DMG +6%
• Warmth of Stars - Guard [Warmth of Stars] increases DMG Reduc. and Magic Reduc. by 3% for the duration.

Formula

function CommonFun.calcDamage_19302(srcUser, targetUser, params, damageParam, logger)
  local Str = srcUser:GetProperty("Str")
  local Vit = srcUser:GetProperty("Vit")
  local Dex = srcUser:GetProperty("Dex")
  local Luk = srcUser:GetProperty("Luk")
  local Atk = srcUser:GetProperty("Atk")
  local AtkPer = srcUser:GetProperty("AtkPer")
  local DamIncrease = srcUser:GetProperty("DamIncrease")
  local IgnoreDef = 0
  local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
  local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
  if targetUser.boss or targetUser.mini then
    IgnoreDef = IgnoreDef1
  else
    IgnoreDef = IgnoreDef1 + IgnoreDef2
  end
  if 1 <= IgnoreDef then
    IgnoreDef = 1
  end
  local Refine = srcUser:GetProperty("Refine")
  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(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
  local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
  local skilllv_rh = srcUser:GetLernedSkillLevel(2426_PRIEST:UNIVERSE_FUSION)
  if srcUser:HasBuffID(136100_UNIVERSE_FUSION_:MAX_STACK_0) and targetUser:GetNpcID() ~= 0 and skillID == 2400_ACOLYTE:STORM_GUST then
    A = A * (1 + skilllv_rh * 0.06)
  end
  if skillID == 2425_PRIEST:WARMTH_OF_STARS then
    local Num = srcUser:GetRunePoint(193024_AESIR_WARMTH_OF_STARS_S_DMG_6)
    local Value = srcUser:GetGemValue(193041_WARMTH_OF_STARS_DAMAGE_PERCENTAGE)
    A = A * (1 + Num * 0.06) * (1 + Value / 100000)
  end
  local Grid = srcUser:GetTimeDiskGrid()
  if skillID == 2438_PRIEST:FLAME_KICK or skillID == 2439_PRIEST:SUN_EXPLOSION_PRIEST:SUN_EXPLOSION or skillID == 2440_PRIEST:CRESCENT_KICK_PRIEST:CRESCENT_KICK or skillID == 2441_PRIEST:FULLMOON_KICK_PRIEST:FULLMOON_KICK then
    local Fifth = 0
    if srcUser:HasBuffID(90004714_UNIVERSE_HEAVEN_BOOK_1_T5_:MAX_STACK_0) then
      Fifth = 0.05
    end
    if Grid == 1 or Grid == 5 then
      A = A * (1.5 + Fifth)
    elseif Grid == 2 or Grid == 4 then
      A = A * (2 + Fifth * 2)
    elseif Grid == 3 then
      A = A * (3 + Fifth * 4)
    end
  end
  if skillID == 2439_PRIEST:SUN_EXPLOSION_PRIEST:SUN_EXPLOSION then
    local Point = math.min(math.floor(Vit / 3), math.floor(Str / 3), math.floor(Dex / 3)) / 100
    local skilllv = srcUser:GetLernedSkillLevel(2453_PRIEST:SUN_EXPLOSION_SUN_SPLENDOR)
    local Ratio = 1
    if Grid == 3 and 0 < skilllv then
      Ratio = 1 + skilllv * 0.05
    end
    A = A * (1 + Point) * Ratio
  end
  if skillID == 2441_PRIEST:FULLMOON_KICK_PRIEST:FULLMOON_KICK then
    local Point = math.min(math.floor(Vit / 3), math.floor(Str / 3), math.floor(Dex / 3)) / 100
    A = A * (1 + Point)
  end
  if skillID == 2440_PRIEST:CRESCENT_KICK_PRIEST:CRESCENT_KICK then
    local Hiding = srcUser:GetProperty("Hiding")
    local skilllv = srcUser:GetLernedSkillLevel(2454_PRIEST:CRESCENT_KICK_BREAKING_DAWN)
    if Hiding == 1 and 0 < skilllv then
      A = A * (skilllv * 0.05 + 1)
    end
  end
  if A <= 1 then
    return 1
  end
  return A
end

Enemy 7730

function CommonFun.calcBuff_7730(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Hp = srcUser:GetProperty("Hp")
  local Hp2 = targetUser:GetProperty("Hp")
  local skilllv = srcUser:GetLernedSkillLevel(2426_PRIEST:UNIVERSE_FUSION)
  local Value = srcUser:GetGemValue(193001_UNIVERSE_FUSION_INCREASES_THE_ENEMY_S_HP_LOSS_BY_PERCENTAGE)
  local A = 0
  if a == 1 and b == 0 then
    A = -Hp * skilllv * c
  end
  if a == 0 and b == 1 then
    A = -Hp2 * skilllv * c * (1 + Value / 100000)
  end
  if targetUser:GetNpcID() ~= 0 then
    A = 0
  end
  return A
end

Enemy

{
  "id": 136092,
  "BuffName": "Warmth of Stars (Rune)",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 0,
      "c": 193042,
      "type": 5010
    }
  },
  "BuffEffect": {
    "id": [
      136093
    ],
    "type": "AddBuff"
  }
}

Enemy

{
  "id": 136093,
  "BuffName": "Warmth of Stars [Stun]",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "type": 130
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "StatusChange",
    "NoAct": 1,
    "AttrEffect": [
      3,
      4
    ],
    "StateEffect": "4_Dizzy"
  },
  "BuffStateID": 80010
}

Enemy

{
  "id": 136094,
  "BuffName": "Warmth of Stars [Universe Fusion]",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "c": 21930140,
      "d": 136100,
      "type": 5038
    }
  },
  "BuffEffect": {
    "Hp": {
      "a": 0,
      "b": 1,
      "c": 0.004,
      "type": 7730
    },
    "type": "HSPChange"
  }
}

Selfonce

{
  "id": 136090,
  "BuffDesc": "Deals DMG to nearby enemies over time",
  "BuffIcon": "skillbuff_2425001",
  "BuffName": "Warmth of Stars (Reduce SP per second)",
  "BuffRate": {
    "Odds": 100
  },
  "IconType": 1,
  "BuffEffect": {
    "Sp": {
      "a": -1,
      "b": -12,
      "type": 1
    },
    "type": "HSPChange"
  },
  "BuffStateID": 136090
}

Selfonce

{
  "id": 136091,
  "BuffName": "Warmth of Stars (Astrolabe)",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 0,
      "c": 193025,
      "d": 100,
      "type": 3250
    }
  },
  "BuffEffect": {
    "type": "AttrChange",
    "DamReduc": {
      "a": 0,
      "b": 0,
      "c": 193025,
      "d": 0.03,
      "type": 3250
    },
    "MDamReduc": {
      "a": 0,
      "b": 0,
      "c": 193025,
      "d": 0.03,
      "type": 3250
    }
  }
}

Selfonce

{
  "id": 136095,
  "BuffName": "Warmth of Stars and star signs",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "c": 22001110,
      "type": 5040
    }
  },
  "BuffEffect": {
    "id": [
      136190
    ],
    "type": "AddBuff"
  }
}

Selfonce

{
  "id": 136190,
  "BuffName": "Astrology Layer",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "c": 136180,
      "type": 5040
    }
  },
  "BuffEffect": {
    "type": "AttrChange",
    "DamIncrease": {
      "a": 2444,
      "b": 0.005,
      "c": 0,
      "type": 8
    },
    "limit_layer": 5,
    "ResultDamRes": {
      "a": 2455,
      "b": 0.005,
      "c": 0,
      "type": 8
    }
  }
}

Formula

{
  "CD": 16,
  "id": 2425010,
  "Buff": {
    "enemy": [
      136092,
      136094
    ],
    "selfonce": [
      136090,
      136091,
      136095
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2425000,
      "params": [
        1320,
        22
      ]
    }
  ],
  "Icon": "skill_2425001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillSelfRange",
  "Damage": [
    {
      "type": 19302,
      "damChangePer": 13.2
    }
  ],
  "DescId": "##2867048",
  "NameZh": "##1254803",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "DelayCD": 2,
  "Fire_EP": 3,
  "Pvp_buff": {
    "enemy": [
      136092,
      136094
    ],
    "selfonce": [
      136090,
      136091,
      136095
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill2"
  ],
  "Attack_EP": 2,
  "SE_attack": "Skill/skill_magic_dragonsprite_attack",
  "SkillCost": {
    "sp": 220
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 1,
  "Logic_Param": {
    "count": 10,
    "range": 3,
    "interval": 1,
    "no_select": 1,
    "range_num": 15,
    "follow_user": 1,
    "isCountTrap": 1,
    "fieldarea_cannot_immune": 1
  },
  "Launch_Range": 3
}