HP Potion Cast
Lvl: 10 Buff Skill Delay: 1 sec SP: 12 Range: 8

Throw Condensed White Potion to an ally, and restores target's 100% potion effects; This skill's effect is influenced by target's VIT and caster's INT. Effect of restorative potions is improved by 50%

Lvl: 9 Buff Skill Delay: 1 sec SP: 11 Range: 8
• Throw Condensed White Potion to an ally, and restores target's 90% potion effects; This skill's effect is influenced by target's VIT and caster's INT. Effect of restorative potions is improved by 46%
Lvl: 8 Buff Skill Delay: 1 sec SP: 10 Range: 8
• Throw Condensed White Potion to an ally, and restores target's 80% potion effects; This skill's effect is influenced by target's VIT and caster's INT. Effect of restorative potions is improved by 42%
Lvl: 7 Buff Skill Delay: 1 sec SP: 9 Range: 8
• Throw Condensed White Potion to an ally, and restores target's 70% potion effects; This skill's effect is influenced by target's VIT and caster's INT. Effect of restorative potions is improved by 38%
Lvl: 6 Buff Skill Delay: 1 sec SP: 8 Range: 8
• Throw Condensed White Potion to an ally, and restores target's 60% potion effects; This skill's effect is influenced by target's VIT and caster's INT. Effect of restorative potions is improved by 34%
Lvl: 5 Buff Skill Delay: 1 sec SP: 7 Range: 8
• Throw Condensed White Potion to an ally, and restores target's 50% potion effects; This skill's effect is influenced by target's VIT and caster's INT. Effect of restorative potions is improved by 30%
Lvl: 4 Buff Skill Delay: 1 sec SP: 6 Range: 8
• Throw Condensed White Potion to an ally, and restores target's 40% potion effects; This skill's effect is influenced by target's VIT and caster's INT. Effect of restorative potions is improved by 26%
Lvl: 3 Buff Skill Delay: 1 sec SP: 5 Range: 8
• Throw Condensed White Potion to an ally, and restores target's 30% potion effects; This skill's effect is influenced by target's VIT and caster's INT. Effect of restorative potions is improved by 22%
Lvl: 2 Buff Skill Delay: 1 sec SP: 4 Range: 8
• Throw Condensed White Potion to an ally, and restores target's 20% potion effects; This skill's effect is influenced by target's VIT and caster's INT. Effect of restorative potions is improved by 18%
Lvl: 1 Buff Skill Delay: 1 sec SP: 3 Range: 8
• Throw Condensed White Potion to an ally, and restores target's 10% potion effects; This skill's effect is influenced by target's VIT and caster's INT. Effect of restorative potions is improved by 14%

Self 2250

function CommonFun.calcBuff_2250(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Vit = targetUser:GetProperty("Vit")
  local Int = srcUser:GetProperty("Int")
  local skilllv_1 = srcUser:GetLernedSkillLevel(419_RUNE_KNIGHT:LEARNING_POTION)
  local skilllv_2 = srcUser:GetLernedSkillLevel(423_RUNE_KNIGHT:HP_POTION_CAST)
  local skilllv_3 = srcUser:GetLernedSkillLevel(3705_ROYAL_GUARD:MIXED_POTION_CAST)
  local rate1 = 1
  local rate2 = 1
  if 1 <= skilllv_1 then
    rate1 = 1.1 + 0.02 * skilllv_1
  end
  if 1 <= skilllv_2 then
    rate2 = 1 + 0.1 * skilllv_2
  end
  local Weapon = srcUser:GetEquipedID(4)
  local rate3 = 1
  if Weapon == 43551_RESCUER_SHOES or Weapon == 143551_RESCUER_SHOES_1 then
    rate3 = rate3 + 0.2
  end
  if srcUser:HasBuffID(90001563_RESCUER_SHOES_R4_:MAX_STACK_0) then
    rate3 = rate3 + 0.2
  end
  if srcUser:HasBuffID(44260_SOFT_SOLE_HIKING_BOOTS_:MAX_STACK_0) then
    rate3 = rate3 + 0.4
  end
  local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_SHOES)
  if equipRingSD.id ~= 0 and srcUser:HasBuffLayer(44260, EBUFFERLAYER_SHADOW) then
    rate3 = rate3 + 0.4 * equipRingSD.quench_per / 100
  end
  if srcUser:HasBuffID(91000130_ELDER_S_HAMMER_RESCUER_SHOES_:MAX_STACK_0) or srcUser:HasBuffID(91001630_ELDER_S_HAMMER_SOFT_SOLE_HIKING_BOOTS_:MAX_STACK_0) then
    rate3 = rate3 + 0.1
  end
  if srcUser:HasBuffID(91000700_ERODING_TOUCH_RESCUER_SHOES_:MAX_STACK_0) or srcUser:HasBuffID(91001631_ACID_TOUCH_SOFT_SOLE_HIKING_BOOTS_:MAX_STACK_0) then
    rate3 = rate3 + 0.1
  end
  local A = 400 * (1 + Vit * 0.025) * (1 + Int * 0.005) * rate1 * rate2 * rate3 * (1 + skilllv_3 * 0.3)
  return A
