Coluceo Heal
Lvl: 10 Heal Skill Delay: 2 sec SP: 125 Range: 9 Cast Time: 3

Restore HP of all allies nearby. The effect is 200% that of Heal (the effect quadruples during PvP and GvG).

Lvl: 9 Heal Skill Delay: 2 sec SP: 120 Range: 9 Cast Time: 3
• Restore HP of all allies nearby. The effect is 190% that of Heal (the effect quadruples during PvP and GvG).
Lvl: 8 Heal Skill Delay: 2 sec SP: 115 Range: 9 Cast Time: 3
• Restore HP of all allies nearby. The effect is 180% that of Heal (the effect quadruples during PvP and GvG).
Lvl: 7 Heal Skill Delay: 2 sec SP: 110 Range: 9 Cast Time: 3
• Restore HP of all allies nearby. The effect is 170% that of Heal (the effect quadruples during PvP and GvG).
Lvl: 6 Heal Skill Delay: 2 sec SP: 105 Range: 9 Cast Time: 3
• Restore HP of all allies nearby. The effect is 160% that of Heal (the effect quadruples during PvP and GvG).
Lvl: 5 Heal Skill Delay: 2 sec SP: 100 Range: 9 Cast Time: 3
• Restore HP of all allies nearby. The effect is 150% that of Heal (the effect quadruples during PvP and GvG).
Lvl: 4 Heal Skill Delay: 2 sec SP: 95 Range: 9 Cast Time: 3
• Restore HP of all allies nearby. The effect is 140% that of Heal (the effect quadruples during PvP and GvG).
Lvl: 3 Heal Skill Delay: 2 sec SP: 90 Range: 9 Cast Time: 3
• Restore HP of all allies nearby. The effect is 130% that of Heal (the effect quadruples during PvP and GvG).
Lvl: 2 Heal Skill Delay: 2 sec SP: 85 Range: 9 Cast Time: 3
• Restore HP of all allies nearby. The effect is 120% that of Heal (the effect quadruples during PvP and GvG).
Lvl: 1 Heal Skill Delay: 2 sec SP: 80 Range: 9 Cast Time: 3
• Restore HP of all allies nearby. The effect is 110% that of Heal (the effect quadruples during PvP and GvG).

Aesir

• Coluceo Heal - Enhance [Coluceo Heal] gains extra healing equal to 2% of target’s lost HP

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
  local equipRing = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
  if equipRing.id == 42579 or equipRing.id == 142579 then
    if 5 > equipRing.refinelv then
      Angel = Angel + equipRing.refinelv / 100
    elseif 5 <= equipRing.refinelv and 10 > equipRing.refinelv then
      Angel = Angel + 0.05 + equipRing.refinelv / 100
    elseif 10 <= equipRing.refinelv then
      Angel = Angel + 0.05 + 0.1 + equipRing.refinelv / 100
    end
  end
  local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
  if equipRingSD.id == 42579 or equipRingSD.id == 142579 then
    if 5 > equipRingSD.refinelv then
      Angel = Angel + equipRingSD.refinelv / 100 * equipRingSD.quench_per / 100
    elseif 5 <= equipRingSD.refinelv and 10 > equipRingSD.refinelv then
      Angel = Angel + (0.05 + equipRingSD.refinelv / 100) * equipRingSD.quench_per / 100
    elseif 10 <= equipRingSD.refinelv then
      Angel = Angel + (0.15000000000000002 + equipRingSD.refinelv / 100) * equipRingSD.quench_per / 100
    end
  end
  local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
  local targetDefElement = targetUser:GetProperty("DefAttr")
  local BeHealEncPer2 = targetUser:GetProperty("BeHealEncPer")
  local race2 = targetUser.race
  if srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and srcUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
  elseif srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
    race2 = 2
  end
  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 mapid, maptype = srcUser:GetMapInfo()
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if skillID == 11_NOVICE: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_THIEF:COLUCEO_HEAL_THIEF:COLUCEO_HEAL then
    local skilllv_3 = srcUser:GetLernedSkillLevel(144_KNIGHT: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
    local PvP_ratio = 1
    if maptype == PVP_MAPS then
      PvP_ratio = 4
    end
    A = (math.floor((BaseLv + Int) / 10) * damChangePer + 100 + skilllv_1 * 50 + skilllv_2 * 50) * damChangePer1 * PvP_ratio * (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 or profressionID == 615_NIDHOGG) 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 skillID == 1224_THIEF:COLUCEO_HEAL_THIEF:COLUCEO_HEAL and srcUser:HasBuffID(22000530_COLUCEO_HEAL_DOES_NOT_SHIFT_OR_CONVERSE_:MAX_STACK_0) then
    DamRatio = 1
    if 0 < A then
      A = 0
    end
  end
  local HealReduce = targetUser:GetBuffLevel(136500_10783_:MAX_STACK_0)
  if targetUser:HasBuffID(136500_10783_:MAX_STACK_0) then
    DamRatio = 1 - (0.2 + 0.03 * HealReduce)
  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

Self 8590

function CommonFun.calcBuff_8590(srcUser, targetUser, a, b, c, d, lv, damage)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxHp = srcUser:GetProperty("MaxHp")
  local Value = srcUser:GetGemValue(51171_COLUCEO_HEAL_APPLIES_A_SHIELD_EQUAL_TO_OWN_MAX_HP_PERCENTAGE_TO_SELF_AND_ALL_TEAMMATES_HEALED_LASTS_3S)
  local A = MaxHp * Value / 100000
  return A
end

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 5150

function CommonFun.calcBuff_5150(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Value = srcUser:GetGemValue(51012_COLUCEO_HEAL_CAN_RESTORE_PERCENTAGE_LOST_SP_FOR_TEAMMATES)
  local MaxSp = targetUser:GetProperty("MaxSp")
  local Sp = targetUser:GetProperty("Sp")
  local A = Value / 100000 * (MaxSp - Sp)
  return A
end

Team 8590

function CommonFun.calcBuff_8590(srcUser, targetUser, a, b, c, d, lv, damage)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxHp = srcUser:GetProperty("MaxHp")
  local Value = srcUser:GetGemValue(51171_COLUCEO_HEAL_APPLIES_A_SHIELD_EQUAL_TO_OWN_MAX_HP_PERCENTAGE_TO_SELF_AND_ALL_TEAMMATES_HEALED_LASTS_3S)
  local A = MaxHp * Value / 100000
  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

Self

{
  "id": 117341,
  "BuffName": "23",
  "BuffRate": {
    "Odds": {
      "a": 51171,
      "type": 5000
    }
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "AbsorbDamage",
    "AbsorbAmount": {
      "type": 8590
    }
  },
  "BuffStateID": 123130
}

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
  }
}

