
Heal
Lvl: 20
Heal
Magic
Skill Delay: 1 sec
SP: 50
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
Lvl: 19
Heal
Magic
Skill Delay: 1 sec
SP: 49
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: 18
Heal
Magic
Skill Delay: 1 sec
SP: 48
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: 17
Heal
Magic
Skill Delay: 1 sec
SP: 47
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: 16
Heal
Magic
Skill Delay: 1 sec
SP: 46
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: 15
Heal
Magic
Skill Delay: 1 sec
SP: 45
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: 14
Heal
Magic
Skill Delay: 1 sec
SP: 44
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: 13
Heal
Magic
Skill Delay: 1 sec
SP: 43
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: 12
Heal
Magic
Skill Delay: 1 sec
SP: 42
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: 11
Heal
Magic
Skill Delay: 1 sec
SP: 41
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: 10
Heal
Magic
Skill Delay: 1 sec
SP: 40
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: 9
Heal
Magic
Skill Delay: 1 sec
SP: 37
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: 8
Heal
Magic
Skill Delay: 1 sec
SP: 34
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: 7
Heal
Magic
Skill Delay: 1 sec
SP: 31
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: 6
Heal
Magic
Skill Delay: 1 sec
SP: 28
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: 5
Heal
Magic
Skill Delay: 1 sec
SP: 25
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: 4
Heal
Magic
Skill Delay: 1 sec
SP: 22
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: 3
Heal
Magic
Skill Delay: 1 sec
SP: 19
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: 2
Heal
Magic
Skill Delay: 1 sec
SP: 16
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: 1
Heal
Magic
Skill Delay: 1 sec
SP: 13
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
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 targetUser:HasBuffID(139410_TWO_FACE_DEMON_KING_HUMAN_:MAX_STACK_0) then
race2 = 3
end
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
Formula
{
"id": 368020,
"Cost": 1,
"Desc": [
{
"id": 144000,
"params": [
104,
10,
100
]
}
],
"Icon": "skill_144001",
"Camps": "Friend|Enemy",
"Level": 20,
"Logic": "SkillNone",
"Damage": [
{
"type": 5101,
"damChangePer": 104,
"elementparam": 6,
"damChangePer1": 0
}
],
"DescId": "##171169",
"NameZh": "##160797",
"SE_hit": "Common/Heal",
"DamTime": {
"type": 1,
"value": 1
},
"DelayCD": 1,
"Fire_EP": 3,
"SE_cast": "Skill/Magic_cast",
"RollType": 2,
"AttackAct": [
"use_magic"
],
"Attack_EP": 3,
"PeakLevel": 10,
"SkillCost": {
"sp": 50
},
"SkillType": "Heal",
"Target_EP": 0,
"DamageType": 2,
"Logic_Param": {
"include_self": 1,
"select_target": 1,
"include_friendnpc": 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
}