Skill #70030001

Arrow Shower

Fires an arrow towards the target range, dealing Phy. DMG.

Level 1

##121000

Cost 1 | Attack

ID 70030001

Formulas & functions

CommonFun links

Arrow ShowerLv 1 | damage

Formula source

function CommonFun.calcDamage_8001(srcUser, targetUser, params, damageParam, logger)
  local damChangePer = damageParam.damChangePer
  local damChangePer1 = damageParam.damChangePer1
  local MaxHp = targetUser:GetProperty("MaxHp")
  local A = MaxHp * damChangePer + damChangePer1
  if A <= 1 then
    return 1
  end
  return A
end

Skill JSON (Level 1)

{
  "id": 70030001,
  "NameZh": "箭雨",
  "Level": 1,
  "Icon": "skill_121001",
  "Cost": 1,
  "Desc": [
    {
      "id": 121000,
      "params": [
        4,
        75,
        8
      ]
    }
  ],
  "RollType": 1,
  "SkillHit": 2,
  "SkillType": "Attack",
  "Camps": "Enemy",
  "Launch_Range": 5,
  "Fire_EP": 6,
  "Target_EP": 3,
  "Attack_EP": 3,
  "DelayCD": 2,
  "Lead_Type": {
    "CCT": 3,
    "FCT": 0,
    "type": 2
  },
  "Logic": "SkillPointRange",
  "Logic_Param": {
    "count": 4,
    "effect": "ArrowShower,LowRange_B2",
    "interval": 0.7,
    "isCountTrap": 1,
    "no_select": 1,
    "range": 2,
    "range_num": 8
  },
  "Damage": [
    {
      "damChangePer": 0.2,
      "damChangePer1": 0,
      "type": 8001
    }
  ],
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "CastAct": "skill_ready",
  "AttackAct": [
    "use_skill"
  ],
  "SE_cast": "Common/Magic_cast",
  "SE_attack": "Skill/Arrow_attack",
  "SE_fire": "Skill/Arrow_fire",
  "SE_hit": "Skill/Arrow_hit",
  "description": {
    "chinesesimplified": "##121000",
    "english": "##121000",
    "german": "##121000",
    "portuguese": "##121000",
    "spanish": "##121000"
  }
}