Self

{
  "id": 90004435,
  "BuffName": "Staff of Vitality [1] [T5] Effect",
  "BuffRate": {
    "Odds": {
      "a": 90004434,
      "b": 0,
      "c": 100,
      "type": 8160
    }
  },
  "BuffEffect": {
    "id": [
      90004436
    ],
    "Odds": 100,
    "type": "AddBuff"
  }
}

Self

{
  "id": 90004436,
  "BuffName": "Staff of Vitality [1] [T5] Effect",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "DelStatus",
    "status": [
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      10,
      11,
      12
    ],
    "random_num": 1
  }
}

Team

{
  "id": 117340,
  "BuffName": "Coluceo Heal (Rune Magic Reflection)",
  "BuffRate": {
    "Odds": {
      "a": 51012,
      "type": 5000
    }
  },
  "BuffEffect": {
    "Sp": {
      "type": 5150
    },
    "type": "HSPChange"
  }
}

Team

{
  "id": 117341,
  "BuffName": "23",
  "BuffRate": {
    "Odds": {
      "a": 51171,
      "type": 5000
    }
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "AbsorbDamage",
    "AbsorbAmount": {
      "type": 8590
    }
  },
  "BuffStateID": 123130
}

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
  }
}

Team

{
  "id": 90004435,
  "BuffName": "Staff of Vitality [1] [T5] Effect",
  "BuffRate": {
    "Odds": {
      "a": 90004434,
      "b": 0,
      "c": 100,
      "type": 8160
    }
  },
  "BuffEffect": {
    "id": [
      90004436
    ],
    "Odds": 100,
    "type": "AddBuff"
  }
}

Team

{
  "id": 90004436,
  "BuffName": "Staff of Vitality [1] [T5] Effect",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "DelStatus",
    "status": [
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      10,
      11,
      12
    ],
    "random_num": 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
  }
}

Formula

{
  "id": 1224010,
  "Buff": {
    "self": [
      45000110,
      90004435,
      117341
    ],
    "team": [
      45000110,
      117340,
      117341,
      90004435
    ],
    "friend": [
      45000110
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 1224000,
      "params": [
        200
      ]
    }
  ],
  "Icon": "skill_1224001",
  "Camps": "Friend",
  "Level": 10,
  "Logic": "SkillSelfRange",
  "Damage": [
    {
      "type": 5101,
      "damChangePer": 0,
      "elementparam": 6,
      "damChangePer1": 2
    }
  ],
  "DescId": "##3444762",
  "NameZh": "##169308",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "DelayCD": 2,
  "Fire_EP": 3,
  "SE_cast": "Common/Magic_cast",
  "Pvp_buff": {
    "self": [
      45000110,
      90004435,
      117341
    ],
    "team": [
      45000110,
      117340,
      117341,
      90004435
    ],
    "friend": [
      45000110
    ]
  },
  "AttackAct": [
    "use_magic"
  ],
  "Attack_EP": 0,
  "Lead_Type": {
    "CCT": 0,
    "FCT": 3,
    "type": 2
  },
  "SE_attack": "Skill/AdvancedDetoxification_hit",
  "SkillCost": {
    "sp": 125
  },
  "SkillType": "Heal",
  "Target_EP": 0,
  "Logic_Param": {
    "range": 9,
    "range_num": 12,
    "team_priority": 1
  },
  "Launch_Range": 9,
  "AutoCondition": [
    {
      "type": 5,
      "priority": 1,
      "no_target": 1,
      "teamvalue": 70
    },
    {
      "type": 3,
      "value": 70,
      "priority": 1,
      "no_target": 1
    }
  ]
}