end

Team 2250

function CommonFun.calcBuff_2250(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Vit = targetUser:GetProperty("Vit")
  local Int = srcUser:GetProperty("Int")
  local skilllv_1 = srcUser:GetLernedSkillLevel(419_RUNE_KNIGHT:LEARNING_POTION)
  local skilllv_2 = srcUser:GetLernedSkillLevel(423_RUNE_KNIGHT:HP_POTION_CAST)
  local skilllv_3 = srcUser:GetLernedSkillLevel(3705_ROYAL_GUARD:MIXED_POTION_CAST)
  local rate1 = 1
  local rate2 = 1
  if 1 <= skilllv_1 then
    rate1 = 1.1 + 0.02 * skilllv_1
  end
  if 1 <= skilllv_2 then
    rate2 = 1 + 0.1 * skilllv_2
  end
  local Weapon = srcUser:GetEquipedID(4)
  local rate3 = 1
  if Weapon == 43551_RESCUER_SHOES or Weapon == 143551_RESCUER_SHOES_1 then
    rate3 = rate3 + 0.2
  end
  if srcUser:HasBuffID(90001563_RESCUER_SHOES_R4_:MAX_STACK_0) then
    rate3 = rate3 + 0.2
  end
  if srcUser:HasBuffID(44260_SOFT_SOLE_HIKING_BOOTS_:MAX_STACK_0) then
    rate3 = rate3 + 0.4
  end
  local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_SHOES)
  if equipRingSD.id ~= 0 and srcUser:HasBuffLayer(44260, EBUFFERLAYER_SHADOW) then
    rate3 = rate3 + 0.4 * equipRingSD.quench_per / 100
  end
  if srcUser:HasBuffID(91000130_ELDER_S_HAMMER_RESCUER_SHOES_:MAX_STACK_0) or srcUser:HasBuffID(91001630_ELDER_S_HAMMER_SOFT_SOLE_HIKING_BOOTS_:MAX_STACK_0) then
    rate3 = rate3 + 0.1
  end
  if srcUser:HasBuffID(91000700_ERODING_TOUCH_RESCUER_SHOES_:MAX_STACK_0) or srcUser:HasBuffID(91001631_ACID_TOUCH_SOFT_SOLE_HIKING_BOOTS_:MAX_STACK_0) then
    rate3 = rate3 + 0.1
  end
  local A = 400 * (1 + Vit * 0.025) * (1 + Int * 0.005) * rate1 * rate2 * rate3 * (1 + skilllv_3 * 0.3)
  return A
end

Friend 2250

