Land Mine
Lvl: 2 Attack Magic Range: 1

Lvl: 1 TrapSkill Range: 5 Fixed Cast Time: 1.5
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *600%) earth M.Dmg based on Def to the enemy that triggers it. Can have up to 2 traps of this kind.

Formula

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

Self

{
  "id": 90010,
  "BuffName": "Land Mine (delete yourself)",
  "BuffRate": {
    "Odds": 100
  },
  "Condition": {
    "time": 1,
    "type": "AfterTime"
  },
  "BuffEffect": {
    "type": "DelMe"
  }
}

Formula

{
  "id": 70047002,
  "Buff": {
    "self": [
      90010
    ]
  },
  "Cost": 1,
  "Icon": "skill_116001",
  "Camps": "Enemy",
  "Level": 1,
  "Logic": "SkillSelfRange",
  "Damage": [
    {
      "type": 8001,
      "damChangePer": 0.25,
      "damChangePer1": 0
    }
  ],
  "NameZh": "##139860",
  "SE_hit": "Skill/FireBall_hit",
  "DamTime": {
    "type": 1,
    "value": 3
  },
  "Fire_EP": 3,
  "SE_cast": "Common/Magic_cast",
  "SE_fire": "Skill/FireBall_fire",
  "Pvp_buff": {
    "self": [
      90010
    ]
  },
  "RollType": 2,
  "AttackAct": [
    "use_magic"
  ],
  "Attack_EP": 3,
  "SkillType": "Attack",
  "Target_EP": 3,
  "Logic_Param": {
    "range": 2,
    "no_select": 1,
    "range_num": 1,
    "suspend_can_immune": 1
  },
  "AttackStatus": 1,
  "Launch_Range": 1
}