Clearance
Lvl: 1 Buff Skill Delay: 1.5 sec SP: 54 Range: 9

Has a 20% chance to expel random 2 Debuffs for ally units in the selected area. As the skill levels up, the expelled effects are: Lv.1 (Blind, Sleep); Lv.2 (Curse, Freeze); Lv.3 (Petrify, Stun); Lv.4 (Silence, Bleed); Lv.5 (Burning)

Lvl: 4 Buff Skill Delay: 1.5 sec SP: 72 Range: 9
• Has a 80% chance to expel random 2 Debuffs for ally units in the selected area. As the skill levels up, the expelled effects are: Lv.1 (Blind, Sleep); Lv.2 (Curse, Freeze); Lv.3 (Petrify, Stun); Lv.4 (Silence, Bleed); Lv.5 (Burning)
Lvl: 3 Buff Skill Delay: 1.5 sec SP: 66 Range: 9
• Has a 60% chance to expel random 2 Debuffs for ally units in the selected area. As the skill levels up, the expelled effects are: Lv.1 (Blind, Sleep); Lv.2 (Curse, Freeze); Lv.3 (Petrify, Stun); Lv.4 (Silence, Bleed); Lv.5 (Burning)
Lvl: 2 Buff Skill Delay: 1.5 sec SP: 60 Range: 9
• Has a 40% chance to expel random 2 Debuffs for ally units in the selected area. As the skill levels up, the expelled effects are: Lv.1 (Blind, Sleep); Lv.2 (Curse, Freeze); Lv.3 (Petrify, Stun); Lv.4 (Silence, Bleed); Lv.5 (Burning)
Lvl: 1 Buff Skill Delay: 1.5 sec SP: 54 Range: 9
• Has a 20% chance to expel random 2 Debuffs for ally units in the selected area. As the skill levels up, the expelled effects are: Lv.1 (Blind, Sleep); Lv.2 (Curse, Freeze); Lv.3 (Petrify, Stun); Lv.4 (Silence, Bleed); Lv.5 (Burning)

Aesir

• Highly Effective Clearance [Clearance] expels 1 random buffs if the target is enemy and 1 random debuffs is the target is an ally.

Self 580

