-- 治疗增益
-- 本文件由工具自动生成,请不要直接编辑本文件
---------------------------------------------
-- 技能基类
Skill303305 = oo.class(SkillBase)
function Skill303305:Init(skillID, card)
	SkillBase.Init(self, skillID, card)
end
-- 治疗时
function Skill303305:OnCure(caster, target, data)
	-- 8071
	if SkillJudger:TargetIsFriend(self, caster, target, true) then
	else
		return
	end
	-- 8060
	if SkillJudger:CasterIsSelf(self, caster, target, true) then
	else
		return
	end
	-- 303305
	if self:Rand(5000) then
		local r = self.card:Rand(5)+1
		if 1 == r then
			-- 4004
			self:AddBuff(SkillEffect[4004], caster, target, data, 4004)
		elseif 2 == r then
			-- 4104
			self:AddBuff(SkillEffect[4104], caster, target, data, 4104)
		elseif 3 == r then
			-- 4204
			self:AddBuff(SkillEffect[4204], caster, target, data, 4204)
		elseif 4 == r then
			-- 4304
			self:AddBuff(SkillEffect[4304], caster, target, data, 4304)
		elseif 5 == r then
			-- 4701
			self:AddBuff(SkillEffect[4701], caster, target, data, 4701)
		end
	end
end
