task InvincibleSystemTask
{
	if(!InvincibleSystem){return;}
	loop
	{
		if(InvincibleCount>0){InvincibleCount--;}
		if(InvincibleSystem)
		{
			Obj_SetValue(objPlayer,"OnSpell",OnSpell);
		}
		yield;
	}
}