Skill #79928001

End of Sun and Moon

Level 1

##3412000

CD 10s | Cost 1 | Attack

ID 79928001

Formulas & functions

CommonFun links

End of Sun and MoonLv 1 | damage

Formula source

function CommonFun.calcDamage_8033(srcUser, targetUser, params, damageParam, logger)
  local damChangePer = damageParam.damChangePer
  local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, params, damageParam)
  local targetDefElement = targetUser:GetProperty("DefAttr")
  local A = damChangePer * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam)
  if A <= 1 then
    return 1
  end
  return A
end

Skill JSON (Level 1)

{
  "id": 79928001,
  "NameZh": "日月终焉",
  "Level": 1,
  "Icon": "skill_3412001",
  "Cost": 1,
  "Contidion": {
    "skillid": 3405006
  },
  "Desc": [
    {
      "id": 3412000,
      "params": [
        10,
        21
      ]
    }
  ],
  "RollType": 1,
  "SkillHit": 2,
  "SkillType": "Attack",
  "Camps": "Enemy",
  "Launch_Range": 0,
  "Fire_EP": 3,
  "Target_EP": 3,
  "Attack_EP": 0,
  "CD": 10,
  "DelayCD": 2,
  "Logic": "SkillSelfRange",
  "Logic_Param": {
    "range": 5,
    "range_num": 15
  },
  "Damage": [
    {
      "damChangePer": 100,
      "elementparam": 5,
      "type": 8033
    }
  ],
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "AttackAct": [
    "attack"
  ],
  "SE_attack": "Skill/Bolylight_hit",
  "SE_bg": "Skill/Solar_riyuezhongyan",
  "description": {
    "chinesesimplified": "##3412000",
    "english": "##3412000",
    "german": "##3412000",
    "portuguese": "##3412000",
    "spanish": "##3412000"
  }
}