function CommonFun.calcBuff_580(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetRunePoint(52090_AESIR_CLEARANCE_EXPELS_1_RANDOM_BUFFS_IF_THE_TARGET_IS_ENEMY_AND_1_RANDOM_DEBUFFS_IS_THE_TARGET_IS_AN_ALLY)
  local A = Num1 * a
  if A <= 0 then
    return 0
  end
  return A
end

Team 580

function CommonFun.calcBuff_580(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetRunePoint(52090_AESIR_CLEARANCE_EXPELS_1_RANDOM_BUFFS_IF_THE_TARGET_IS_ENEMY_AND_1_RANDOM_DEBUFFS_IS_THE_TARGET_IS_AN_ALLY)
  local A = Num1 * a
  if A <= 0 then
    return 0
  end
  return A
end

Enemy 115

function CommonFun.calcBuff_115(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetRunePoint(22140_AESIR_THE_CASTER_RECOVERS_1_5_HP_WHEN_ICE_TOMB_IS_ON_EACH_POINT_INCREASES_HEALING_RATE_BY_1_5)
  local MaxHp = srcUser:GetProperty("MaxHp")
  local A = Num1 * a * MaxHp
  if A <= 0 then
    return 0
  end
  return A
end

Enemy 580

function CommonFun.calcBuff_580(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetRunePoint(52090_AESIR_CLEARANCE_EXPELS_1_RANDOM_BUFFS_IF_THE_TARGET_IS_ENEMY_AND_1_RANDOM_DEBUFFS_IS_THE_TARGET_IS_AN_ALLY)
  local A = Num1 * a
  if A <= 0 then
    return 0
  end
  return A
end

Friend 580

function CommonFun.calcBuff_580(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num1 = srcUser:GetRunePoint(52090_AESIR_CLEARANCE_EXPELS_1_RANDOM_BUFFS_IF_THE_TARGET_IS_ENEMY_AND_1_RANDOM_DEBUFFS_IS_THE_TARGET_IS_AN_ALLY)
  local A = Num1 * a
  if A <= 0 then
    return 0
  end
  return A
end

Self

{
  "id": 95090,
  "BuffName": "Clearance",
  "BuffRate": {
    "Odds": {
      "a": 153,
      "b": 20,
      "c": 0,
      "type": 8
    }
  },
  "BuffEffect": {
    "type": "DelStatus",
    "status": [
      7,
      12
    ],
    "random_num": 2
  }
}

Self

{
  "id": 45000241,
  "BuffName": "Clear Debuff Effects",
  "BuffRate": {
    "Odds": {
      "a": 100,
      "type": 580
    }
  },
  "BuffEffect": {
    "num": {
      "a": 1,
      "type": 580
    },
    "type": "Disperse"
  }
}

Team

{
  "id": 95090,
  "BuffName": "Clearance",
  "BuffRate": {
    "Odds": {
      "a": 153,
      "b": 20,
      "c": 0,
      "type": 8
    }
  },
  "BuffEffect": {
    "type": "DelStatus",
    "status": [
      7,
      12
    ],
    "random_num": 2
  }
}

Team

{
  "id": 45000241,
  "BuffName": "Clear Debuff Effects",
  "BuffRate": {
    "Odds": {
      "a": 100,
      "type": 580
    }
  },
  "BuffEffect": {
    "num": {
      "a": 1,
      "type": 580
    },
    "type": "Disperse"
  }
}

Enemy

{
  "id": 95095,
  "BuffName": "Clearance [delete Loud Exclamation]",
  "BuffRate": {
    "Odds": {
      "a": 153,
      "b": 20,
      "c": 0,
      "type": 8
    }
  },
  "BuffEffect": {
    "id": [
      96090,
      96091,
      96092,
      42000201,
      42000202,
      42000210
    ],
    "type": "DelBuff",
    "checkForbidGainBuffDel": 1
  }
}

Enemy

{
  "id": 96090,
  "BuffDesc": "Increase Strength",
  "BuffIcon": "skillbuff_208001",
  "BuffName": "Loud Exclamation",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "DelBuffID": [
    96091,
    96092
  ],
  "BuffEffect": {
    "Str": {
      "a": 1,
      "b": 0,
      "type": 1
    },
    "type": "AttrChange",
    "DefPer": {
      "a": 0,
      "b": 0,
      "c": 63020,
      "d": 0.03,
      "type": 3250
    },
    "MDefPer": {
      "a": 0,
      "b": 0,
      "c": 63020,
      "d": 0.03,
      "type": 3250
    },
    "extra_attr": {
      "Str": {
        "a": 0,
        "b": 0,
        "c": 61112,
        "type": 5010
      }
    }
  },
  "BuffStateID": 96090
}

Enemy

{
  "id": 96091,
  "BuffDesc": "Increase Strength",
  "BuffIcon": "skillbuff_208001",
  "BuffName": "Loud Exclamation (Peak Level)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "DelBuffID": [
    96090
  ],
  "BuffEffect": {
    "Str": {
      "a": 1,
      "b": 0,
      "type": 1
    },
    "type": "AttrChange",
    "DefPer": {
      "a": 0,
      "b": 0,
      "c": 63020,
      "d": 0.03,
      "type": 3250
    },
    "MDefPer": {
      "a": 0,
      "b": 0,
      "c": 63020,
      "d": 0.03,
      "type": 3250
    },
    "extra_attr": {
      "Str": {
        "a": 0,
        "b": 0,
        "c": 61111,
        "type": 5010
      }
    }
  },
  "BuffStateID": 96090
}

Enemy

{
  "id": 96092,
  "BuffDesc": "Increase Strength",
  "BuffIcon": "skillbuff_208001",
  "BuffName": "Loud Exclamation (Peak Level)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "DelBuffID": [
    96090
  ],
  "BuffEffect": {
    "Str": {
      "a": 1,
      "b": -10,
      "type": 1
    },
    "type": "AttrChange",
    "DefPer": {
      "a": 0,
      "b": 0,
      "c": 63020,
      "d": 0.03,
      "type": 3250
    },
    "MDefPer": {
      "a": 0,
      "b": 0,
      "c": 63020,
      "d": 0.03,
      "type": 3250
    },
    "extra_attr": {
      "Str": {
        "a": 0,
        "b": 0,
        "c": 61112,
        "type": 5010
      }
    }
  },
  "BuffStateID": 96090
}

Enemy

{
  "id": 42000201,
  "BuffDesc": "Keep a freezing effect",
  "BuffIcon": "skillbuff_10035001",
  "BuffName": "Frost Diver [Freeze yourself]",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "StatusChange",
    "Freeze": 1,
    "AttrEffect": [
      3,
      4,
      20
    ],
    "StateEffect": "5_Freeze",
    "NoEffectMove": 3,
    "IsForceStatus": 1
  },
  "BuffStateID": 85070
}

Enemy

{
  "id": 42000202,
  "BuffName": "Frost Diver [Freeze yourself]",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "BattleAttr",
    "DefAttr": 3,
    "StateEffect": "5_Freeze",
    "IsForceStatus": 1,
    "atk_def_priority": 1
  },
  "BuffStateID": 95310
}

Enemy

{
  "id": 42000210,
  "BuffDesc": "Constantly restore HP",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "Ice Tomb - Restore",
  "BuffRate": {
    "Odds": {
      "type": 114
    }
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "Hp": {
      "a": 0.015,
      "type": 115
    },
    "type": "HSPChange"
  }
}

Enemy

{
  "id": 45000240,
  "BuffName": "Disperse buff effects",
  "BuffRate": {
    "Odds": {
      "a": 100,
      "type": 580
    }
  },
  "BuffEffect": {
    "num": {
      "a": 1,
      "type": 580
    },
    "type": "Disperse",
    "value": "GainBuff"
  }
}

Friend

{
  "id": 95090,
  "BuffName": "Clearance",
  "BuffRate": {
    "Odds": {
      "a": 153,
      "b": 20,
      "c": 0,
      "type": 8
    }
  },
  "BuffEffect": {
    "type": "DelStatus",
    "status": [
      7,
      12
    ],
    "random_num": 2
  }
}

Friend

{
  "id": 45000241,
  "BuffName": "Clear Debuff Effects",
  "BuffRate": {
    "Odds": {
      "a": 100,
      "type": 580
    }
  },
  "BuffEffect": {
    "num": {
      "a": 1,
      "type": 580
    },
    "type": "Disperse"
  }
}

Formula

{
  "id": 153001,
  "Buff": {
    "self": [
      95090,
      45000241
    ],
    "team": [
      95090,
      45000241
    ],
    "enemy": [
      95095,
      45000240
    ],
    "friend": [
      95090,
      45000241
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 153000,
      "params": [
        20,
        2
      ]
    }
  ],
  "Icon": "skill_153001",
  "Camps": "Friend|Enemy",
  "Level": 1,
  "Logic": "SkillPointRange",
  "DescId": "##170653",
  "NameZh": "##158586",
  "NextID": 153002,
  "DelayCD": 1.5,
  "Fire_EP": 3,
  "Pvp_buff": {
    "self": [
      95090,
      45000241
    ],
    "team": [
      95090,
      45000241
    ],
    "enemy": [
      95095,
      45000240
    ],
    "friend": [
      95090,
      45000241
    ]
  },
  "AttackAct": [
    "use_magic"
  ],
  "Attack_EP": 3,
  "SE_attack": "Skill/Dispersion",
  "SkillCost": {
    "sp": 54
  },
  "SkillType": "Buff",
  "Target_EP": 3,
  "Logic_Param": {
    "count": 1,
    "range": 3,
    "effect": "Dispersion,LowBuff_B",
    "no_select": 1,
    "isCountTrap": 1,
    "fieldarea_cannot_immune": 1
  },
  "Launch_Range": 9,
  "AutoCondition": [
    {
      "type": 9,
      "state_effect": [
        7,
        12
      ]
    }
  ]
}