ClassAcolyte
SkillHeal
Heal
Lvl: 8
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (68* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2
Lvl: 1
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (12* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 2
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (20* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 3
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (28* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 4
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (36* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 5
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (44* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 6
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (52* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 7
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (60* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 8
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (68* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 9
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (76* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 10
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (84* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 11
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (86* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 12
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (88* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 13
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (90* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 14
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (92* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 15
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (94* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 16
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (96* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 17
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (98* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 18
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (100* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 19
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (102* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Lvl: 20
Heal
Magic
Skill Delay: 1 sec
Range: 9
Restore (104* Rounded ( (BaseLv+INT) /10) ) HP to self and allies. When the targets are undead monsters, the skill deals Holy Damage: 100% Healing Value/2

Aesir
[Heal - Empower] - Healing Done by [Heal] +2%
[Lasting Healing] - [Heal] applies Lasting Healing status on the target (Valid to self), so it gains HP equal to 10% healing done every 3 sec. Lasts 7 sec.
[Lasting Healing - Empower] - Healing Done by Lasting Healing +5%
Formula
function CommonFun.calcDamage_5101(srcUser, targetUser, params, damageParam, logger)
  local BaseLv = srcUser.BaseLv
  local Int = srcUser:GetProperty("Int")
  local HolyAtk = srcUser:GetProperty("HolyAtk")
  local HealEncPer = srcUser:GetProperty("HealEncPer")
  local enemy = srcUser:IsEnemy(targetUser)
  local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
  local skilllv_1 = srcUser:GetLernedSkillLevel(50034_:FIRST_AID_II)
  local skilllv_2 = srcUser:GetLernedSkillLevel(50035_:FIRST_AID_III)
  local Num1 = srcUser:GetRunePoint(51001_AESIR_HEALING_DONE_BY_HEAL_2)
  local Num2 = srcUser:GetRunePoint(51011)
  local RuneDamage = Num1 * 0.02 + Num2 * 0.02 + 1
  local c = 1
  if srcUser:HasBuffID(51580_LADY_WHITE_SNAKE_CARD_:MAX_STACK_0) then
    c = 1.1
  end
  local RefineLv = srcUser:GetEquipedRefineLv(1)
  local Angel = 1
  if srcUser:HasBuffID(40430_SACRED_MISSION_:MAX_STACK_0) then
    Angel = 1 + RefineLv / 100
  end
  if srcUser:HasBuffID(90001813_SACRED_MISSION_R4_:MAX_STACK_0) then
    if 5 <= RefineLv and RefineLv < 10 then
      Angel = Angel + 0.03
    elseif 10 <= RefineLv then
      Angel = Angel + 0.03 + 0.07
    end
  end
  if srcUser:HasBuffID(90001816_SACRED_MISSION_R7_:MAX_STACK_0) then
    if 5 <= RefineLv and RefineLv < 10 then
      Angel = Angel + 0.02
    elseif 10 <= RefineLv then
      Angel = Angel + 0.02 + 0.03
    end
  end
  if srcUser:HasBuffID(43260_GIANT_WING_SHIELD_:MAX_STACK_0) then
    if RefineLv < 5 then
      Angel = Angel + RefineLv / 100
    elseif 5 <= RefineLv and RefineLv < 10 then
      Angel = Angel + 0.05 + RefineLv / 100
    elseif 10 <= RefineLv then
      Angel = Angel + 0.05 + 0.1 + RefineLv / 100
    end
  end
  local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, params, damageParam)
  local targetDefElement = targetUser:GetProperty("DefAttr")
  local BeHealEncPer2 = targetUser:GetProperty("BeHealEncPer")
  local race2 = targetUser.race
  local DefAttr2 = targetUser:GetProperty("DefAttr")
  local AttrEffect = targetUser:GetProperty("AttrEffect2")
  local bits = CommonFun.getBits(AttrEffect)
  local damChangePer = damageParam.damChangePer
  local damChangePer1 = damageParam.damChangePer1
  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
  local A = ((math.floor((BaseLv + Int) / 10) * damChangePer + 100 + skilllv_1 * 50 + skilllv_2 * 50) * (1 + HealEncPer) * (1 + BeHealEncPer2) + damChangePer1) * -1 * (1 + HolyAtk) * RuneDamage * c * Angel
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if skillID == 11_:FIRST_AID then
    local BaseLv = srcUser.BaseLv
    A = (100 + BaseLv * 5 + skilllv_1 * 200 + skilllv_2 * 200) * (1 + HealEncPer) * (1 + BeHealEncPer2) * -1 * (1 + HolyAtk)
  end
  if skillID == 1224_:COLUCEO_HEAL then
    local skilllv_3 = srcUser:GetLernedSkillLevel(144_:HEAL)
    local damChangePer = 4
    if skilllv_3 <= 10 then
      damChangePer = 4 + skilllv_3 * 8
    elseif 10 < skilllv_3 then
      damChangePer = 64 + skilllv_3 * 2
    end
    local MaxHp = targetUser:GetProperty("MaxHp")
    local Hp = targetUser:GetProperty("Hp")
    local Num = srcUser:GetRunePoint(54030_AESIR_COLUCEO_HEAL_GAINS_EXTRA_HEALING_EQUAL_TO_2_OF_TARGET_S_LOST_HP)
    local RuneDamage1 = (MaxHp - Hp) * 0.02 * Num
    local GemValue = srcUser:GetGemValue(51011_COLUCEO_HEAL_S_CURE_PERCENTAGE)
    local GemDam = 1 + GemValue / 100000
    A = (math.floor((BaseLv + Int) / 10) * damChangePer + 100 + skilllv_1 * 50 + skilllv_2 * 50) * damChangePer1 * (1 + HealEncPer) * (1 + BeHealEncPer2) * -1 * (1 + HolyAtk) * RuneDamage * c * Angel * GemDam - RuneDamage1 * (1 + BeHealEncPer2)
  end
  if targetUser:HasBuffID(41100050_HEALING_RECEIVED_:MAX_STACK_0) then
    local MaxHp = targetUser:GetProperty("MaxHp")
    local Hp = targetUser:GetProperty("Hp")
    local Num1 = targetUser:GetBuffLayer(41100050_HEALING_RECEIVED_:MAX_STACK_0)
    if Hp < MaxHp * (0.15 * Num1) then
      A = A * 3
    end
  end
  local RateNum = 0
  local profressionID = srcUser:GetProfressionID()
  if srcUser:HasBuffID(35381_47160_ANGEL_WING_FEATHER_:MAX_STACK_0) and (profressionID == 51_ACOLYTE or profressionID == 52_PRIEST or profressionID == 53_HIGH_PRIEST or profressionID == 54_ARCHBISHOP or profressionID == 55_SAINT) then
    RateNum = 15
  end
  local HealtoDam = targetUser:GetBuffLevel(129100_CURE_BARRIER_:MAX_STACK_0)
  local DamRatio = 1
  if targetUser:HasBuffID(129100_CURE_BARRIER_:MAX_STACK_0) then
    DamRatio = -0.1 * HealtoDam
  end
  if enemy then
    if DefAttr2 == 9 then
      return A / 2 * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 * -1 * (1 + MDamIncrease)
    else
      return 0, 0
    end
  elseif DefAttr2 == 9 or bits[CommonFun.AttrEffect.PoisinDamNoUse] == 1 then
    return -1
  elseif CommonFun.IsInRate(RateNum, srcUser:GetRandom()) then
    return A * 2 * DamRatio
  else
    return A * DamRatio
  end
end
Buff Formula
Self 441
function CommonFun.calcBuff_441(srcUser, targetUser, a, b, c, d, lv, damage)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num4 = srcUser:GetRunePoint(51003_AESIR_HEALING_DONE_BY_LASTING_HEALING_5)
  local Num5 = srcUser:GetRunePoint(51002_AESIR_HEAL_APPLIES_LASTING_HEALING_STATUS_ON_THE_TARGET_VALID_TO_SELF_SO_IT_GAINS_HP_EQUAL_TO_10_HEALING_DONE_EVERY_3_SEC_LASTS_7_SEC)
  local Num6 = srcUser:GetRunePoint(51009)
  local Num7 = srcUser:GetRunePoint(52002)
  local RuneValue = 0
  if 1 <= Num5 then
    RuneValue = 0.1
  end
  local RuneDamage = ((Num4 + Num5 + Num6 + Num7) * 0.05 + RuneValue) * -1
  local A = RuneDamage * damage
  if A <= 0 then
    return 0
  end
  return A
end
Team 441
function CommonFun.calcBuff_441(srcUser, targetUser, a, b, c, d, lv, damage)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num4 = srcUser:GetRunePoint(51003_AESIR_HEALING_DONE_BY_LASTING_HEALING_5)
  local Num5 = srcUser:GetRunePoint(51002_AESIR_HEAL_APPLIES_LASTING_HEALING_STATUS_ON_THE_TARGET_VALID_TO_SELF_SO_IT_GAINS_HP_EQUAL_TO_10_HEALING_DONE_EVERY_3_SEC_LASTS_7_SEC)
  local Num6 = srcUser:GetRunePoint(51009)
  local Num7 = srcUser:GetRunePoint(52002)
  local RuneValue = 0
  if 1 <= Num5 then
    RuneValue = 0.1
  end
  local RuneDamage = ((Num4 + Num5 + Num6 + Num7) * 0.05 + RuneValue) * -1
  local A = RuneDamage * damage
  if A <= 0 then
    return 0
  end
  return A
end
Friend 441
function CommonFun.calcBuff_441(srcUser, targetUser, a, b, c, d, lv, damage)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num4 = srcUser:GetRunePoint(51003_AESIR_HEALING_DONE_BY_LASTING_HEALING_5)
  local Num5 = srcUser:GetRunePoint(51002_AESIR_HEAL_APPLIES_LASTING_HEALING_STATUS_ON_THE_TARGET_VALID_TO_SELF_SO_IT_GAINS_HP_EQUAL_TO_10_HEALING_DONE_EVERY_3_SEC_LASTS_7_SEC)
  local Num6 = srcUser:GetRunePoint(51009)
  local Num7 = srcUser:GetRunePoint(52002)
  local RuneValue = 0
  if 1 <= Num5 then
    RuneValue = 0.1
  end
  local RuneDamage = ((Num4 + Num5 + Num6 + Num7) * 0.05 + RuneValue) * -1
  local A = RuneDamage * damage
  if A <= 0 then
    return 0
  end
  return A
end
Buff Raw
Self
{
  "id": 45000110,
  "BuffDesc": "Lasting Healing: constantly restore target value",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "Lasting Healing",
  "BuffRate": {
    "Odds": {
      "type": 440
    }
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "Hp": {
      "type": 441
    },
    "type": "HSPChange",
    "calc_heal": 1
  }
}
Team
{
  "id": 45000110,
  "BuffDesc": "Lasting Healing: constantly restore target value",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "Lasting Healing",
  "BuffRate": {
    "Odds": {
      "type": 440
    }
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "Hp": {
      "type": 441
    },
    "type": "HSPChange",
    "calc_heal": 1
  }
}
Friend
{
  "id": 45000110,
  "BuffDesc": "Lasting Healing: constantly restore target value",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "Lasting Healing",
  "BuffRate": {
    "Odds": {
      "type": 440
    }
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "Hp": {
      "type": 441
    },
    "type": "HSPChange",
    "calc_heal": 1
  }
}
Raw
{
  "id": 144008,
  "Buff": {
    "self": [
      45000110
    ],
    "team": [
      45000110
    ],
    "friend": [
      45000110
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 144000,
      "params": [
        68,
        10,
        100
      ]
    }
  ],
  "Icon": "skill_144001",
  "Camps": "Friend|Enemy",
  "Level": 8,
  "Logic": "SkillNone",
  "Damage": [
    {
      "type": 5101,
      "damChangePer": 68,
      "elementparam": 6,
      "damChangePer1": 0
    }
  ],
  "DescId": "##171169",
  "NameZh": "##160797",
  "NextID": 144009,
  "SE_hit": "Skill/Heal",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "DelayCD": 1,
  "Fire_EP": 3,
  "SE_cast": "Common/Magic_cast",
  "Pvp_buff": {
    "self": [
      45000110
    ],
    "team": [
      45000110
    ],
    "friend": [
      45000110
    ]
  },
  "RollType": 2,
  "AttackAct": [
    "use_magic"
  ],
  "Attack_EP": 3,
  "SkillCost": {
    "sp": 34
  },
  "SkillType": "Heal",
  "Target_EP": 2,
  "DamageType": 2,
  "Logic_Param": {
    "include_self": 1,
    "select_target": 1
  },
  "Launch_Range": 9,
  "AutoCondition": [
    {
      "type": 5,
      "priority": 1,
      "no_target": 1,
      "teamvalue": 70
    },
    {
      "type": 3,
      "value": 70,
      "priority": 1,
      "no_target": 1
    }
  ],
  "NoTargetAutoCast": 1
}