Storm Gust
Lvl: 1 Attack Magic Skill Delay: 2 sec Range: 9

Summons meteor shower to attack an area, units in the area has a chance to be hit and take (M.Atk 100%×(1 +2Meteor Number*20%)) M.Dmg. Has a 7% chance to stun targets on hit

Formula

function CommonFun.calcDamage_8012(srcUser, targetUser, params, damageParam, logger)
  local damChangePer = damageParam.damChangePer
  local A = 1000 * damChangePer
  return A, CommonFun.DamageType.Normal
end

Enemy

{
  "id": 120500,
  "BuffDesc": "Magic Dmg decrease 30%",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "Magic Dmg decrease 30%",
  "BuffRate": {
    "Odds": 100
  },
  "IconType": 1
}

Formula

{
  "id": 930001,
  "Buff": {
    "enemy": [
      120500
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 800000,
      "params": [
        100,
        2,
        20,
        7
      ]
    }
  ],
  "Icon": "xpskill10",
  "Camps": "Enemy",
  "Level": 1,
  "Logic": "SkillRandomRange",
  "Damage": [
    {
      "type": 8012,
      "damChangePer": 2
    }
  ],
  "DescId": "##170400",
  "NameZh": "",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "DelayCD": 2,
  "Fire_EP": 3,
  "SE_cast": "Common/Magic_cast",
  "Pvp_buff": {
    "enemy": [
      120500
    ]
  },
  "RollType": 2,
  "AttackAct": [
    "use_magic"
  ],
  "Attack_EP": 3,
  "SE_attack": "Common/Cardroom_Meteorite",
  "SkillType": "Attack",
  "Target_EP": 3,
  "Logic_Param": {
    "count": 2,
    "range": 4,
    "interval": 1,
    "no_select": 1,
    "range_num": 8,
    "isCountTrap": 1,
    "effect_range": 3,
    "interval_effect": {
      "effect": "Skill/CrimsonRock"
    }
  },
  "Launch_Range": 9
}