Skill #10000008

Auto Attack (25% HP)

Level 1

##10000

Cost 0 | Attack

ID 10000008

Formulas & functions

CommonFun links

Auto Attack (25% HP)Lv 1 | damage

Formula source

function CommonFun.calcDamage_8008(srcUser, targetUser, params, damageParam, logger)
  local MaxHp = targetUser:GetProperty("MaxHp")
  local A = MaxHp * 0.25
  return A, CommonFun.DamageType.Normal
end

Skill JSON (Level 1)

{
  "id": 10000008,
  "NameZh": "普通攻击(25%血量)",
  "Level": 1,
  "Icon": "skill_10000",
  "Cost": 0,
  "Desc": [
    {
      "id": 10000,
      "params": [
        100
      ]
    }
  ],
  "RollType": 1,
  "Launch_Type": 1,
  "SkillType": "Attack",
  "Camps": "Enemy",
  "Launch_Range": 1.5,
  "Fire_EP": 3,
  "Target_EP": 3,
  "Attack_EP": 3,
  "Logic": "SkillLockedTarget",
  "Damage": [
    {
      "type": 8008
    }
  ],
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "AttackAct": [
    "attack"
  ],
  "description": {
    "chinesesimplified": "##10000",
    "english": "##10000",
    "german": "##10000",
    "portuguese": "##10000",
    "spanish": "##10000"
  }
}