function CommonFun.calcBuff_2250(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Vit = targetUser:GetProperty("Vit")
  local Int = srcUser:GetProperty("Int")
  local skilllv_1 = srcUser:GetLernedSkillLevel(419_RUNE_KNIGHT:LEARNING_POTION)
  local skilllv_2 = srcUser:GetLernedSkillLevel(423_RUNE_KNIGHT:HP_POTION_CAST)
  local skilllv_3 = srcUser:GetLernedSkillLevel(3705_ROYAL_GUARD:MIXED_POTION_CAST)
  local rate1 = 1
  local rate2 = 1
  if 1 <= skilllv_1 then
    rate1 = 1.1 + 0.02 * skilllv_1
  end
  if 1 <= skilllv_2 then
    rate2 = 1 + 0.1 * skilllv_2
  end
  local Weapon = srcUser:GetEquipedID(4)
  local rate3 = 1
  if Weapon == 43551_RESCUER_SHOES or Weapon == 143551_RESCUER_SHOES_1 then
    rate3 = rate3 + 0.2
  end
  if srcUser:HasBuffID(90001563_RESCUER_SHOES_R4_:MAX_STACK_0) then
    rate3 = rate3 + 0.2
  end
  if srcUser:HasBuffID(44260_SOFT_SOLE_HIKING_BOOTS_:MAX_STACK_0) then
    rate3 = rate3 + 0.4
  end
  local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_SHOES)
  if equipRingSD.id ~= 0 and srcUser:HasBuffLayer(44260, EBUFFERLAYER_SHADOW) then
    rate3 = rate3 + 0.4 * equipRingSD.quench_per / 100
  end
  if srcUser:HasBuffID(91000130_ELDER_S_HAMMER_RESCUER_SHOES_:MAX_STACK_0) or srcUser:HasBuffID(91001630_ELDER_S_HAMMER_SOFT_SOLE_HIKING_BOOTS_:MAX_STACK_0) then
    rate3 = rate3 + 0.1
  end
  if srcUser:HasBuffID(91000700_ERODING_TOUCH_RESCUER_SHOES_:MAX_STACK_0) or srcUser:HasBuffID(91001631_ACID_TOUCH_SOFT_SOLE_HIKING_BOOTS_:MAX_STACK_0) then
    rate3 = rate3 + 0.1
  end
  local A = 400 * (1 + Vit * 0.025) * (1 + Int * 0.005) * rate1 * rate2 * rate3 * (1 + skilllv_3 * 0.3)
  return A
end

Self

{
  "id": 103030,
  "BuffName": "HP Potion Cast",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Hp": {
      "type": 2250
    },
    "type": "HSPChange",
    "calc_heal": 1
  }
}

Team

{
  "id": 103030,
  "BuffName": "HP Potion Cast",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Hp": {
      "type": 2250
    },
    "type": "HSPChange",
    "calc_heal": 1
  }
}

Friend

{
  "id": 103030,
  "BuffName": "HP Potion Cast",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Hp": {
      "type": 2250
    },
    "type": "HSPChange",
    "calc_heal": 1
  }
}

Formula

{
  "id": 423010,
  "Buff": {
    "self": [
      103030
    ],
    "team": [
      103030
    ],
    "friend": [
      103030
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 423000,
      "params": [
        100,
        50
      ]
    }
  ],
  "Icon": "skill_423001",
  "Camps": "Friend",
  "Level": 10,
  "Logic": "SkillNone",
  "DescId": "##170917",
  "NameZh": "##158431",
  "DelayCD": 1,
  "Fire_EP": 3,
  "Pvp_buff": {
    "self": [
      103030
    ],
    "team": [
      103030
    ],
    "friend": [
      103030
    ]
  },
  "AttackAct": [
    "throwing"
  ],
  "Attack_EP": 3,
  "SkillCost": {
    "1": {
      "num": 1,
      "itemID": 12554
    },
    "sp": 12
  },
  "SkillType": "Buff",
  "Target_EP": 3,
  "Logic_Param": {
    "emit": {
      "type": 1,
      "speed": 30,
      "effect": "AidPotion_Life"
    },
    "include_self": 1,
    "select_target": 1
  },
  "Launch_Range": 8,
  "AutoCondition": [
    {
      "type": 5,
      "priority": 1,
      "no_target": 1,
      "teamvalue": 70
    },
    {
      "type": 3,
      "value": 70,
      "priority": 1,
      "no_target": 1
    }
  ]
}